hierarchies

0th

Percentile

Get classification of taxa

Get classification strings of taxa in an object of type taxmap. Each classification is constructed by concatenating the taxon ids of the given taxon and its supertaxa.

Usage
hierarchies(obj, subset = 1:nrow(obj$taxon_data), sep = ";")
Arguments
obj

(taxmap)

subset

(character) The taxon_idss or indexes in taxon_data to get classifications for.

sep

(character of length 1) The character(s) to place between taxon IDs

Value

character of length equal to subset

See Also

Other taxon_funcs: n_obs_1, n_obs, n_subtaxa_1, n_subtaxa, n_supertaxa

Aliases
  • hierarchies
Documentation reproduced from package metacoder, version 0.1.3, License: GPL-2 | GPL-3

Community examples

Looks like there are no examples yet.