ntaxa-methods: Get the number of taxa/species.

ntaxaR Documentation

Get the number of taxa/species.

Description

Get the number of taxa/species.

Usage

ntaxa(physeq)

## S4 method for signature 'ANY'
ntaxa(physeq)

## S4 method for signature 'phyloseq'
ntaxa(physeq)

## S4 method for signature 'otu_table'
ntaxa(physeq)

## S4 method for signature 'taxonomyTable'
ntaxa(physeq)

## S4 method for signature 'phylo'
ntaxa(physeq)

## S4 method for signature 'XStringSet'
ntaxa(physeq)

Arguments

physeq

phyloseq-class, otu_table-class, taxonomyTable-class, or phylo

Value

An integer indicating the number of taxa / species.

See Also

taxa_names

Examples

data("esophagus")
ntaxa(esophagus)
phy_tree(esophagus)
ntaxa(phy_tree(esophagus))

joey711/phyloseq documentation built on Nov. 4, 2022, 1:16 a.m.