Converts bayou data into OUwie format

Share:

Description

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

Usage

1
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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.