Learn R Programming

trackr (version 0.10.7)

geomObject<-: Accessors for the geom of GGplotFeatureSet objects

Description

Get or set the geom associated with a GGplotFeatureSet object. This should not be called directly.

Usage

geomObject(object) <- value

geomObject(object)

# S4 method for PlotFeatureSet geomObject(object)

# S4 method for ggplot geomObject(object)

# S4 method for trellis geomObject(object)

# S4 method for gTree geomObject(object)

# S4 method for GGplotFeatureSet geomObject(object) <- value

# S4 method for GGplotFeatureSet geomObject(object)

Arguments

object

An object of class GGplotFeatureSet. For accession, also plot objects of class ggplot.

value

A named list of parameters for geometric objects in each layer of the plot.

Value

A modified object of class GGplotFeatureSet.

Examples

Run this code
# NOT RUN {
library(ggplot2)
mt = datasets::mtcars
plt = qplot(mt$mpg, mt$cyl)
fs = makeFeatureSet(plt)
geomObject(fs)
# }

Run the code above in your browser using DataLab