Skip to content

Commit 1c26b01

Browse files
committed
clean up which functions are exported
1 parent c8b7e7c commit 1c26b01

File tree

5 files changed

+12
-18
lines changed

5 files changed

+12
-18
lines changed

R/ANOVA.R

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ ANOVA <- function(D,
103103
#' @param min_perc_per_group Numeric indicating the minimum ratio of observations per group.
104104
#'
105105
#' @return Vector with p-values and fold changes.
106-
#' @export
107106
#'
108107
#' @examples # TODO
109108
ANOVA_standard_single_row <- function(x,
@@ -233,7 +232,6 @@ ANOVA_standard_single_row <- function(x,
233232
#' @param min_perc_per_group Numeric indicating the minimum ratio of observations per group.
234233
#'
235234
#' @return Vector with p-values and fold changes.
236-
#' @export
237235
#'
238236
#' @examples # TODO
239237
ANOVA_repeatedMeasurements_single_row <- function(x,
@@ -368,7 +366,6 @@ ANOVA_repeatedMeasurements_single_row <- function(x,
368366
#' @param min_perc_per_group Numeric indicating the minimum ratio of observations per group.
369367
#'
370368
#' @return Vector with p-values and fold changes.
371-
#' @export
372369
#'
373370
#' @examples # TODO
374371
ANOVA_Welch_single_row <- function(x,

R/MA_Plot.R

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
#' @param ... Additional arguments for affy::ma.plot.
1616
#'
1717
#' @return Generates the MA plot for two samples.
18-
#' @export
19-
#'
18+
#'
2019
#' @seealso [MA_Plots()]
2120
#'
2221
#' @examples
@@ -94,10 +93,10 @@ MA_Plot_single <- function(sample_1, sample_2,
9493
#' @param sampling \strong{numeric} \cr
9594
#' The sampling rate. Useful to sample part of the data set for data sets on peptide/feature level with many data points.
9695
#' @param ... Additional arguments for affy::ma.plot.
97-
#'
96+
#'
9897
#' @return A pdf file containing the MA plots for all sample combinations.
9998
#' @export
100-
#'
99+
#'
101100
#' @seealso [MA_Plot_single()]
102101
#'
103102
#' @examples
File renamed without changes.
File renamed without changes.

R/ttest.R

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@
2323
#' If \code{TRUE}, the variances of the groups are expected to be equal.
2424
#'
2525
#' @return A vector with the following components: mean group 1, mean group 2, test statistics, p-value, free space fpr corrected p-value, fold changes (both directions), lower and upper limit of confidence interval, number of valid values per group.
26-
#' @export
27-
#'
26+
#'
2827
#' @seealso [ttest()], [ttest_single_row_paired()]
2928
#'
30-
#' @examples
31-
#'
29+
#' @examples
30+
#'
3231

3332
ttest_single_row <- function(x, group, log_before_test = TRUE, delog_for_FC = TRUE,
3433
min_obs_per_group = NULL, min_obs_per_group_ratio = NULL,
@@ -142,12 +141,11 @@ ttest_single_row <- function(x, group, log_before_test = TRUE, delog_for_FC = TR
142141
#' The row number of the data for the function call.
143142
#'
144143
#' @return A vector with the following components: mean difference between groups, test statistics, p-value, free space fpr corrected p-value, fold changes (both directions), lower and upper limit of confidence interval, number of valid values per group.
145-
#' @export
146-
#'
144+
#'
147145
#' @seealso [ttest()], [ttest_single_row()]
148146
#'
149-
#' @examples
150-
#'
147+
#' @examples
148+
#'
151149

152150
ttest_single_row_paired <- function(x, group, sample, log_before_test = TRUE, delog_for_FC = TRUE,
153151
min_nr_pairs = NULL,
@@ -267,11 +265,11 @@ ttest_single_row_paired <- function(x, group, sample, log_before_test = TRUE, de
267265
#'
268266
#' @return A data frame containing the results of the t-test.
269267
#' @export
270-
#'
268+
#'
271269
#' @seealso [ttest_single_row()], [ttest_single_row_paired()]
272270
#'
273-
#' @examples
274-
#'
271+
#' @examples
272+
#'
275273

276274
ttest <- function(D, id = NULL, group, sample = NULL, paired = FALSE, var.equal = FALSE,
277275
log_before_test = TRUE, delog_for_FC = TRUE, log_base = 2,

0 commit comments

Comments
 (0)