phydo_convert_to_Beaulieu_data: Convert the phydo format to one usable for Beaulieu-style

View source: R/processdata.R

phydo_convert_to_Beaulieu_dataR Documentation

Convert the phydo format to one usable for Beaulieu-style

Description

Many of the packages authored by Jeremy Beaulieu with collaborators have the first column used to hold taxon names rather than store them as row names. Bless his heart. This converts a phydo object, which has its data with taxon names as row names, into having a data object internally with a column for taxon names.

Usage

phydo_convert_to_Beaulieu_data(phydo)

Arguments

phydo

The phydo object

Value

a list of two objects, phy and data, with the data in the format preferred by Beaulieu


bomeara/chapter2 documentation built on July 22, 2023, 3:19 a.m.