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

Method getDensityAtI

src/ChrDensity.cpp:46–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 return coverage_[i];
45}
46float ChrDensity::getDensityAtI(int i) {
47 if (i>=length_)
48 return 0;
49
50 if (i<0)
51 return -1;
52 return density_[i];
53}
54
55void ChrDensity::coveragePlusOneAtI(int i) {
56 if (i>=0 && i<length_)

Callers 3

writeToFileMethod · 0.80
printDensityMethod · 0.80
calculateLogRatioMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected