excludeCells: exclude cells from CNR bundle

Description Usage Arguments Value Examples

View source: R/excludeCells.R

Description

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

Usage

1

Arguments

cnr

the cnr bundle

excl

a string vector of cellID to be removed

Value

Returns a cnr object after removal of cells

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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 July 22, 2021, 3:27 a.m.