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

Method getChrCopyNumber

src/GenomeCopyNumber.cpp:1665–1669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1663}
1664
1665ChrCopyNumber GenomeCopyNumber::getChrCopyNumber(std::string const& chr) {
1666 int index = findIndex(chr);
1667 if (index==NA) throw "No such chromosome";
1668 return chrCopyNumber_[index];
1669}
1670void GenomeCopyNumber::printRatio(std::string const& outFile, bool ifBedGraphOutPut, bool printNA) {
1671 std::ofstream file (outFile.c_str());
1672 map<string,int>::iterator it;

Callers 5

calculateMedianAroundMethod · 0.80
calculateRatioUsingCGMethod · 0.80
calculateRatioMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected