This computes the relative copy number by each of the segment called
relCNComp(combX, combZ, tauHatInd, p, alpha)
The number of reads at each unique read position
The number of case/tumor reads at each unique read position
The index of change points called
The overall proportion of case reads
Significance level for testing whether each segment is a gain (relative CN > 1) or loss (relative CN < 1). The method internally corrects for multiple testing.
Returns a vector of relative CN for each of the segment between two change points
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).