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

Missing intersections when filtering 0 count groups #240

Open
HyprValent opened this issue Jan 6, 2023 · 1 comment
Open

Missing intersections when filtering 0 count groups #240

HyprValent opened this issue Jan 6, 2023 · 1 comment

Comments

@HyprValent
Copy link

HyprValent commented Jan 6, 2023

I'm trying to create a UpSet plot for a repertoire of 7 items.

However, I want to create the plot such that it plots all possible intersections with count >= 1.
I thought this would be accomplished by simply setting empty.intersections = "off", but this seems to cause a significant number of missing intersections that do not have a count of 0.
And if I try to set nintersects=NA with the empty.intersections='off', I get back almost all the missing intersections, but it still includes the intersections with a count of 0.

How can I fix this? I can't seem to find any information in the documentation.
Thank you!

@gavieira
Copy link

If you use empty.intersections = NULL, it should work.

I've been trying to incorporate UpSetR in a ShinyApp, and having to deal with NULL as a parameter is kinda awkward. Would it be possible to change this option to accept TRUE/FALSE/NA values?

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

No branches or pull requests

2 participants