seqplots-generic | R Documentation |
Generic operators working with PlotSetArray
,
PlotSetList
and PlotSetPair
to subset or flatten
the data structure.
## S4 method for signature 'PlotSetList,ANY,ANY,ANY' x[i, j, ..., drop = TRUE] ## S4 method for signature 'PlotSetList,ANY,ANY' x[[i, j, ...]] ## S4 method for signature 'PlotSetArray,ANY,missing,ANY' x[i, j, ..., drop = TRUE] ## S4 method for signature 'PlotSetArray,ANY,vector,ANY' x[i, j] ## S4 method for signature 'PlotSetArray,ANY,ANY' x[[i, j, ...]]
x |
an object of class |
i |
indices specifying elements to extract or replace. Indices are
For When indexing arrays by An index value of |
j |
see description for |
... |
see description for |
drop |
For matrices and arrays. If |
If x
is PlotSetArray
class:
x[1:2,1:2]
produces PlotSetArray
with 2 feature(s) and
2 tracks.
x[1:2]
produces PlotSetList
with 2
feature/tracks pairs.
x[[1]]
produces single
PlotSetPair
.
x$as.array()
produces the matrix of PlotSetPair
classes
with all feature/tracks pairs.
If x
is PlotSetList
class:
x[1:2]
produces PlotSetList
with 2 feature/tracks
pairs.
x[[1]]
produces single PlotSetPair
.
Extract
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.