rebinToMultiple: Rebin a SummarizedExperiment to a multiple of its bin width

View source: R/deltaCaptureC.R

rebinToMultipleR Documentation

Rebin a SummarizedExperiment to a multiple of its bin width

Description

This is a faster way of rebinning when the old bins are consecutive and constant width and the new bins are to be a multiple of that width

Usage

rebinToMultiple(se, multiple, deleteShort = FALSE)

Arguments

se

a RangedSummarizedExperiment to be rebinned

multiple

the factor by which to fatten the bins

deleteShort

= FALSE when set to true if the final bin is short it will be deleted

Value

a RangedSummarizedExperiment

Examples

rebinnedSummarizedExperiment = rebinToMultiple(binnedSummarizedExperiment,10)

michaeldshapiro/deltaCaptureC documentation built on April 21, 2023, 8:18 a.m.