filterCells: Quality control.

View source: R/filterCells.R

filterCellsR Documentation

Quality control.

Description

Filter out cells based on variables provided in the parameter variables.

Usage

filterCells(
  object,
  assay.type = "RNA",
  variables,
  thresholds.low,
  thresholds.high
)

Arguments

object

CellRouter object.

assay.type

character; the type of data to use.

variables

character list; column names in assay@sampTab of the variables the cells will be filtered on, such as number of detected genes or mitochondrial content.

thresholds.low

numeric vector; cells with values lower than the ones provided here are filtered out.

thresholds.high

numeric vector; cells with values higher than the ones provided here are filtered out.

Value

CellRouter object with the rawdata, ndata, and sampTab slots updated.


edroaldo/fusca documentation built on March 1, 2023, 1:43 p.m.