ntaxa {rbiom}R Documentation

Number of taxa in a BIOM.

Description

Number of taxa in a BIOM.

Usage

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

    library(rbiom)
    
    infile <- system.file("extdata", "hmp50.bz2", package = "rbiom")
    biom <- read.biom(infile)
    
    ntaxa(biom)


[Package rbiom version 1.0.3 Index]