powered by
Get the abundance counts.
counts(biom)
A numeric matrix of the sample abundance counts in biom.
biom
A BIOM object, as returned from read.biom.
BIOM
Other accessor functions: info(), metadata(), nsamples(), ntaxa(), phylogeny(), sample.names(), sequences(), taxa.names(), taxa.ranks(), taxonomy()
info()
metadata()
nsamples()
ntaxa()
phylogeny()
sample.names()
sequences()
taxa.names()
taxa.ranks()
taxonomy()
library(rbiom) infile <- system.file("extdata", "hmp50.bz2", package = "rbiom") biom <- read.biom(infile) counts(biom)[1:4,1:5]
Run the code above in your browser using DataLab