ggbio-class: class ggbio

Description Usage Arguments Details Value Author(s) See Also Examples

Description

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

Usage

1
2
  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.

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

1
2
3
p1 <- qplot()
g1 <- ggbio(p1)
class(g1)

ggbio documentation built on Nov. 8, 2020, 5:04 p.m.