chunkPoints {easy.utils} | R Documentation |
Generate chunk points
Description
Unexported helper function ChunkPoints
from Seurat. This
can be quite useful when user needs to chunk some operations.
Usage
chunkPoints(dsize, csize)
Arguments
dsize |
How big is the data being chunked |
csize |
How big should each chunk be |
Value
A 2 x N matrix
where each column is a chunk. The first
row contains start points, and the second row contains end points.
References
Examples
### Split an index vector with 15273 elements into chunks, each of which has
### 3000 elements.
chunkPoints(15273, 3000)
[Package easy.utils version 0.0.4 Index]