subset.FRASER | R Documentation |
Providing subsetting by indices through the single-bracket operator
## S3 method for class 'FRASER'
subset(x, i, j, by = c("j", "ss"), ..., drop = FALSE)
## S4 method for signature 'FraserDataSet,ANY,ANY,ANY'
x[i, j, by = c("j", "ss"), ..., drop = FALSE]
x |
A |
i |
A integer vector to subset the rows/ranges |
j |
A integer vector to subset the columns/samples |
by |
a character (j or ss) defining if we subset by junctions or splice sites |
... |
Parameters currently not used or passed on |
drop |
No dimension reduction is done. And the |
A subsetted FraserDataSet
object
fds <- createTestFraserDataSet()
fds[1:10,2:3]
fds[,samples(fds) %in% c("sample1", "sample2")]
fds[1:10,by="ss"]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.