nodeToPhy: Add Node Constraints to Tree in MCMCtree Format

Description Usage Arguments Value Author(s)

View source: R/nodeToPhy.R

Description

Produce tree with node labels in MCMCtree format

Usage

1
nodeToPhy(phy, monoGroups, nodeCon, returnPhy = TRUE)

Arguments

phy

fully resolved phylogeny in ape format

monoGroups

list with each element containing species that define a node of interest

nodeCon

node distributions in MCMCtreeR format

returnPhy

logical specifying whether to return phy to console or write MCMCtree for input (default = TRUE)

Value

If returnPhy=TRUE phylogeny with node labels in ape format

If returnPhy=FALSE phylogeny with node labels in MCMCtree format

Author(s)

Mark Puttick


PuttickMacroevolution/MCMCtreeR documentation built on Nov. 24, 2019, 5:22 a.m.