run_aldex | R Documentation |
The run_aldex
function is used to identify the significant features.
run_aldex(
ps,
group,
taxa_rank = "all",
transform = c("identity", "log10", "log10p", "SquareRoot", "CubicRoot", "logit"),
norm = "none",
norm_para = list(),
method = c("t.test", "wilcox.test", "kruskal", "glm_anova"),
p_adjust = c("none", "fdr", "bonferroni", "holm", "hochberg", "hommel", "BH", "BY"),
pvalue_cutoff = 0.05,
mc_samples = 128,
denom = c("all", "iqlr", "zero", "lvha"),
paired = FALSE
)
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, options include: "t.test" and "wilcox.test" for two groups comparison, "kruskal" and "glm_anova" for multiple groups comparison. |
p_adjust |
method for multiple test correction, default |
pvalue_cutoff |
cutoff of p value, default 0.05. |
mc_samples |
integer, the number of Monte Carlo samples to use for underlying distributions estimation, 128 is usually sufficient. |
denom |
character string, specifiy which features used to as the denominator for the geometric mean calculation. Options are:
|
paired |
logical, whether to perform paired tests, only worked for method "t.test" and "wilcox.test". |
The run_aldex
function is used to identify the significant features.
It can be applied to both phyloseq::phyloseq
and Biobase::ExpressionSet
object.
a microbiomeMarker
object.
Created by Yang Cao; modified by Hua Zou (5/17/2022 Shenzhen China)
Fernandes, A.D., Reid, J.N., Macklaim, J.M. et al. Unifying the analysis of high-throughput sequencing datasets: characterizing RNA-seq, 16S rRNA gene sequencing and selective growth experiments by compositional data analysis. Microbiome 2, 15 (2014).
ALDEx2::aldex()
## Not run:
data(caporaso)
ps <- phyloseq::subset_samples(
caporaso,
SampleType %in% c("gut", "tongue", "right palm")
)
run_aldex(ps, group = "SampleType", method = "kruskal")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.