owenjm / find_peaks

A simple FDR peak caller
5 stars 4 forks source link

Replace 0.0 with 0 #2

Open mvdbeek opened 6 years ago

mvdbeek commented 6 years ago

Hi @owenjm,

I was averaging score files in pandas, which writes out 0 as 0.0 and noticed that we were getting different results based on whether the score column had 0 or 0.0 as value.

Not being fluent in perl I have no clue why this is important or if this is the correct way to do it, but replacing 0.0 with 0 solved the issue for us

Also the previous NA replacement appeared twice, I guess it'd be enough to just do this once ?