splitTips: Parse tip labels into a dataframe with multiple columns for...

View source: R/splitTips.R

splitTipsR Documentation

Parse tip labels into a dataframe with multiple columns for each content

Description

This function is designed to split tip labels into a dataframe object. Each column in the dataframe corresponds to the genus, species, infraspecific name, and associated voucher and GenBank information, whenever available. If doubtful particles such as 'aff.' or 'cf.' are provided, they will also be separated into a distinct column.

Usage

splitTips(tiplabels = NULL)

Arguments

tiplabels

A vector of tip labels from a phylogeny.

Value

A dataframe.

Author(s)

Domingos Cardoso

Examples

## Not run: 
library(catGenes)

data(Harpalyce_bayes_tree)

df <- splitTips(tiplabels = Harpalyce_bayes_tree@phylo$tip.label)

## End(Not run)


domingoscardoso/catGenes documentation built on March 14, 2024, 9:21 p.m.