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

Description Usage Arguments Value Examples

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
statTransform(object) <- value

statTransform(object)

## S4 method for signature 'PlotFeatureSet'
statTransform(object)

## S4 method for signature 'ggplot'
statTransform(object)

## S4 method for signature 'trellis'
statTransform(object)

## S4 method for signature 'gTree'
statTransform(object)

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

## S4 method for signature '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

1
2
3
4
5
library(ggplot2)
mt = datasets::mtcars
plt = qplot(mt$mpg, mt$cyl)
fs = makeFeatureSet(plt)
statTransform(fs)

trackr documentation built on May 24, 2021, 5:09 p.m.