当前位置:网站首页>BEAUTIFUL GGPLOT VENN DIAGRAM WITH R
BEAUTIFUL GGPLOT VENN DIAGRAM WITH R
2022-07-02 09:41:00 【小宇2022】
if (!require(devtools)) install.packages("devtools")
devtools::install_github("gaospecial/ggVennDiagram")
library("ggVennDiagram")
library("ggVennDiagram")
set.seed(20190708)
genes <- paste("gene",1:1000,sep="")
x <- list(
A = sample(genes,300),
B = sample(genes,525),
C = sample(genes,440),
D = sample(genes,350)
)
# Default plot
ggVennDiagram(x)
if (!require(devtools)) install.packages("devtools")
devtools::install_github("gaospecial/ggVennDiagram")
library("ggVennDiagram")
library("ggVennDiagram")
set.seed(20190708)
genes <- paste("gene",1:1000,sep="")
x <- list(
A = sample(genes,300),
B = sample(genes,525),
C = sample(genes,440),
D = sample(genes,350)
)
ggVennDiagram(x, label_alpha = 0)
if (!require(devtools)) install.packages("devtools")
devtools::install_github("gaospecial/ggVennDiagram")
library("ggVennDiagram")
library("ggVennDiagram")
set.seed(20190708)
genes <- paste("gene",1:1000,sep="")
x <- list(
A = sample(genes,300),
B = sample(genes,525),
C = sample(genes,440),
D = sample(genes,350)
)
# Change category names
# Change the gradient fill color
ggVennDiagram(
x, label_alpha = 0,
category.names = c("Stage 1","Stage 2","Stage 3", "Stage4")
) +
ggplot2::scale_fill_gradient(low="blue",high = "yellow")
if (!require(devtools)) install.packages("devtools")
devtools::install_github("gaospecial/ggVennDiagram")
library("ggVennDiagram")
library("ggVennDiagram")
set.seed(20190708)
genes <- paste("gene",1:1000,sep="")
x <- list(
A = sample(genes,300),
B = sample(genes,525),
C = sample(genes,440),
D = sample(genes,350)
)
ggVennDiagram(x[1:3], label_alpha = 0)
if (!require(devtools)) install.packages("devtools")
devtools::install_github("gaospecial/ggVennDiagram")
library("ggVennDiagram")
library("ggVennDiagram")
set.seed(20190708)
genes <- paste("gene",1:1000,sep="")
x <- list(
A = sample(genes,300),
B = sample(genes,525),
C = sample(genes,440),
D = sample(genes,350)
)
ggVennDiagram(x[1:2], label_alpha = 0)
if (!require(devtools)) install.packages("devtools")
devtools::install_github("yanlinlin82/ggvenn")
library("ggvenn")
library("ggvenn")
set.seed(20190708)
genes <- paste("gene",1:1000,sep="")
x <- list(
A = sample(genes,300),
B = sample(genes,525),
C = sample(genes,440),
D = sample(genes,350)
)
# Default plot
ggvenn(x)
if (!require(devtools)) install.packages("devtools")
devtools::install_github("yanlinlin82/ggvenn")
library("ggvenn")
library("ggvenn")
set.seed(20190708)
genes <- paste("gene",1:1000,sep="")
x <- list(
A = sample(genes,300),
B = sample(genes,525),
C = sample(genes,440),
D = sample(genes,350)
)
# Change category names
# Change the fill color
names(x) <- c("Stage 1","Stage 2","Stage 3", "Stage4")
ggvenn(
x,
fill_color = c("#0073C2FF", "#EFC000FF", "#868686FF", "#CD534CFF"),
stroke_size = 0.5, set_name_size = 4
)
if (!require(devtools)) install.packages("devtools")
devtools::install_github("yanlinlin82/ggvenn")
library("ggvenn")
library("ggvenn")
set.seed(20190708)
genes <- paste("gene",1:1000,sep="")
x <- list(
A = sample(genes,300),
B = sample(genes,525),
C = sample(genes,440),
D = sample(genes,350)
)
ggvenn(
x, columns = c("Stage 1", "Stage 2", "Stage 3"),
stroke_size = 0.5
)
if (!require(devtools)) install.packages("devtools")
devtools::install_github("yanlinlin82/ggvenn")
library("ggvenn")
library("ggvenn")
set.seed(20190708)
genes <- paste("gene",1:1000,sep="")
x <- list(
A = sample(genes,300),
B = sample(genes,525),
C = sample(genes,440),
D = sample(genes,350)
)
ggvenn(
x, columns = c("Stage 1", "Stage 2"),
stroke_size = 0.5
)
边栏推荐
- Is it safe to open a stock account through the QR code of the securities manager? Or is it safe to open an account in a securities company?
- deepTools对ChIP-seq数据可视化
- Astparser parsing class files with enum enumeration methods
- Some suggestions for young people who are about to enter the workplace in the graduation season
- Solve the problem of data blank in the quick sliding page of the uniapp list
- What week is a date obtained by QT
- Order by injection
- RPA advanced (II) uipath application practice
- GGPlot Examples Best Reference
- How to Add P-Values onto Horizontal GGPLOTS
猜你喜欢
Tdsql | difficult employment? Tencent cloud database micro authentication to help you
抖音海外版TikTok:正与拜登政府敲定最终数据安全协议
基于Hardhat和Openzeppelin开发可升级合约(二)
R HISTOGRAM EXAMPLE QUICK REFERENCE
Tiktok overseas tiktok: finalizing the final data security agreement with Biden government
【云原生】2.5 Kubernetes 核心实战(下)
Skills of PLC recorder in quickly monitoring multiple PLC bits
Jinshanyun - 2023 Summer Internship
excel表格中选中单元格出现十字带阴影的选中效果
Develop scalable contracts based on hardhat and openzeppelin (II)
随机推荐
MTK full dump grab
Is the stock account given by qiniu business school safe? Can I open an account?
C#基于当前时间,获取唯一识别号(ID)的方法
R HISTOGRAM EXAMPLE QUICK REFERENCE
ren域名有价值吗?值不值得投资?ren域名的应用范围有哪些?
在连接mysql数据库的时候一直报错
Never forget, there will be echoes | hanging mirror sincerely invites you to participate in the opensca user award research
对毕业季即将踏入职场的年轻人的一点建议
Some things configured from ros1 to ros2
JS -- take a number randomly from the array every call, and it cannot be the same as the last time
PYQT5+openCV项目实战:微循环仪图片、视频记录和人工对比软件(附源码)
spritejs
MySQL linked list data storage query sorting problem
Multi line display and single line display of tqdm
How to Create a Nice Box and Whisker Plot in R
GGPlot Examples Best Reference
CentOS8之mysql基本用法
ros缺少xacro的包
Fabric.js 3个api设置画布宽高
The computer screen is black for no reason, and the brightness cannot be adjusted.