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

Description Usage Arguments Value See Also Examples

Description

Get the number of taxa/species.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
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

1
2
3
4

Example output

[1] 58

Phylogenetic tree with 58 tips and 57 internal nodes.

Tip labels:
	59_8_22, 59_5_13, 59_8_12, 65_3_22, 65_5_1, 65_1_10, ...

Rooted; includes branch lengths.
[1] 58

phyloseq documentation built on Nov. 8, 2020, 6:41 p.m.