| 542 | |
| 543 | |
| 544 | void ChrCopyNumber::setAllNormal() { |
| 545 | if ((int)ratio_.size()!=length_) |
| 546 | ratio_.resize(length_); |
| 547 | for (int i = 0; i<length_; i++) { |
| 548 | if (readCount_[i] != NA && i<int(notNprofile_.size()) &¬Nprofile_[i]>0) { |
| 549 | ratio_[i] = 1; |
| 550 | } else { |
| 551 | ratio_[i] = NA; |
| 552 | } |
| 553 | } |
| 554 | } |
| 555 | |
| 556 | void ChrCopyNumber::recalculateRatio(double *a, int degree) { |
| 557 | float x; |
no outgoing calls
no test coverage detected