Description Usage Arguments See Also Examples
View source: R/pime.oob.error.R
This function builds random forests for sample classification measuring the prediction error of random forests.
It wraps on ranger
, taking as input a prevalence unfiltered dataset (the original dataset). The model
performance is indicated by the out-of-bag (OOB) error rate. Higher OOB error
indicates the dataset has a high relative abundance of taxa with low prevalence, which is defined as
noise in PIME analysis. There is no formal criteria for definition of low or high OOB error, but empirical
tests showed that PIME can improve microbiome differences when OOB error >= 0.01.
1 | pime.oob.error(physeq, variable)
|
physeq |
The input file in phyloseq object format |
variable |
Any variable present in the metadata to be analyzed. "variable to run the classification" |
1 | pime.oob.error(restroom, "Environment")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.