Description Usage Arguments Value Examples
Get or set the titles associated with a FeatureSet object. This should not be called directly.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | titles(object) <- value
titles(object)
## S4 method for signature 'PlotFeatureSet'
titles(object)
## S4 method for signature 'ggplot'
titles(object)
## S4 method for signature 'trellis'
titles(object)
## S4 method for signature 'gTree'
titles(object)
## S4 replacement method for signature 'PlotFeatureSet'
titles(object) <- value
## S4 method for signature 'FeatureSet'
titles(object)
|
object |
An object of (super)class PlotFeatureSet. For accession, also plot objects of class ggplot or trellis. |
value |
A named list of titles of the form list(main = "My title", sub = "My subtitle"). |
A modified object of (super)class PlotFeatureSet.
1 2 3 4 5 | library(ggplot2)
mt = datasets::mtcars
plt = qplot(mt$mpg, mt$cyl)
fs = makeFeatureSet(plt)
titles(fs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.