Get all subtaxa of a taxon
Return the taxon IDs or
taxon_data indexes of all subtaxa in an object of type
subtaxa(obj, subset = NULL, recursive = TRUE, simplify = FALSE, include_input = FALSE, index = 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 subtaxa one level bwlow the target taxa. If
TRUE, return all the subtaxa of every subtaxa, 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
simplify = FALSE, then a list of vectors are returned corresponding to the
simplify = TRUE, then the unique values are returned in a single vector.
## Not run: # subtaxa(contaminants, subset = 1:10)## End(Not run)
Looks like there are no examples yet.