computeZ: computeZ

View source: R/peakCallFunctions.R

computeZR Documentation

computeZ

Description

Computes Z-Scores returning the z matrix.

Usage

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.


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