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