Description Usage Arguments Value
View source: R/trimOnConfounders.R
Trim based on confounders to avoid taxa with only zero counts
1 | trimOnConfounders(confounders, data, prevCutOff, minFraction, n)
|
confounders |
a nxt confounder matrix |
data |
the data matrix |
prevCutOff |
a scalar between 0 and 1, the prevalence cut off |
minFraction |
a scalar between 0 and 1, each taxon's total abundance should equal at least the number of samples n times minFraction, otherwise it is trimmed |
n |
the number of samples Should be called prior to fitting the independence model |
A trimmed data matrix nxp'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.