当前位置:网站首页>BEAUTIFUL GGPLOT VENN DIAGRAM WITH R
BEAUTIFUL GGPLOT VENN DIAGRAM WITH R
2022-07-02 11:49:00 【Xiaoyu 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
)
边栏推荐
- pgsql 字符串转数组关联其他表,匹配 拼接后原顺序展示
- How to Easily Create Barplots with Error Bars in R
- 对毕业季即将踏入职场的年轻人的一点建议
- 微信小程序利用百度api达成植物识别
- Attribute acquisition method and operation notes of C # multidimensional array
- Esp32 audio frame esp-adf add key peripheral process code tracking
- Programmer growth Chapter 6: how to choose a company?
- flutter 问题总结
- The position of the first underline selected by the vant tabs component is abnormal
- [visual studio 2019] create and import cmake project
猜你喜欢
How to Add P-Values onto Horizontal GGPLOTS
CentOS8之mysql基本用法
vant tabs组件选中第一个下划线位置异常
pgsql 字符串转数组关联其他表,匹配 拼接后原顺序展示
Skills of PLC recorder in quickly monitoring multiple PLC bits
What is the relationship between digital transformation of manufacturing industry and lean production
Wechat applet uses Baidu API to achieve plant recognition
Basic usage of MySQL in centos8
R HISTOGRAM EXAMPLE QUICK REFERENCE
数据分析 - matplotlib示例代码
随机推荐
GGPLOT: HOW TO DISPLAY THE LAST VALUE OF EACH LINE AS LABEL
mysql 基本语句
【多线程】主线程等待子线程执行完毕在执行并获取执行结果的方式记录(有注解代码无坑)
CMake交叉编译
在连接mysql数据库的时候一直报错
行业的分析
【2022 ACTF-wp】
RPA进阶(二)Uipath应用实践
Tiktok overseas tiktok: finalizing the final data security agreement with Biden government
电脑无缘无故黑屏,无法调节亮度。
RPA advanced (II) uipath application practice
map集合赋值到数据库
通讯录的实现(文件版本)
PLC-Recorder快速监控多个PLC位的技巧
CentOS8之mysql基本用法
Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer
PX4 Position_ Control RC_ Remoter import
进入前六!博云在中国云管理软件市场销量排行持续上升
Summary of data export methods in powerbi
GGHIGHLIGHT: EASY WAY TO HIGHLIGHT A GGPLOT IN R