Its a little tricky to install this Venn diagram package. To do so, follow the below steps:
(1) Type setRepositories() in the R command console.
(2) Select R-forge, rforge.net, CRAN extras, BioC software, and BioC extras in the pop-up window and then press OK. I just have all of them selected.
(3) Install Vennerable package by typing install.packages("Vennerable", repos="http://R-Forge.R-project.org")
(4) Install the dependencies by typing install.packages(c("graph", "RBGL"), dependencies=TRUE).
This should have you up and running. The R Venerable help page can be accessed here, but its really not that useful. Below are some examples you can run as a bit of a primer. The trickiest thing to learn is how the weights are assigned in the Venn plot. As a general rule of thumb, if SetNames=c("A","B","C"), then Weight=c(notABC, A, B, AB, C, AC, BC, ABC). Its a bit frustrating to have no control over general plotting details such as color, label location, and rotation, but I guess I can live with these things for now. Also of note, the plotting algorithm tries its best to converge at a Venn diagram that fits circle areas to your data, but if for some reason it can't there is no guarantee the plot will match your data, so double check things thoroughly! Here are some examples below. If you know of some new or better options out there, please let me know in the comments section. Enjoy.
The output looks like this:
The dependency is too complex, I am not sure is there any guy will use it. It would be nice if we can make the dependency more slight.
ReplyDeleteThe dependency is too complex, I am not sure is there any guy will use it. It would be nice if we can make the dependency more slight.
ReplyDelete