is.ggtree {treeio}R Documentation

is.ggtree

Description

test whether input object is produced by ggtree function

Usage

is.ggtree(x)

Arguments

x

object

Value

TRUE or FALSE

Author(s)

guangchuang yu

Examples

library(ggtree)
p <- ggtree(rtree(30))
is.ggtree(p)

[Package treeio version 1.2.2 Index]