excludeCells | R Documentation |
Both keepCells and excludeCells perform similar functions; keep cells with positive selection, and excludeCells with negative selection
excludeCells(cnr, excl)
cnr |
the cnr bundle |
excl |
a string vector of cellID to be removed |
Returns a cnr object after removal of cells
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.