Learn R Programming

trackr (version 0.10.7)

objCode<-: Accessors for the code of FeatureSet objects

Description

Get or set the code associated with a FeatureSet object. This should not be called directly.

Usage

objCode(object) <- value

objCode(object)

# S4 method for FeatureSet objCode(object) <- value

# S4 method for FeatureSet objCode(object)

Arguments

object

An object of (super)class PlotFeatureSet. For accession, also plot objects of class ggplot or trellis.

value

A CodeDepends::Script object.

Value

A modified object of (super)class PlotFeatureSet.

Examples

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

Run the code above in your browser using DataLab