qc_filter: qc_filter

View source: R/qc_filter.R

qc_filterR Documentation

qc_filter

Description

Filters cells that DO NOT MATCH the condition in filter. i.e. if you want to REMOVE cells with a.tot < 100, call qc_filter(X, a.tot > 100). In addition, subsets selects a subset of cells to which apply the filter. i.e. to apply the same area filter but only to cells with f.tot.y values under 50, call qc_filter(X, a.tot > 100, subset = f.tot.y < 50)

Usage

qc_filter(X, filter, subset = NULL)

Arguments

X

cell.data object

filter

conditions to filter

subset

subset of cells to select for filtering

Details

It does not delete the filtered rows, it only modifies the qc variable. To effectively remove them, use qc_execute.

Value

cell.data object


gerbeldo/tidycell documentation built on Aug. 15, 2022, 2:35 p.m.