Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SebastianHesse opened this issue Apr 23, 2024 · 1 comment
Open

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

SebastianHesse opened this issue Apr 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@SebastianHesse
Copy link

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 SebastianHesse added the enhancement New feature or request label Apr 23, 2024
@SebastianHesse
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant