computeLambdaOnChr: computeLambdaOnChr

View source: R/peakCallFunctions.R

computeLambdaOnChrR Documentation

computeLambdaOnChr

Description

computes the lambdas on a chromosome for the winVector windows and other two windows (min/maxCompWinWidth) to compare with

Usage

computeLambdaOnChr(
  chrGRanges,
  winVector = seq_len(20),
  minChrRleWComp,
  minCompWinWidth = 5000,
  maxChrRleWComp,
  maxCompWinWidth = 10000,
  verbose = TRUE
)

Arguments

chrGRanges

the GRanges representing the reads of the chromosome.

winVector

the of width of the windows used to compute the coverage.

minChrRleWComp

and Rle object within coverage of window of width minCompWinWidth.

minCompWinWidth

the width of the window used for the coverage of minChrRleWComp in bases.

maxChrRleWComp

and Rle object within coverage of window of width minCompWinWidth.

maxCompWinWidth

the width of the window used for the coverage of maxChrRleWComp in bases.

verbose

verbose flag.

binSize

the size of the bin in bases.

Value

an RleList where each element is a window of winVector, within an Rle representing the lambda computed for that window.


drighelli/DEScan2 documentation built on March 21, 2023, 3:06 p.m.