keepCells | R Documentation |
Both keepCells and excludeCells perform similar functions; keep cells with positive selection, and excludeCells with negative selection
keepCells(cnr, keep)
cnr |
the cnr bundle |
keep |
a string vector of cellID to keep |
Returns a CNR bundle with only the cells we want to keep
data(cnr) cnr2 <- excludeCells(cnr, excl = cnr$Y$cellID[cnr$qc$ReadsKept < 800000]) 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.