Breaks one taxonomy into multiple, each with a root of a specified distance from the root.
split_by_level(taxa, parents, level, rank = NULL)
a list
of taxon id character
vectors.
taxa
.
(character
) Unique taxon IDs for every possible taxon.
(character
) Unique taxon IDs for the supertaxa of every possible taxon.
(character
or numeric
of length 1)
(character
) The rank designation (e.g. "genus") corresponding to each observation in