ScanStatNewComp: Main new window scan statistics computation

Description Usage Arguments Details Value Author(s) See Also

View source: R/ScanStatNewComp.R

Description

This is a wrapper function to call the C routines for the scan statistic new candidate segmentation computing from the IGS

Usage

1
ScanStatNewComp(combZCumSum, combXCumSum, combZPoint, combXPoint, p, nTotal, grid.cur, max.win, statistic)

Arguments

combZCumSum

A cumulative sum of the number of case reads

combXCumSum

A cumulative sum of the number of reads

combZPoint

The number of case reads at the grid points

combXPoint

The number of reads at the grid points

p

The proportion of case reads in the current region

nTotal

The total number of reads in the current region

grid.cur

The current grid to be computed on

max.win

The maximum inter-window to be considered for new scan

statistic

The type of statistic. Can be 'binomial','rabinowitz', 'normal', or 'hybrid'

Details

The computations are done in C for speed.

Value

Returns a matrix containing the candidate change points from the new scan

Author(s)

Jeremy J. Shen

See Also

ScanCBS, ScanIterateGrid


SeqCNVCBS documentation built on May 2, 2019, 6:51 p.m.