ntaxa: Number of taxa in a BIOM.

Description Usage Arguments Value See Also Examples

View source: R/accessors.r

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, taxa.names, taxa.ranks, taxonomy

Examples

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

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