当前位置:网站首页>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
)
边栏推荐
- spritejs
- Introduction to interface debugging tools
- 启牛商学院给的股票账户安全吗?能开户吗?
- Principe du contrat évolutif - delegatecall
- QT获取某个日期是第几周
- PowerBI中导出数据方法汇总
- 数字化转型挂帅复产复工,线上线下全融合重建商业逻辑
- 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?
- 解决uniapp列表快速滑动页面数据空白问题
- 2022年4月17日五心红娘团队收获双份喜报
猜你喜欢

微信小程序利用百度api达成植物识别

GGHIGHLIGHT: EASY WAY TO HIGHLIGHT A GGPLOT IN R

Never forget, there will be echoes | hanging mirror sincerely invites you to participate in the opensca user award research

亚马逊云科技 Community Builder 申请窗口开启

HOW TO CREATE AN INTERACTIVE CORRELATION MATRIX HEATMAP IN R

mysql链表数据存储查询排序问题

HOW TO EASILY CREATE BARPLOTS WITH ERROR BARS IN R

HOW TO ADD P-VALUES TO GGPLOT FACETS

Compilation errors and printout garbled problems caused by Chinese content in vs2019 code

From the perspective of attack surface, see the practice of zero trust scheme of Xinchuang
随机推荐
Tick Data and Resampling
制造业数字化转型和精益生产什么关系
Some things configured from ros1 to ros2
Jenkins installation
excel表格中选中单元格出现十字带阴影的选中效果
map集合赋值到数据库
ASTParser 解析含有emum 枚举方法的类文件的踩坑记
ren域名有价值吗?值不值得投资?ren域名的应用范围有哪些?
Seriation in R: How to Optimally Order Objects in a Data Matrice
ros gazebo相关包的安装
Order by injection
Multi line display and single line display of tqdm
Visualization of chip SEQ data by deeptools
spritejs
Compilation errors and printout garbled problems caused by Chinese content in vs2019 code
Eight sorting summaries
HOW TO ADD P-VALUES ONTO A GROUPED GGPLOT USING THE GGPUBR R PACKAGE
On April 17, 2022, the five heart matchmaker team received double good news
每月1号开始计算当月工作日
Homer forecast motif
