excludeCells: exclude cells from CNR bundle

View source: R/excludeCells.R

excludeCellsR Documentation

exclude cells from CNR bundle

Description

Both keepCells and excludeCells perform similar functions; keep cells with positive selection, and excludeCells with negative selection

Usage

excludeCells(cnr, excl)

Arguments

cnr

the cnr bundle

excl

a string vector of cellID to be removed

Value

Returns a cnr object after removal of cells

Examples


data(cnr)

cnr2 <- excludeCells(cnr, excl = cnr$Y$cellID[cnr$qc$ReadsKept < 800000])

## not run: similarly:


cnr3 <- keepCells(cnr, keep = cnr$Y$cellID[cnr$qc$ReadsKept >= 800000])

all.equal(cnr2, cnr3)



SingerLab/gac documentation built on March 23, 2024, 5:15 a.m.