Get position or node of a plotted tree interactively
Both functions return the phylogenetic position of a mouse click on a plotted tree.
get.treepos
returns the index of the node at the end of the selected edge, along with the branch distance to that node.
getnode
simply returns the closest node to the user mouse click.
get.treepos(message=TRUE, ...) getnode(...)
message |
for |
... |
optional arguments. |
Both functions are primarily meant to be used internally by other phytools functions.
A list for get.treepos
and a node number for getnode
.
Liam Revell liam.revell@umb.edu
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.