roots

0th

Percentile

Get root taxa

Return the root taxa for a taxmap object. Can also be used to get the roots of a subset of taxa.

Usage
roots(obj, subset = NULL, index = FALSE)
Arguments
obj
(taxmap) The taxmap object containing taxon information to be queried.
subset
(character) Taxon IDs for which supertaxa will be returned. Default: All taxon in obj will be used.
index
(logical) If TRUE, return the indexes of roots in taxon_data instead of taxon_ids
Value

character

See Also

Other taxmap taxonomy functions: obs, subtaxa, supertaxa

Aliases
  • roots
Documentation reproduced from package metacoder, version 0.1.2, License: GPL-2 | GPL-3

Community examples

Looks like there are no examples yet.