metadata: Get the sample metadata.

Description Usage Arguments Value See Also Examples

Description

Get the sample metadata.

Usage

1
metadata(biom)

Arguments

biom

A BIOM object, as returned from read.biom.

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

1
2
3
4
5
6
    library(rbiom)
    
    infile <- system.file("extdata", "hmp50.bz2", package = "rbiom")
    biom <- read.biom(infile)
    
    metadata(biom)[1:4,1:3]

rbiom documentation built on Nov. 5, 2021, 9:11 a.m.