Will rebin data into larger bins. Have not tested with smaller bins.
Usage
rebin_sce(sce, assays, new_bins, cell_ids = NULL, ncores = 1)
Arguments
- sce
SingleCellExperiment
object
- assays
Names of assays to include in the rebinning process
- new_bins
GenomicRanges of new bins
- cell_ids
Cells to include in rebinning. If NULL
defaults to all cells
- ncores
Number of cores to speed up rebinning
Value
Rebinned SingleCellExperiment
object