complex-upset
complex-upset copied to clipboard
Define one or two groups to be compared to all other groups
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!
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!