Description Usage Arguments Value Author(s) Examples
.addZoom
zooms in a phylogenetic tree.
1 2 |
tree |
A phylo object |
zoomNode |
A vector of nodes to be zoomed in. If default (NULL), the tree is not zoomed in. |
zoomLevel |
A numeric vector. Its length is equal to 1 or equal to the length of zoomNode. If default (NULL), a leaf is zoomed in its direct parent level and an internal node is zoomed in its own level. |
zoomScale |
A numeric vector. Its length is equal to one or equal to the length of zoomNode. If zoomScale has the same length as zoomNode, the branches are zoomed in with different scales corresponding to the value of zoomScale. If default (NULL), tree is not zoomed in. |
addTo |
NULL or a plot of a phylo object. |
... |
see also |
A figure
Ruizhu Huang
1 2 3 | # data(tinyTree)
# .addZoom(tree = tinyTree, zoomNode = 17,
# zoomScale = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.