boxuancui / DataExplorer

Automate Data Exploration and Treatment
http://boxuancui.github.io/DataExplorer/
Other
511 stars 88 forks source link

Heat map issue #183

Open LKguan opened 2 weeks ago

LKguan commented 2 weeks ago

Hi Boxuan,

Thank you for developing this helpful package; I’ve really enjoyed using it for exploratory data analysis.

Recently, I encountered an issue when generating a heatmap with DataExplorer. For a dataset with no missing data points, it worked perfectly. However, after deleting some outliers, the Pearson correlation coefficient (PCC) no longer seemed accurate. I calculated the PCC using other packages and Excel, and their results were consistent, but different from those generated by DataExplorer.

Could you kindly look into this issue? Thank you very much!

boxuancui commented 2 weeks ago

Hi @LKguan, thanks for raising the issue. If you take a look at the source code, it does nothing else but calling cor with supplies arguments (if any). Could you try passing your data directly to cor to validate again?