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

Invalid configuration of circular regions (holes are not supported) #72

Closed
BrokenSpaghetti02 opened this issue Jun 27, 2023 · 3 comments

Comments

@BrokenSpaghetti02
Copy link

The same type of problem was raised back in 2017 and it was not really solved. Here is the issue again:

Screenshot 2023-06-27 103629

Here is the information about the sets I'm using:

rnaseq_60k = {set of 60k genes}
rnaseq_40k = {set of 40k genes}
protein_coding = {set of genes involved in protein coding}

Note: rnaseq_40k is a subset of rnaseq_60k

@Irfan-Ahmad-byte
Copy link

Did you find the solution? If yes, then kindly share your solution here. Or please share your piece of code.

Thanks,

@konstantint
Copy link
Owner

There is no simple solution apart from inventing a new layout algorithm, which hasn't happened so far :)
There is a workaround, though - you may artificially inflate the intersection area either by temporarily adding the same element to all three sets, or using the venn3_unweighted with a tuned value of the subset_sizes vector.

@konstantint
Copy link
Owner

Version 1.1.0 (commit b9a34b0) introduces a new layout algorithm that should be capable of handling some of these corner cases better than the default one.

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

3 participants