filter-methods: Filter the rows of a perturbation data set

Description Usage Arguments Value Examples

Description

Takes a perturbation data set and filters the rows by some criterion. The filtered object will have the same type as the previous object.

Usage

1
filter(obj, ...)

Arguments

obj

the object to be filtered

...

variable number of logical predicates in terms of the column names in obj. Multiple predicates will be combined with a logical 'and'. Rows where all conditions are met will be kept. The column names do not need to be quoted. Wraps around dplyr::filter.

Value

returns an object of the same type filtered by some criteria

Examples

1
2
3
 data(rnaiscreen)
 flt.dat <- filter(rnaiscreen, Condition=="V1")
 flt.dat <- filter(rnaiscreen, Condition=="V1", RowIdx==1)

dirmeier/knockout documentation built on Feb. 15, 2020, 9:11 p.m.