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

Method printCGprofile

src/GenomeCopyNumber.cpp:2890–2900  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2888}
2889
2890void GenomeCopyNumber::printCGprofile(std::string const& outFile) {
2891 const char * name = outFile.c_str();
2892 std::ofstream file;
2893 file.open(name);
2894 map<string,int>::iterator it;
2895 for ( it=chromosomesInd_.begin() ; it != chromosomesInd_.end(); it++ ) {
2896 printCGprofile((*it).first,file);
2897 }
2898 file.close();
2899 cout << "CG-content printed into "<<outFile <<"\n";
2900}
2901
2902void GenomeCopyNumber::printRatio(std::string const& chr, std::string const& outFile, bool printNA) {
2903 cout << "printing ratio for "<<chr<<" into "<<outFile <<"\n";

Callers 1

mainFunction · 0.80

Calls 6

getMappabilityLengthMethod · 0.80
getCoordinateAtBinMethod · 0.80
getCGprofileAtMethod · 0.80
getNotNprofileAtMethod · 0.80
getLengthMethod · 0.45

Tested by

no test coverage detected