View source: R/general_multivar.R
PerformPartialCorr | R Documentation |
Function to perform and plot partial correlations between all taxonomic features, the outcome, and selected confounders. NOTE: All metadata must be numeric
PerformPartialCorr(
mbSetObj,
taxa.lvl = "Phylum",
variable = NA,
alg = "pearson",
pval.cutoff = 0.05
)
mbSetObj |
Input the name of the mbSetObj. |
taxa.lvl |
Character, input the taxonomic level to perform partial correlation analysis. |
variable |
Character, input the selected variable. |
alg |
Use "kendall" or "spearman" for non-parametric and "pearson" for parametric. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.