Get all supertaxa of a taxon
Return the taxon IDs or
taxon_data indexes of all supertaxa (i.e. all taxa the target taxa
are a part of) in an object of type
supertaxa(obj, subset = NULL, recursive = TRUE, simplify = FALSE, include_input = FALSE, index = FALSE, na = FALSE)
taxmapobject containing taxon information to be queried.
taxon_idsor indexes of
taxon_datafor which supertaxa will be returned. Default: All taxa in
objwill be used.
FALSE, only return the supertaxa one level above the target taxa. If
TRUE, return all the supertaxa of every supertaxa, etc.
TRUE, then combine all the results into a single vector of unique values.
TRUE, the input taxa are included in the output
TRUE, return the indexes of supertaxa in
NAwhere information is not available.
simplify = FALSE, then a list of vectors are returned corresponding to the
simplify = TRUE, then unique values are returned in a single vector.
## Not run: # supertaxa(contaminants, subset = 1:10)## End(Not run)
Looks like there are no examples yet.