coverageWindowsCenteredStrandedParallel: Get windowed strand-oriented coverages around center point,...

View source: R/windows.R

coverageWindowsCenteredStrandedParallelR Documentation

Get windowed strand-oriented coverages around center point, parallelized

Description

Out-of-bound windows will be removed!

Usage

coverageWindowsCenteredStrandedParallel(centers, window.size = 1000, coverage,
  n.cores = 2)

Arguments

centers

a data frame of center points with columns 'chr', 'center', 'strand'

window.size

the size of the window surrounding the center position, default 1000

coverage

a coverage object (RleList as returned by coverage)

n.cores

number of processor cores to use. If not defined all detected cores will be used)

Value

a matrix


musikutiv/tsTools documentation built on June 6, 2023, 1:39 a.m.