Plotting eulerr::venn object conflicts with gplots
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.
Hm, let me think about this for a bit. It would require changing the output class of the function.
Cheers!
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?