| 1410 | } |
| 1411 | |
| 1412 | void ChrCopyNumber::checkOrCreateNotNprofileWithZeros() { |
| 1413 | int sizeOfNonN = notNprofile_.size(); |
| 1414 | if (sizeOfNonN<length_) { |
| 1415 | notNprofile_ = vector <float> (length_); |
| 1416 | } |
| 1417 | for (int i = 0; i< length_; i++) |
| 1418 | notNprofile_[i]=0; |
| 1419 | } |
| 1420 | |
| 1421 | void ChrCopyNumber::fillCGprofile(std::string const& chrFolder) { |
| 1422 | GCprofile_ = vector <float> (length_); |