当前位置:网站首页>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
)
边栏推荐
- Order by injection
- 可昇級合約的原理-DelegateCall
- mysql链表数据存储查询排序问题
- Cmake cross compilation
- 进入前六!博云在中国云管理软件市场销量排行持续上升
- HOW TO ADD P-VALUES ONTO A GROUPED GGPLOT USING THE GGPUBR R PACKAGE
- Pyqt5+opencv project practice: microcirculator pictures, video recording and manual comparison software (with source code)
- Tdsql | difficult employment? Tencent cloud database micro authentication to help you
- 念念不忘,必有回响 | 悬镜诚邀您参与OpenSCA用户有奖调研
- 数字化转型挂帅复产复工,线上线下全融合重建商业逻辑
猜你喜欢

Always report errors when connecting to MySQL database

基于Hardhat和Openzeppelin开发可升级合约(一)

TDSQL|就业难?腾讯云数据库微认证来帮你

数字化转型挂帅复产复工,线上线下全融合重建商业逻辑

6. Introduce you to LED soft film screen. LED soft film screen size | price | installation | application

Esp32 stores the distribution network information +led displays the distribution network status + press the key to clear the distribution network information (source code attached)

How to Visualize Missing Data in R using a Heatmap

预言机链上链下调研

PLC-Recorder快速监控多个PLC位的技巧

RPA进阶(二)Uipath应用实践
随机推荐
liftOver进行基因组坐标转换
Is the stock account given by qiniu business school safe? Can I open an account?
程序员成长第六篇:如何选择公司?
Astparser parsing class files with enum enumeration methods
What week is a date obtained by QT
Principe du contrat évolutif - delegatecall
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?
C#基于当前时间,获取唯一识别号(ID)的方法
Bedtools tutorial
GGPUBR: HOW TO ADD ADJUSTED P-VALUES TO A MULTI-PANEL GGPLOT
GGHIGHLIGHT: EASY WAY TO HIGHLIGHT A GGPLOT IN R
CentOS8之mysql基本用法
预言机链上链下调研
基于Hardhat和Openzeppelin开发可升级合约(二)
What is the relationship between digital transformation of manufacturing industry and lean production
II Stm32f407 chip GPIO programming, register operation, library function operation and bit segment operation
Installation of ROS gazebo related packages
PX4 Position_Control RC_Remoter引入
亚马逊云科技 Community Builder 申请窗口开启
原生方法合并word
