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

Method getCoverageAtI

src/ChrDensity.cpp:38–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38int ChrDensity::getCoverageAtI(int i) {
39 if (i>=length_)
40 return 0;
41
42 if (i<0)
43 return -1;
44 return coverage_[i];
45}
46float ChrDensity::getDensityAtI(int i) {
47 if (i>=length_)
48 return 0;

Callers 2

writeToFileMethod · 0.80
calculateLogRatioMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected