| 1265 | |
| 1266 | |
| 1267 | int ChrCopyNumber::removeLargeExons(float threshold) { |
| 1268 | int howManyRemoved = 0; |
| 1269 | for (int i =0; i< length_; i++) { |
| 1270 | if (ends_[i]-coordinates_[i]>threshold) { |
| 1271 | howManyRemoved++; |
| 1272 | readCount_[i]=NA; |
| 1273 | } |
| 1274 | } |
| 1275 | return howManyRemoved; |
| 1276 | } |
| 1277 | |
| 1278 | void ChrCopyNumber::recalcFlanks(int telo_centromeric_flanks, int minNumberOfWindows) { |
| 1279 | int maxRegionLengthToDelete = int(telo_centromeric_flanks/step_); |