slice.SummarizedExperiment | R Documentation |
Choose rows by their ordinal position in the se
## S3 method for class 'SummarizedExperiment'
slice(.data, axis, ...)
.data |
SummarizedExperiment to subset |
axis |
The axis to perform the operation on. Either row or col. |
... |
Integer row values. Provide either positive values to keep, or negative values to drop. The values provided must be either all positive or all negative. Indices beyond the number of rows in the input are silently ignored. The arguments in ... are automatically quoted and evaluated in the context of the data frame. They support unquoting and splicing. See vignette("programming") for an introduction to these concepts. |
A SummarizedExperiment after the slice operation
#subset the first 10 cols of the se
data(seq_se)
seq_se %>% slice(col, 1:10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.