pullPhyloseq | R Documentation |
Pull Information from Phyloseq Object
pullSampleAbundance(x, ...)
pullTaxaAbundance(x, ...)
pullTaxaRank(x, ...)
x |
|
... |
Option to pass on to |
These are alternative to subset and prune functions in
phyloseq
.
The pullSampleAbundance
can be used to get abundances of all taxa.
The pullTaxaAbundance
can be used to get abundances of a taxa in all
samples.
The pullSampleVariable
can be used to get all variables within a
column in sample_data
.
The pullTaxaRank
can be used to get all taxomic information at a
particular rank in tax_table
.
The naming is using pull because it uses the dplyr::pull
function.
A vector of requested value
Sudarshan A. Shetty
Shetty SA (2020). Utilities for microbiome analytics. https://github.com/RIVM-IIV-Microbiome/biomeUtils
library(biomeUtils)
data("FuentesIliGutData")
pullSampleAbundance(FuentesIliGutData, "sample_1", name= "FeatureID")
pullTaxaAbundance(FuentesIliGutData, "ASV1", name = "SampleID")
pullTaxaRank(FuentesIliGutData, "Genus")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.