Description Usage Arguments Details Note Author(s) References Examples
Plots a 2-, 3-, or 4-dimensional Venn plot depending on the number of input values. The user can specify values, labels for each circle-group and colors. If the vector is of length 3, a 2-d plot is produced. If the vector is of length 7, a 3-d plot is produced. If the vector is length 15, a 4-d plot is produced.
1 |
x |
for a 3-d plot, a numeric vector of length 7, with a permutation of the names c("001","010","011","100","101","110","111"). |
... |
Additional arguments accepted by plotVenn2d, plotVenn3d or plotVenn4d. |
The '00', '000', '0000' groups are not plotted, so 'percent' data will not add up to 100 percent on the graph.
It requires package grid to be installed, and can be plotted according to specified grid parameters.
Elliot Noma, Aliona Manvae
Original code: http://elliotnoma.wordpress.com/2011/02/09/venn-diagram/
Output file: http://elliotnoma.files.wordpress.com/2011/02/venndiagram.png
1 2 3 4 5 |
Loading required package: grid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.