| metadata {rbiom} | R Documentation |
Get the sample metadata.
Description
Get the sample metadata.
Usage
metadata(biom)
Arguments
biom |
A |
Value
A data frame of the metadata in biom.
See Also
Other accessor functions:
counts(),
info(),
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)
metadata(biom)[1:4,1:3]
[Package rbiom version 1.0.3 Index]