taxa_names-methods: Get species / taxa names.

Description Usage Arguments Value See Also Examples

Description

Get species / taxa names.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
taxa_names(physeq)

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

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

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

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

## S4 method for signature 'sample_data'
taxa_names(physeq)

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

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

Arguments

physeq

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

Value

A character vector of the names of the species in physeq.

See Also

ntaxa

Examples

1
2
3
4
5
6
7
8
#
data("esophagus")
tree <- phy_tree(esophagus)
OTU1 <- otu_table(esophagus)
taxa_names(tree)
taxa_names(OTU1)
physeq1 <- phyloseq(OTU1, tree)
taxa_names(physeq1)

Example output

 [1] "59_8_22" "59_5_13" "59_8_12" "65_3_22" "65_5_1"  "65_1_10" "65_7_12"
 [8] "59_6_1"  "65_2_17" "65_9_26" "65_5_18" "65_7_5"  "65_8_12" "65_9_1" 
[15] "59_9_26" "9_6_28"  "65_7_4"  "65_4_26" "9_2_24"  "65_1_17" "65_6_7" 
[22] "9_4_3"   "65_7_18" "65_8_7"  "59_4_5"  "59_5_2"  "65_6_2"  "65_4_10"
[29] "9_7_25"  "9_4_5"   "65_1_8"  "65_2_5"  "59_7_6"  "59_9_31" "9_1_7"  
[36] "9_4_13"  "9_6_3"   "65_4_5"  "59_9_18" "65_9_13" "65_3_18" "65_6_10"
[43] "9_7_18"  "65_8_25" "59_3_5"  "65_8_29" "65_4_20" "59_6_11" "59_9_17"
[50] "9_4_6"   "59_4_25" "59_3_21" "59_3_19" "59_4_16" "59_8_3"  "59_5_19"
[57] "65_9_9"  "59_2_6" 
 [1] "59_8_22" "59_5_13" "59_8_12" "65_3_22" "65_5_1"  "65_1_10" "65_7_12"
 [8] "59_6_1"  "65_2_17" "65_9_26" "65_5_18" "65_7_5"  "65_8_12" "65_9_1" 
[15] "59_9_26" "9_6_28"  "65_7_4"  "65_4_26" "9_2_24"  "65_1_17" "65_6_7" 
[22] "9_4_3"   "65_7_18" "65_8_7"  "59_4_5"  "59_5_2"  "65_6_2"  "65_4_10"
[29] "9_7_25"  "9_4_5"   "65_1_8"  "65_2_5"  "59_7_6"  "59_9_31" "9_1_7"  
[36] "9_4_13"  "9_6_3"   "65_4_5"  "59_9_18" "65_9_13" "65_3_18" "65_6_10"
[43] "9_7_18"  "65_8_25" "59_3_5"  "65_8_29" "65_4_20" "59_6_11" "59_9_17"
[50] "9_4_6"   "59_4_25" "59_3_21" "59_3_19" "59_4_16" "59_8_3"  "59_5_19"
[57] "65_9_9"  "59_2_6" 
 [1] "59_8_22" "59_5_13" "59_8_12" "65_3_22" "65_5_1"  "65_1_10" "65_7_12"
 [8] "59_6_1"  "65_2_17" "65_9_26" "65_5_18" "65_7_5"  "65_8_12" "65_9_1" 
[15] "59_9_26" "9_6_28"  "65_7_4"  "65_4_26" "9_2_24"  "65_1_17" "65_6_7" 
[22] "9_4_3"   "65_7_18" "65_8_7"  "59_4_5"  "59_5_2"  "65_6_2"  "65_4_10"
[29] "9_7_25"  "9_4_5"   "65_1_8"  "65_2_5"  "59_7_6"  "59_9_31" "9_1_7"  
[36] "9_4_13"  "9_6_3"   "65_4_5"  "59_9_18" "65_9_13" "65_3_18" "65_6_10"
[43] "9_7_18"  "65_8_25" "59_3_5"  "65_8_29" "65_4_20" "59_6_11" "59_9_17"
[50] "9_4_6"   "59_4_25" "59_3_21" "59_3_19" "59_4_16" "59_8_3"  "59_5_19"
[57] "65_9_9"  "59_2_6" 

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