bayou2OUwie: Converts bayou data into OUwie format

View source: R/conversion-utilities.R

bayou2OUwieR Documentation

Converts bayou data into OUwie format

Description

bayou2OUwie Converts a bayou formatted parameter list into OUwie formatted tree and data table that can be analyzed in OUwie

Usage

bayou2OUwie(pars, tree, dat)

Arguments

pars

A list with parameter values specifying sb = the branches with shifts, loc = the location on branches where a shift occurs and t2 = the optima to which descendants of that shift inherit

tree

A phylogenetic tree

dat

A vector of tip states

Value

A list with an OUwie formatted tree with mapped regimes and an OUwie formatted data table


uyedaj/bayou documentation built on July 1, 2024, 9:35 a.m.