MCPcopy Create free account
hub / github.com/BoevaLab/FREEC / checkOrCreateNotNprofileWithZeros

Method checkOrCreateNotNprofileWithZeros

src/ChrCopyNumber.cpp:1412–1419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1410}
1411
1412void 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
1421void ChrCopyNumber::fillCGprofile(std::string const& chrFolder) {
1422 GCprofile_ = vector <float> (length_);

Callers 1

focusOnCaptureMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected