computeLambdaOnChr: computeLambdaOnChr

Description Usage Arguments Value

View source: R/peakCallFunctions.R

Description

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

Usage

1
2
3
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.


DEScan2 documentation built on Nov. 8, 2020, 5:01 p.m.