split_by_level

0th

Percentile

Splits a taxonomy at a specific level or rank

Breaks one taxonomy into multiple, each with a root of a specified distance from the root.

Keywords
internal
Usage
split_by_level(taxa, parents, level, rank = NULL)
Arguments
taxa

(character) Unique taxon IDs for every possible taxon.

parents

(character) Unique taxon IDs for the supertaxa of every possible taxon.

level

(character or numeric of length 1)

rank

(character) The rank designation (e.g. "genus") corresponding to each observation in

Value

a list of taxon id character vectors. taxa.

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

Community examples

Looks like there are no examples yet.