computeZ: computeZ

Description Usage Arguments Value

View source: R/peakCallFunctions.R

Description

Computes Z-Scores returning the z matrix.

Usage

1
2
computeZ(lambdaChrRleList, runWinRleList, chrLength, minCount = 0.1,
  binSize = 50, verbose = FALSE)

Arguments

lambdaChrRleList

an RleList of lambda values computed by computeLambdaOnChr function each element of the list is an Rle representing the lambda for the moving window in the list position.

runWinRleList

an RleList of coverage values computed. by computeCoverageMovingWindowOnChr function each element of the list is an Rle representing the coverage for the moving window in the list position.

chrLength

the length of the chr in analysis.

minCount

A small constant (usually no larger than one) to be added to the counts prior to the log transformation to avoid problems with log(0).

binSize

the size of the bin.

verbose

verbose output.

Value

z a matrix of z scores for each window (column) and bin (row). where the rownames represent the starting base of each bin.


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