Description Usage Details Examples
SummarizedExperiment-like class for microbiome data. rowData is a MicrobiomeFeatures object LINK so it includes: a taxonomy table (DataFrame), #' optional phylogentic tree (phylo object), and a sequence database.
1 2 | MicrobiomeExperiment(assays = SimpleList(), rowData = MicrobiomeFeatures(),
...)
|
It supports (most) of the interface to phyloseq objects
1 2 3 4 5 6 7 8 9 10 11 12 | library(metagenomeFeatures)
data(mock_mgF)
sampleNames <- letters[1:4]
pd <- DataFrame(a=letters[1:4], b=1:4)
numcounts <- nrow(mock_mgF) * 4
counts <- matrix(sample(1:1000,numcounts,replace=TRUE), nr=nrow(mock_mgF), nc=4)
MicrobiomeExperiment(assays=SimpleList(counts=counts),
rowData=mock_mgF,
colData=pd
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.