| filter {scater} | R Documentation |
SingleCellExperiment with cells matching conditions.Subsets the columns (cells) of a SingleCellExperiment based on
matching conditions in the rows of colData(object).
filter(object, ...) ## S4 method for signature 'SingleCellExperiment' filter(object, ...)
object |
A |
... |
Additional arguments to be passed to |
An SingleCellExperiment object.
data("sc_example_counts")
data("sc_example_cell_info")
example_sce <- SingleCellExperiment(
assays = list(counts = sc_example_counts),
colData = sc_example_cell_info)
example_sce_treat1 <- filter(example_sce, Treatment == "treat1")