ntaxa: Number of taxa in a BIOM.

Description Usage Arguments Value See Also Examples

Description

Number of taxa in a BIOM.

Usage

1
ntaxa(biom)

Arguments

biom

A BIOM object, as returned from read.biom.

Value

The number of taxa present.

See Also

Other accessor functions: counts(), info(), metadata(), nsamples(), 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)
    
    ntaxa(biom)

rbiom documentation built on July 2, 2020, 1:47 a.m.