PCMBase (version 1.2.14)

PCMTreeDtNodes: A data.table with time, part and regime information for the nodes in a tree

Description

A data.table with time, part and regime information for the nodes in a tree

Usage

PCMTreeDtNodes(tree)

Value

a data.table with a row for each node in tree and columns as follows:

startNode

the starting node of each edge or NA_integer_ for the root

endNode

the end node of each edge or the root id for the root

startNodeLab

the character label for the startNode

endNodeLab

the character label for endNode

startTime

the time (distance from the root node) for the startNode or NA_real_ for the root node

endTime

the time (distance from the root node) for the endNode or NA_real_ for the root node

part

the part to which the edge belongs, i.e. the part of the endNode

regime

the regime to which the edge belongs, i.e. the regime of the part of the endNode

Arguments

tree

a phylo object with node-labels and parts

Examples

Run this code
PCMTreeDtNodes(PCMBaseTestObjects$tree.ab)

Run the code above in your browser using DataLab