How to draw Wayne Diagram in R-VennDiagram package
This article introduces how to draw Wayne diagram in R-VennDiagram package. The content is very detailed. Interested friends can refer to it for reference. I hope it can help you.
Once the data is available, Venn diagrams are often used to show overlapping relationships between data sets. The following is a brief introduction to the VennDiagram package in R language to draw Venn diagrams of datasets.
A package to install and import
install.packages("VennDiagram")library(grid)library(VennDiagram)
2 Use functions and parameters
All parameters are described at https://cran.r-project.org/web/packages/VennDiagram/VennDiagram.pdf,
You can see that there are many parameters, don't worry, the following examples will give common adjustment parameters and instructions.
3 Know the number of data sets and the number of overlaps (intersections)
2.1 Wayne Plot of Two Known Data Sets
#The size of the circle does not change according to the amount of data venn.plot