| 147 | } |
| 148 | |
| 149 | void 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 | |
| 161 | void GenomeDensity::writeToFile(std::string outFileName,std::string type, bool ifBinary) { |
| 162 | std::ofstream file; |
nothing calls this directly
no outgoing calls
no test coverage detected