ggbio {ggbio} | R Documentation |
a sub class of ggplot and gg class defined in ggplot2 package, used for ggbio specific methods.
ggbio(x)
x |
a ggplot or gg object. |
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.
a ggbio object.
Tengfei Yin
ggplot
p1 <- qplot()
g1 <- ggbio(p1)
class(g1)
## [1] "ggbio"
## attr(,"package")
## [1] "ggbio"