| counts {rbiom} | R Documentation |
Get the abundance counts.
Description
Get the abundance counts.
Usage
counts(biom)
Arguments
biom |
A |
Value
A numeric matrix of the sample abundance counts in biom.
See Also
Other accessor functions:
info(),
metadata(),
nsamples(),
ntaxa(),
phylogeny(),
sample.names(),
sequences(),
taxa.names(),
taxa.ranks(),
taxonomy()
Examples
library(rbiom)
infile <- system.file("extdata", "hmp50.bz2", package = "rbiom")
biom <- read.biom(infile)
counts(biom)[1:4,1:5]
[Package rbiom version 1.0.3 Index]