centerCounts | R Documentation |
Function to center raw read counts for scATAC-seq data based on mean reads in features/rows (e.g. peaks) per cell
centerCounts(obj, doInChunks = TRUE, chunkSize = 1000)
obj |
Either a |
doInChunks |
boolean value whether or not to score cells in chunks (useful for large scATAC datasets of > 5,000 cells). If TRUE, cells are centered sequentially in chunks of size=1000 cells at a time to avoid memory limitations, and eventually merged (column-wise). Overriden and set to TRUE if > 10,000 cells in dataset |
chunkSize |
numeric specifying the number of cells to perform centering for at once, if running in chunks (to save memory). Default is 1000 |
Either a RangedSummarizedExperiment-class
or dgeMatrix-class
object with counts centered by mean reads in peaks per cell
Vinay Kartha
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.