Learn R Programming

ggtree (version 1.4.11)

gzoom.phylo: gzoom

Description

plots simultaneously a whole phylogenetic tree and a portion of it.

Usage

gzoom.phylo(phy, focus, subtree = FALSE, widths = c(0.3, 0.7))

Arguments

phy
phylo object
focus
selected tips
subtree
logical
widths
widths

Value

a list of ggplot object

Examples

Run this code
require(ape)
data(chiroptera)
gzoom(chiroptera, grep("Plecotus", chiroptera$tip.label))

Run the code above in your browser using DataLab