Description Usage Arguments Examples
This function is part of the error detection step. It performs a random forests classification, with
ranger
, and computes the OOB error for n replications in each prevalence
interval without randomizing the sample labels. Returns a results table with prediction error and a boxplot.
1 | pime.oob.replicate(prev.list, variable, bootstrap, parallel = TRUE)
|
prev.list |
List of phyloseq objects. Output of |
variable |
Variable to run the model |
bootstrap |
Number to run repetitions |
parallel |
Whether to run parallel or not. Default TRUE |
1 2 3 4 5 6 | phylist=pime.split.by.variable(restroom, "Environment")
prevalences=pime.prevalence(phylist)
set.seed(42)
tab=pime.oob.replicate(prevalences, "Environment", bootstrap=10, parallel=TRUE)
tab$Plot
tab$'Results table'
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.