Taxonomic dictionary contains a taxonomic tree and NCBI taxonomy data for all taxonomic IDs.

# S4 method for TaxDict
as.character(x)

# S4 method for TaxDict
show(object)

# S4 method for TaxDict
print(x)

# S4 method for TaxDict
str(object, max.level = 2L, ...)

# S4 method for TaxDict
summary(object)

Arguments

x

TaxDict object

object

TaxDict object

max.level

Maximum level of nesting for str()

...

Further arguments for str()

Slots

txids

Taxonomic IDs of taxon records

recs

Environment of records

prnt

Parent taxonomic ID

txtr

Taxonomic tree

See also

Examples

data('aotus') txdct <- aotus@txdct # this is a TaxDict object # it contains taxonomic information, including records and tree show(txdct)
#> Taxonomic dictionary [21] recs, parent [id 9504]
# you can access its different data slots with @ txdct@txids # taxonomic IDs
#> [1] "1263727" "1230482" "1090913" "1002694" "940829" "867331" "413234" #> [8] "361674" "292213" "280755" "261316" "231953" "222417" "120088" #> [15] "57176" "57175" "43147" "37293" "30591" "9505" "9504"
txdct@recs # taxonomic records environment
#> <environment: 0x11dd01788>
txdct@txtr # taxonomic tree
#> TreeMan Object of [19] tips
txdct@prnt # MRCA
#> [1] "9504"
# access any record through the records environment txdct@recs[[txdct@txids[[1]]]]
#> TaxRec [id 1263727 (Aotus zonalis)]
# for interacting with the taxonomic tree, see the treeman package summary(txdct@txtr)
#> Length Class Mode #> 1 TreeMan S4