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

Method smooth

src/GenomeDensity.cpp:149–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149void GenomeDensity::smooth() {
150 //double bindwidth = sigma_;
151 int r = int (sigma_);
152 cout << "\t..creating a kernel vector.. with radius"<< r <<" \n";
153 KernelVector kernelVector(r);
154 map<string,ChrDensity>::iterator it;
155 for ( it=gd_.begin() ; it != gd_.end(); it++ ) {
156 cout << "\t..smoothing for "<<(*it).first << "\n";
157 (*it).second.smooth(kernelVector);
158 }
159}
160
161void GenomeDensity::writeToFile(std::string outFileName,std::string type, bool ifBinary) {
162 std::ofstream file;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected