Format an input to a subset
option on functions like supertaxa
.
Converts logical and taxon_ids
into indexes of taxon_data
.
format_taxon_subset(obj, index)
(taxmap
)
The taxmap
object containing taxon information to be queried.
If a character
, then it should be values of taxon_ids
.
If a numeric
, then it should be row indexes of taxon_data
.
If a logical
, then it should correspond to rows of taxon_data
.
numeric