I would like to make many venn diagrams in one plot in R. I tried using the venneuler packages (and using par(mfrow=c(2,1))), however i would like that a circle in one venn diagram has the same size in all diagrams - if the value is the same.
When I do
require(venneuler)
par(mfrow=c(2,1))
plot(venneuler(c(A=1, B=8, "A&B"=1)))
plot(venneuler(c(A=1, C=1, "A&C"=1)))
I get
But A in the first plot, should be same size as A and C in the second
venneuler:::plot.VennDiagram
by hand. Luckily, it's relatively short, and incorporating some cognizance ofxlim
andylim
shouldn't be too hard ... – r2evansvenneuler()
itself, which appears to be doing the auto-scaling for you. That function is s bit more work to modify. Perhaps you could contact the maintainer? It hasn't been touched in almost four years, though ... – r2evans