Shians/Glimma

glMDplot changes numeric columns with NAs to character in bottom table

Opened this issue · 2 comments

When you have a numeric column in your annotation that has NA values, it somehow gets changed to character in the bottom table in a glMDPlot, so that sorting on it ends up with 1, 10, 100, 101, 102, etc. I couldn't find where this was occurring. Anyway to fix this so clicking on the table will sort properly as 1, 2, 3, etc?
Thanks!

Hmm might be tricky to fix, since Javascript doesn't have a similar notion of NA, I can either change to conversion such that it becomes NaN or NULL Javascript values but I'd have to test the effects of this.