taxonomy: Get the taxonomy table.

Description Usage Arguments Value See Also Examples

View source: R/accessors.r

Description

Get the taxonomy table.

Usage

1
taxonomy(biom)

Arguments

biom

A BIOM object, as returned from read.biom.

Value

A character matrix of the named taxonomies in biom.

See Also

Other accessor functions: counts, info, metadata, nsamples, ntaxa, phylogeny, sample.names, taxa.names, taxa.ranks

Examples

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

cmmr/rbiom documentation built on Nov. 21, 2018, 10:04 a.m.