Get observations associated with taxa
Given one or more taxa IDs and a
taxmap object, return the observation indexes
(e.g. sequence information) associated with each taxon.
obs(obj, subset = NULL, recursive = TRUE, simplify = 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 observation assigned to the specified input taxa, not subtaxa. If
TRUE, return all the observations of every subtaxa, etc.
TRUE, then combine all the results into a single vector of unique observation indexes.
simplify = FALSE, then a list of vectors of observation indexes are returned corresponding to the
simplify = TRUE, then the observation indexes for all
targettaxa are returned in a single vector.
Looks like there are no examples yet.