R/geom-zoom-clade.R

Defines functions geom_zoom_clade

Documented in geom_zoom_clade

##' zoom selected clade of a tree
##'
##'
##' @title geom_zoom_clade
##' @param node internal node number
##' @param xexpand numeric, extend x, meaning the ratio of range of original x, 
##' default is NULL.
##' @return updated tree view
##' @author Guangchuang Yu
##' @export
geom_zoom_clade <- function(node, xexpand=NULL) {
    structure(list(node = node, xexpand = xexpand), class = "zoom_clade")
}

Try the ggtree package in your browser

Any scripts or data that you put into this service are public.

ggtree documentation built on Nov. 15, 2020, 2:09 a.m.