Subset an SingleAnnotation Object
Subset an SingleAnnotation Object
## S3 method for class 'SingleAnnotation' x[i]
x |
An |
i |
A vector of indices. |
The SingleAnnotation class object is subsetable only if the containing AnnotationFunction-class
object is subsetable. All the anno_*
functions are subsetable, so if the SingleAnnotation object
is constructed by one of these functions, it is also subsetable.
ha = SingleAnnotation(value = 1:10) ha[1:5] draw(ha[1:5], test = "ha[1:5]")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.