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(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

    p1 <- qplot()
    g1 <- ggbio(p1)
    class(g1)

[Package ggbio version 1.26.1 Index]