confounder | R Documentation |
Confounding variables may mask the actual differential features. This function utilizes constrained correspondence analysis (CCA) to measure the confounding factors.
confounder(
ps,
target_var,
norm = "none",
confounders = NULL,
permutations = 999,
...
)
ps |
a |
target_var |
character, the variable of interest |
norm |
norm the methods used to normalize the microbial abundance data. See
|
confounders |
the confounding variables to be measured, if |
permutations |
the number of permutations, see |
... |
extra arguments passed to |
a data.frame
contains three variables: confounder,
pseudo-F and p value.
data(caporaso)
confounder(caporaso, "SampleType", confounders = "ReportedAntibioticUsage")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.