hms-dbmi / UpSetR

An R implementation of the UpSet set visualization technique published by Lex, Gehlenborg, et al..
https://cran.rstudio.com/web/packages/UpSetR
Other
763 stars 156 forks source link

Error in `[.data.frame`(data1, , test) : undefined columns selected #222

Open Subc0mandante opened 3 years ago

Subc0mandante commented 3 years ago

Hello Jake,

would you be please so kind and help me with my problem? I'm trying to use your awesome tool for the visualisation of my data (microbial communities in bark beetles gut).

As long as I work with your "movie" dataset everything is fine but when I import my own test dataset (please see below) error message "Error in [.data.frame(data1, , test) : undefined columns selected" appear.

But even if I do a minimal cut off of your original movie dataset (from 3883 to 3882 rows) same error is appear which make me quite confused :( Thank you very much for your help :)

organism name;Parentals;Larvae;Pupae;Tenerals;Control phloem;Infested phloem;Frass new;Frass old Kuraishia_capsulata;0;0;0;0;1;0;0;0 Nakazawaea_sp.;0;0;0;0;0;0;0;0 Ophiostoma_bicolor;1;1;0;1;1;0;1;1 Saccharomycopsis_lassenensis;0;1;1;1;1;1;1;0 Cyberlindnera_sp.;1;1;1;1;1;1;1;1 Wickerhamomyces_bisporus;0;1;1;1;1;1;1;1 Ogataea_ramenticola;1;1;1;1;1;1;1;1 Ogataea_neopini;1;1;1;1;1;1;1;1 Saccharomycopsis_lassenensis2;1;1;1;1;1;1;1;1

R version 4.1.1 (2021-08-10) -- "Kick Things" Performing in RStudio 1.4.1717 Platform: x86_64-w64-mingw32/x64 (64-bit)

suhartobanerjee commented 1 year ago

I have the same issue! If I try to force it through fromList(), it gives a wrong data.frame and hence wrong plot. Is there a workaround available? Thanks!