relCNComp: Compute the Relative Copy Number

Description Usage Arguments Details Value Author(s)

View source: R/relCNComp.R

Description

This computes the relative copy number by each of the segment called

Usage

1
relCNComp(combX, combZ, tauHatInd, p)

Arguments

combX

The number of reads at each unique read position

combZ

The number of case/tumor reads at each unique read position

tauHatInd

The index of change points called

p

The overall proportion of case reads

Details

The relative CN is defined as the number of case reads divided by the number of control reads in a window, adjusted for overall proportion of case reads (divided by the overall relative CN).

Value

Returns a vector of relative CN for each of the segment between two change points

Author(s)

Jeremy J. Shen


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