PCMTreeGetRegimesForNodes: Get the regimes of the branches leading to a set of nodes or...

View source: R/PCMTree.R

PCMTreeGetRegimesForNodesR Documentation

Get the regimes of the branches leading to a set of nodes or tips

Description

Get the regimes of the branches leading to a set of nodes or tips

Usage

PCMTreeGetRegimesForNodes(tree, nodes = seq_len(PCMTreeNumNodes(tree)))

Arguments

tree

a phylo object with an edge.part member denoting parts.

nodes

an integer vector denoting the nodes. Default is seq_len(PCMTreeNumNodes(tree).

Value

a character vector denoting the parts of the branches leading to the nodes, according to tree$edge.part.


venelin/PCMBase documentation built on March 14, 2024, 8:24 p.m.