gzoom.phylo {ggtree}R Documentation

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

Author(s)

ygc

Examples

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

[Package ggtree version 1.16.0 Index]