tags-methods: Accessors for the tags of FeatureSet objects

Description Usage Arguments Value Examples

Description

Get or set the tags associated with a FeatureSet 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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
tags(object) <- value

editTags(object, value, option)

tags(object)

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

## S4 replacement method for signature 'ggplot'
tags(object) <- value

## S4 replacement method for signature 'trellis'
tags(object) <- value

## S4 replacement method for signature 'gTree'
tags(object) <- value

## S4 method for signature 'FeatureSet'
editTags(object, value, option = c("replace", "add", "remove"))

## S4 method for signature 'FeatureSet'
tags(object)

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

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

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

## S4 method for signature 'ANY'
tags(object)

Arguments

object

An object of (super)class FeatureSet

value

A character vector of tags.

option

One of c("replace", "add", "remove"), with default "replace" (equivalent to "tags<-" with an additional uniqueness check), describing the action to be taken with the tag vector provided.

Value

A modified object of (super)class PlotFeatureSet.

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)
tags(fs)

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