ntaxa {phyloseq}R 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))

[Package phyloseq version 1.24.2 Index]