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

Method printCopyNumber

src/GenomeCopyNumber.cpp:2878–2888  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2876
2877
2878void GenomeCopyNumber::printCopyNumber(std::string const& outFile) {
2879 const char * name = outFile.c_str();
2880 std::ofstream file;
2881 file.open(name);
2882 map<string,int>::iterator it;
2883 for ( it=chromosomesInd_.begin() ; it != chromosomesInd_.end(); it++ ) {
2884 printCopyNumber((*it).first,file);
2885 }
2886 file.close();
2887 cout << "printing counts into "<<outFile <<"\n";
2888}
2889
2890void GenomeCopyNumber::printCGprofile(std::string const& outFile) {
2891 const char * name = outFile.c_str();

Callers 1

mainFunction · 0.80

Calls 5

getCoordinateAtBinMethod · 0.80
getEndAtBinMethod · 0.80
getGeneNameAtBinMethod · 0.80
getLengthMethod · 0.45
getValueAtMethod · 0.45

Tested by

no test coverage detected