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

Method setAllNormal

src/ChrCopyNumber.cpp:544–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

542
543
544void 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()) &&notNprofile_[i]>0) {
549 ratio_[i] = 1;
550 } else {
551 ratio_[i] = NA;
552 }
553 }
554}
555
556void ChrCopyNumber::recalculateRatio(double *a, int degree) {
557 float x;

Callers 1

runWithDefinedPloidyFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected