View source: R/prepTaxaAbundanceData.R
prepTaxaAbundanceData | R Documentation |
Prepares Taxa Abundance Data for Association analysis
prepTaxaAbundanceData( x, detection_threshold = 0.001, prevalence_threshold = 5/100 )
x |
|
detection_threshold |
Remove taxa with less than this abundance in total dataset |
prevalence_threshold |
Remove taxa with less than this prevalence in total dataset |
Prepares the phyloseq-class
object to
taxa abundance table for check associations
A tibble
Sudarshan A. Shetty
Ferreira JA, Fuentes S. (2020). Some comments on certain statistical aspects of the study of the microbiome. Briefings in bioinformatics 21(4), pp.1487-1494. https://doi.org/10.1093/bib/bbz077
library(biomeStats) data("FuentesIliGutData") ps <- FuentesIliGutData gen_tab <- prepTaxaAbundanceData(ps, detection_threshold = 0.01, prevalence_threshold = 10/100) head(gen_tab)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.