View source: R/da_two_groups.R
run_test_two_groups | R Documentation |
Differential expression analysis for two groups.
run_test_two_groups(
ps,
group,
taxa_rank = "all",
transform = c("identity", "log10", "log10p", "SquareRoot", "CubicRoot", "logit"),
norm = "TSS",
norm_para = list(),
method = c("welch.test", "t.test", "white.test"),
p_adjust = c("none", "fdr", "bonferroni", "holm", "hochberg", "hommel", "BH", "BY"),
pvalue_cutoff = 0.05,
diff_mean_cutoff = NULL,
ratio_cutoff = NULL,
conf_level = 0.95,
nperm = 1000,
...
)
ps |
a |
group |
character, the variable to set the group |
taxa_rank |
character to specify taxonomic rank to perform
differential analysis on. Should be one of
|
transform |
character, the methods used to transform the microbial
abundance. See
|
norm |
the methods used to normalize the microbial abundance data. See
|
norm_para |
arguments passed to specific normalization methods |
method |
test method, must be one of "welch.test", "t.test" or "white.test" |
p_adjust |
method for multiple test correction, default |
pvalue_cutoff |
numeric, p value cutoff, default 0.05 |
diff_mean_cutoff , ratio_cutoff |
cutoff of different means and ratios,
default |
conf_level |
numeric, confidence level of interval. |
nperm |
integer, number of permutations for white non parametric t test estimation |
... |
extra arguments passed to |
a microbiomeMarker
object.
Yang Cao
run_test_multiple_groups()
,run_simple_stat
data(enterotypes_arumugam)
mm_welch <- run_test_two_groups(
enterotypes_arumugam,
group = "Gender",
method = "welch.test"
)
mm_welch
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.