filter.SummarizedExperiment | R Documentation |
Use filter() to choose rows/genes where conditions are true. Uses attached metadata to find matches.
## S3 method for class 'SummarizedExperiment'
filter(.data, axis, ...)
.data |
SummarizedExperiment to subset |
axis |
The axis to perform the operation on. Either row or col. |
... |
Logical predicates defined in terms of the variables in .data. Multiple conditions are combined with & or ,. Only rows where the condition evaluates to TRUE are kept. |
A SummarizedExperiment after the filter operation
#filter the rows of the example se with genes from the IL group
data(seq_se)
seq_se %>% filter(row, gene_group == "IL")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.