| 652 | } |
| 653 | |
| 654 | void ChrCopyNumber::recalculateLogRatio (float constant) { |
| 655 | for (int i = 0; i<length_; i++) |
| 656 | if (ratio_[i] != NA) |
| 657 | ratio_[i] -= constant; |
| 658 | } |
| 659 | |
| 660 | void ChrCopyNumber::recalculateRatioWithContam (float contamination, float normGenytype, bool isLogged) { //normGenytype==1 if AB, normGenytype==0.5 if A |
| 661 | if (!isLogged) { |