vscode-R icon indicating copy to clipboard operation
vscode-R copied to clipboard

View() displays sets some numerical values to 0

Open nickhir opened this issue 1 year ago • 0 comments

I noticed that View(dataframe) sometimes sets small numerical values (such as 2.5e-05) to 0. However, in the same dataframe, I also have values that are much smaller (1e-240) which get displayed correctly.

I have attached a screenshot of my observations. Here you can see that p column for the SNP "1_247598484_G_A" is displayed as 0. view_bug

However, when I subset my data to only contain this value, you can see that the p value is actually different: view_bug2

The str of the p column is num.

I have uploaded the dataset for which I observe this to wetransfer: https://we.tl/t-3WxDaKx1Vn

I am using vscode-R version v2.8.2 and VScode v.1.85.1 on Windows11.

I appreciate any in that matter!

nickhir avatar Dec 15 '23 17:12 nickhir