MicrobiomeExperiment: The MicrobiomeExperiment representation class

Description Usage Details Examples

Description

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.

Usage

1
2
MicrobiomeExperiment(assays = SimpleList(), rowData = MicrobiomeFeatures(),
  ...)

Details

It supports (most) of the interface to phyloseq objects

Examples

 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
)

HCBravoLab/MicrobiomeExperiment documentation built on May 17, 2019, 8:47 p.m.