| 1129 | } |
| 1130 | |
| 1131 | int ChrCopyNumber::nextNoNAIndex(int i1, int ploidy, int min_fragment) { |
| 1132 | for (int i = i1+1; i<(int)medianValues_.size(); i++) |
| 1133 | //if (round_by_ploidy(medianValues_[i], ploidy)>=0) // !!! >= and not > 0. |
| 1134 | if (getLevelAt(i, ploidy)>=0) // !!! >= and not > 0. |
| 1135 | if (fragment_lengths_[i] > min_fragment) |
| 1136 | return i; |
| 1137 | return NA; |
| 1138 | } |
| 1139 | |
| 1140 | float ChrCopyNumber::nextNoNAMedian(int i1, int ploidy) { |
| 1141 |
no outgoing calls
no test coverage detected