Batch wrapper for heatmapData that preserves input order
Usage
batch_heatmapData(regions, data, batch_size = 1000, sparse = TRUE, ...)
Arguments
- regions
A GRanges object of equal-width regions
- data
A GRanges object with CTSS signal
- batch_size
Number of regions to process per batch
- sparse
Logical, whether to return sparse matrix (default = TRUE)
- ...
Additional arguments passed to `heatmapData`
Value
A list of matrices by strand with rows in the same order as `regions`