dot-addZoom: Visualize the phylogenetic tree

Description Usage Arguments Value Author(s) Examples

Description

.addZoom zooms in a phylogenetic tree.

Usage

1
2
.addZoom(tree, zoomNode = NULL, zoomLevel = NULL, zoomScale = NULL,
  addTo = NULL, ...)

Arguments

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 ggtree

Value

A figure

Author(s)

Ruizhu Huang

Examples

1
2
3
# data(tinyTree)
# .addZoom(tree = tinyTree, zoomNode = 17,
# zoomScale = 3)

markrobinsonuzh/treeAGG documentation built on May 26, 2019, 9:32 a.m.