ggbio {ggbio}R Documentation

class ggbio

Description

a sub class of ggplot and gg class defined in ggplot2 package, used for ggbio specific methods.

Usage

  ggbio(x)

Arguments

x

a ggplot or gg object.

Details

This class is defined to facilitate the ggbio-specific visualization method, especially when using ggplot to construct ggbio supported object, that will return a ggbio class. And internals tricks will help a lazy evaluation for following + method.

Value

a ggbio object.

Author(s)

Tengfei Yin

See Also

ggplot

Examples

p1 <- qplot()
g1 <- ggbio(p1)
class(g1)
## [1] "ggbio"
## attr(,"package")
## [1] "ggbio"

[Package ggbio version 1.5.20 ]