Description Usage Arguments Details Value Examples
Draw the Venn diagram for 2 or 3 sets.
1 2 3 4 |
venn |
(Required) A |
slice |
(Optional) The names or the indices of the sets of interest.
Default is "all", which is for the cases the |
fill |
(Optional) Fill color of the sets. |
alpha |
(Optional) Opacity of the fill colors. Default is 0.5 in the range of (0, 0.5). |
thickness |
(Optional) Stroke size of the sets. |
This function is based on the packages 'ggplot2' and 'ggforce.' It
has been designed for 2 or 3 sets because Venn diagrams are terrible for
showing the interactions of 4 or more sets. If you need to visualize such
interactions, consider using setmap
.
The function returns the plot in ggplot2 style.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.