ggbio (version 1.20.1)

GGbio: class ggbio

Description

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

Usage

GGbio(ggplot = NULL, data = NULL, fetchable = FALSE, blank =
                 FALSE, ...)

Arguments

ggplot
a ggplot or gg object.
data
raw data
fetchable
logical value, default FALSE, is there any fetch method available.
blank
logical value, default FALSE, is this plot a blank plot.
...
More properties passed to class like Cache.

Value

  • a ggbio 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.

See Also

ggplot

Examples

Run this code
p1 <- qplot()
g1 <- ggbio(p1)
class(g1)

Run the code above in your browser using DataCamp Workspace