filter: Return 'SCESet' with cells matching conditions.

Description Usage Arguments Value Examples

Description

Subsets the columns (cells) of a SCESet based on matching conditions in the rows of pData(object).

Usage

1
2
3
4
5
6
filter(object, ...)

## S4 method for signature 'SCESet'
filter(object, ...)

filter.SCESet(object, ...)

Arguments

object

A SCESet object.

...

Additional arguments to be passed to dplyr::filter to act on pData(object).

Value

An SCESet object.

Examples

1
2
3
4
5
data("sc_example_counts")
data("sc_example_cell_info")
pd <- new("AnnotatedDataFrame", data = sc_example_cell_info)
example_sceset <- newSCESet(countData = sc_example_counts, phenoData = pd)
example_sceset_treat1 <- filter(example_sceset, Treatment == "treat1")

scater documentation built on May 31, 2017, 3:08 p.m.

Search within the scater package
Search all R packages, documentation and source code