Computes the cancer cell fraction (CCF) based on total copy number, mutation multiplicity, tumor purity, and integer copy number.
Arguments
- CN
Numeric. The total copy number in the segment.
- mu
Numeric. Diploid coverage scale factor (e.g. A value of 1 indicates that the segment mean from GATK does not require adjustment. Additionally, the pseudo-diploid coverage is set to 100.).
- rho
Numeric. Tumor purity (fraction between 0 and 1).
- C_i
Numeric. Integer copy number of the mutation.
Value
Numeric. The estimated cancer cell fraction (CCF), with Inf and -Inf values capped at 1 and 0.01, respectively.
