Learn R Programming

trackr (version 0.10.7)

statTransform<-: Accessors for the stat(s) of GGplotFeatureSet objects

Description

Get or set the stat transform(s) associated with a GGplotFeatureSet object. This should not be called directly.

Usage

statTransform(object) <- value

statTransform(object)

# S4 method for PlotFeatureSet statTransform(object)

# S4 method for ggplot statTransform(object)

# S4 method for trellis statTransform(object)

# S4 method for gTree statTransform(object)

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

# S4 method for GGplotFeatureSet statTransform(object)

Arguments

object

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

value

A named list of parameters for statistical transforms 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)
statTransform(fs)
# }

Run the code above in your browser using DataLab