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

Plotting eulerr::venn object conflicts with gplots #78

Open
guusmt opened this issue Dec 14, 2020 · 3 comments
Open

Plotting eulerr::venn object conflicts with gplots #78

guusmt opened this issue Dec 14, 2020 · 3 comments

Comments

@guusmt
Copy link

guusmt commented Dec 14, 2020

First, thanks for making this amazing package - I've used it a a lot and it's great!

An issue that I've run into repeatedly, however, is that an internal plotting function of the eulerr package conflicts with a function from the gplots package with the same name. It's in function that is not exported to the namespace, however.

Hope you can fix this!

Reproducible example

require("eulerr")
require("gplots")
sets <- list(a = c("a", "b", "c", "d"),
             b = c("b", "c", "d", "e"))
venn_obj <- eulerr::venn(sets)
plot(venn_obj)
Error in drawVennDiagram(data = x, small = small, showSetLogicLabel = showSetLogicLabel,  : 
  gplots.drawVennDiagram: This internal function is used wrongly. Please call the function 'venn' with the same arguments, instead.
@jolars
Copy link
Owner

jolars commented Dec 14, 2020

Hm, let me think about this for a bit. It would require changing the output class of the function.

@guusmt
Copy link
Author

guusmt commented Dec 15, 2020

Cheers!

@jantusan
Copy link

Hello, I have run into the same problem, but I haven't purposefully loaded the package gplots. Is there a way to circumvent this error?

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