Description Usage Arguments Value Examples
This function is based on the package 'pheatmap'. ggvenn
function is useful for 2-3 sets, if you need to show interactions between
many sets, you can show the presence/absence of the elements among all the
sets and cluster both the sets and the elements based on Jaccard distances.
1 2 3 4 |
venn |
(Required) A |
slice |
(Optional) The names or the indices of sets of interest. Default is "all", meaning the union will be calculated for all the sets. |
element_clustering |
(Optional) Boolean values determining if elements should be clustered. |
set_clustering |
(Optional) Boolean values determining if sets should be clustered. |
method |
(Optional) Clustering method used. Accepts the same values as
|
legend |
(Optional) Boolean values determining if the legend should be drawn. |
title |
(Optional) Title of the heatmap. |
element_fontsize |
(Optional) Font size of the elements. |
set_fontsize |
(Optional) Font size of the sets. |
Presence/absence heatmap of the sets.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.