complex-upset icon indicating copy to clipboard operation
complex-upset copied to clipboard

Define one or two groups to be compared to all other groups

Open SebastianHesse opened this issue 10 months ago • 1 comments

I am using complexUpset to compare large groups of genes for overlaps. For a specific analysis, it would be great if I could define one or two groups (eg groups of disease causing genes) that should be compare to all other groups in the dataframe (columns) .

I found that one way would be to define all intersections with: eg: intersections=list( 'Comedy', 'Drama', c('Comedy', 'Romance')) But as I have a lot of different groups (>10), this solution would create the need to define a of of different intersections.

Any advise how to solve this elegantly would be much appreciated.

Thank you!

SebastianHesse avatar Apr 23 '24 06:04 SebastianHesse

I resolved the issue with simply defining all the comparisons of interest like this: intersections=list( c('SCN', "mrn.Up"), # 2 c('SCN', "mrn.Dn"), # 4
c('SCN', "mrn.UpDn")

Thanks for your amazing package!

SebastianHesse avatar Apr 24 '24 00:04 SebastianHesse