View source: R/pf.BINprojection.R
pf.BINprojection | R Documentation |
Projects phylofactored data onto bins defined by the factors 1:factor
pf.BINprojection(PF, factor = PF$nfactors, taxonomy = NULL,
common.name = F, uniques = T, prediction = F, rel.abund = F,
minimum.tax = "p")
PF |
phylofactor object. See PhyloFactor |
factor |
integer between 0 and |
taxonomy |
Optional taxonomy. If input, the list of OTUs in each bin will be the taxonomic names, not the OTU IDs. |
common.name |
Logical. If input taxonomy, will indicate whether to trim taxonomic list to the longest common prefix of each bin. |
uniques |
Logical. If input taxonomy, will indicate whether to trim the taxonomic list to the unique names. |
prediction |
Logical. If true, will output the predictions for each bin instead of the observations. |
rel.abund |
Logical. If true, will return the total relative abundances in the bin. Default, F, returns the geometric mean of the relative abundances of each bin |
minimum.tax |
minimum taxonomic description - see |
Returns list containing the compositional dataset formed by the bins and the list of OTUs in each bin.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.