Estimate contamination from XX and XY based on observed counts
Usage
estimateGamma(nvector, avector, c1, c2, correction)
Arguments
- nvector
observed read counts
- avector
vector to change
- c1
X multiplier for karyotype 1
- c2
X multiplier for karyotype 2
- correction
error rate for Y mapping for non-Y karyotypes
Value
estimated contamination