matchNodes {RevGadgets}R Documentation

match Nodes

Description

match Nodes

Usage

matchNodes(phy)

Arguments

phy

(tree in ape format; no default) Tree on which to match nodes

Value

a data frame that translates ape node numbers to RevBayes node numbers

Examples


treefile <- system.file("extdata", "bds/primates.tre", package="RevGadgets")
tree <- readTrees(treefile)
map <- matchNodes(tree[[1]][[1]]@phylo)


[Package RevGadgets version 1.2.1 Index]