objCode-methods: Accessors for the code of FeatureSet objects

Description Usage Arguments Value Examples

Description

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

Usage

1
2
3
4
5
6
7
8
9
objCode(object) <- value

objCode(object)

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

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

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

gmbecker/recordr documentation built on May 24, 2021, 10:59 a.m.