# 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

Other taxmap taxonomy functions: obs, subtaxa, supertaxa