matchNodes: match Nodes

View source: R/matchNodes.R

matchNodesR 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)


revbayes/RevGadgets documentation built on Jan. 19, 2024, 3:29 p.m.