ref_from_tree: Reference from taxonomic tree This function transforms a...

View source: R/ref_from_tree.R

ref_from_treeR Documentation

Reference from taxonomic tree This function transforms a taxonomic tree to a reference database suitable for biomonitoR.

Description

Reference from taxonomic tree

This function transforms a taxonomic tree to a reference database suitable for biomonitoR.

Usage

ref_from_tree(x, group = "none")

Arguments

x

Taxonomic tree. See Tree for an example.

group

Merge the user dataset with one of the biomonitoR reference databases, default to none. If duplicated Taxa names are present this function keeps the name provided by the user.

Examples

data(Tree)
ref_custom <- ref_from_tree(Tree)

alexology/biomonitoR documentation built on April 7, 2024, 10:15 a.m.