Learn R Programming

BioGeoBEARS (version 0.2.1)

get_sister_node: Get the node sister to two nodes

Description

Input two sister nodes, returns their "aunt". Assumes a binary tree.

Usage

get_sister_node(tr, nodepair)

Arguments

tr
A phylo tree object.
nodepair
A vector (length 2) with the node numbers of two nodes/tips.

Value

moms_sister The aunt node.

References

http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster

Matzke_2012_IBS

See Also

add_to_downpass_labels

Examples

Run this code
test=1

Run the code above in your browser using DataLab