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

intersections #217

Open xbarvazx opened 3 years ago

xbarvazx commented 3 years ago

Hi,

Is it possible that using intersections to display only chosen sets does not except names with 'white space'? for name written as three. A

p1<-upset(fromList(ogr), sets = c('one', 'two', 'three. A'),
      order.by='freq', keep.order = TRUE,
      intersections = list(list('one', 'two'), 
                           list('three. A', 'one', 'two')))

p1

Error is Error in[.data.frame(x, temp_sets) : undefined columns selected Thanks,

haowBio commented 2 years ago

I meet the same error

haowBio commented 2 years ago

Have you solved it?

AngelicaMiraples commented 8 months ago

I'm having the same problem. Any luck working around this, @haowBio, @xbarvazx? @JakeConway, can you offer any insight?

AngelicaMiraples commented 8 months ago

Actually, found the solution -- set names should be written without spaces or specific characters, like -/+ Found here in issue (https://github.com/hms-dbmi/UpSetR/issues/166)