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

Method recalculateLogRatio

src/ChrCopyNumber.cpp:654–658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

652}
653
654void ChrCopyNumber::recalculateLogRatio (float constant) {
655 for (int i = 0; i<length_; i++)
656 if (ratio_[i] != NA)
657 ratio_[i] -= constant;
658}
659
660void ChrCopyNumber::recalculateRatioWithContam (float contamination, float normGenytype, bool isLogged) { //normGenytype==1 if AB, normGenytype==0.5 if A
661 if (!isLogged) {

Callers 1

fillInRatioMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected