Cargando…
ggVennDiagram: An Intuitive, Easy-to-Use, and Highly Customizable R Package to Generate Venn Diagram
Venn diagrams are widely used diagrams to show the set relationships in biomedical studies. In this study, we developed ggVennDiagram, an R package that could automatically generate high-quality Venn diagrams with two to seven sets. The ggVennDiagram is built based on ggplot2, and it integrates the...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Frontiers Media S.A.
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8452859/ https://www.ncbi.nlm.nih.gov/pubmed/34557218 http://dx.doi.org/10.3389/fgene.2021.706907 |
_version_ | 1784570159964356608 |
---|---|
author | Gao, Chun-Hui Yu, Guangchuang Cai, Peng |
author_facet | Gao, Chun-Hui Yu, Guangchuang Cai, Peng |
author_sort | Gao, Chun-Hui |
collection | PubMed |
description | Venn diagrams are widely used diagrams to show the set relationships in biomedical studies. In this study, we developed ggVennDiagram, an R package that could automatically generate high-quality Venn diagrams with two to seven sets. The ggVennDiagram is built based on ggplot2, and it integrates the advantages of existing packages, such as venn, RVenn, VennDiagram, and sf. Satisfactory results can be obtained with minimal configurations. Furthermore, we designed comprehensive objects to store the entire data of the Venn diagram, which allowed free access to both intersection values and Venn plot sub-elements, such as set label/edge and region label/filling. Therefore, high customization of every Venn plot sub-element can be fulfilled without increasing the cost of learning when the user is familiar with ggplot2 methods. To date, ggVennDiagram has been cited in more than 10 publications, and its source code repository has been starred by more than 140 GitHub users, suggesting a great potential in applications. The package is an open-source software released under the GPL-3 license, and it is freely available through CRAN (https://cran.r-project.org/package=ggVennDiagram). |
format | Online Article Text |
id | pubmed-8452859 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | Frontiers Media S.A. |
record_format | MEDLINE/PubMed |
spelling | pubmed-84528592021-09-22 ggVennDiagram: An Intuitive, Easy-to-Use, and Highly Customizable R Package to Generate Venn Diagram Gao, Chun-Hui Yu, Guangchuang Cai, Peng Front Genet Genetics Venn diagrams are widely used diagrams to show the set relationships in biomedical studies. In this study, we developed ggVennDiagram, an R package that could automatically generate high-quality Venn diagrams with two to seven sets. The ggVennDiagram is built based on ggplot2, and it integrates the advantages of existing packages, such as venn, RVenn, VennDiagram, and sf. Satisfactory results can be obtained with minimal configurations. Furthermore, we designed comprehensive objects to store the entire data of the Venn diagram, which allowed free access to both intersection values and Venn plot sub-elements, such as set label/edge and region label/filling. Therefore, high customization of every Venn plot sub-element can be fulfilled without increasing the cost of learning when the user is familiar with ggplot2 methods. To date, ggVennDiagram has been cited in more than 10 publications, and its source code repository has been starred by more than 140 GitHub users, suggesting a great potential in applications. The package is an open-source software released under the GPL-3 license, and it is freely available through CRAN (https://cran.r-project.org/package=ggVennDiagram). Frontiers Media S.A. 2021-09-07 /pmc/articles/PMC8452859/ /pubmed/34557218 http://dx.doi.org/10.3389/fgene.2021.706907 Text en Copyright © 2021 Gao, Yu and Cai. https://creativecommons.org/licenses/by/4.0/This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms. |
spellingShingle | Genetics Gao, Chun-Hui Yu, Guangchuang Cai, Peng ggVennDiagram: An Intuitive, Easy-to-Use, and Highly Customizable R Package to Generate Venn Diagram |
title | ggVennDiagram: An Intuitive, Easy-to-Use, and Highly Customizable R Package to Generate Venn Diagram |
title_full | ggVennDiagram: An Intuitive, Easy-to-Use, and Highly Customizable R Package to Generate Venn Diagram |
title_fullStr | ggVennDiagram: An Intuitive, Easy-to-Use, and Highly Customizable R Package to Generate Venn Diagram |
title_full_unstemmed | ggVennDiagram: An Intuitive, Easy-to-Use, and Highly Customizable R Package to Generate Venn Diagram |
title_short | ggVennDiagram: An Intuitive, Easy-to-Use, and Highly Customizable R Package to Generate Venn Diagram |
title_sort | ggvenndiagram: an intuitive, easy-to-use, and highly customizable r package to generate venn diagram |
topic | Genetics |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8452859/ https://www.ncbi.nlm.nih.gov/pubmed/34557218 http://dx.doi.org/10.3389/fgene.2021.706907 |
work_keys_str_mv | AT gaochunhui ggvenndiagramanintuitiveeasytouseandhighlycustomizablerpackagetogeneratevenndiagram AT yuguangchuang ggvenndiagramanintuitiveeasytouseandhighlycustomizablerpackagetogeneratevenndiagram AT caipeng ggvenndiagramanintuitiveeasytouseandhighlycustomizablerpackagetogeneratevenndiagram |