Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

An example Analysis of drawing Wayne Diagram in R language

Shulou Source: shulou.com Published: 2022-06-01 22:12:26 10月04日 Update

R language drawing Wayne diagram example analysis, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.

Wayne diagram is a visualization method used to show the intersection and differences between different groups of data. For example, we have three sets of data, which are Ameme Bpeng C. The data in An is 1, 2, 2, 3. The data in B is 2pm 3pm 4. The data in C is 3pm 4pm 5,. Then AB has two intersections, BC has two intersections, AC has one intersection, and ABC has one intersection. So showing it with the Wayne diagram is the following effect.

Image.png

There are five packages that draw Wayne diagram in R language. They are

VennDiagramggvennggVennDiagramyyplot ggvenn () function ChIPseeker vennplot () function

Yyplot can refer to https://guangchuangyu.github.io/cn/2018/04/ggvenn/ to draw Wayne diagram.

Each circle of the Wayne diagram seems to be drawn in proportion to the actual data.

The circles drawn by the other Wayne diagrams are all the same size.

ChIPseeker can refer to https://mp.weixin.qq.com/s/MqpfgkMJSFj0pYwcEjV9kQ? to draw Wayne diagram.

Code

X1

Tags: Data Wayne intersection color help language two code function parameter format line transparency reference generation example analysis clear personal between Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Apple MySQL Shulou Information Shulou Tech Info