当前位置:网站首页>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
)
边栏推荐
- Research on and off the Oracle chain
- Solve the problem of data blank in the quick sliding page of the uniapp list
- Principe du contrat évolutif - delegatecall
- Digital transformation takes the lead to resume production and work, and online and offline full integration rebuilds business logic
- 6. Introduce you to LED soft film screen. LED soft film screen size | price | installation | application
- Attribute acquisition method and operation notes of C # multidimensional array
- The computer screen is black for no reason, and the brightness cannot be adjusted.
- R HISTOGRAM EXAMPLE QUICK REFERENCE
- CentOS8之mysql基本用法
- 解决uniapp列表快速滑动页面数据空白问题
猜你喜欢

ESP32 Arduino 引入LVGL 碰到的一些问题

在连接mysql数据库的时候一直报错

How to Add P-Values onto Horizontal GGPLOTS

How to Create a Nice Box and Whisker Plot in R

Esp32 audio frame esp-adf add key peripheral process code tracking

excel表格中选中单元格出现十字带阴影的选中效果

Flesh-dect (media 2021) -- a viewpoint of material decomposition

How to Create a Beautiful Plots in R with Summary Statistics Labels

Power Spectral Density Estimates Using FFT---MATLAB

HOW TO CREATE A BEAUTIFUL INTERACTIVE HEATMAP IN R
随机推荐
PowerBI中导出数据方法汇总
PgSQL string is converted to array and associated with other tables, which are displayed in the original order after matching and splicing
Thesis translation: 2022_ PACDNN: A phase-aware composite deep neural network for speech enhancement
原生方法合并word
Develop scalable contracts based on hardhat and openzeppelin (I)
Digital transformation takes the lead to resume production and work, and online and offline full integration rebuilds business logic
电脑无缘无故黑屏,无法调节亮度。
Resources reads 2D texture and converts it to PNG format
Map set assignment to database
map集合赋值到数据库
SSRF
亚马逊云科技 Community Builder 申请窗口开启
How to Create a Beautiful Plots in R with Summary Statistics Labels
MySql存储过程游标遍历结果集
TDSQL|就业难?腾讯云数据库微认证来帮你
The position of the first underline selected by the vant tabs component is abnormal
HOW TO CREATE AN INTERACTIVE CORRELATION MATRIX HEATMAP IN R
Some problems encountered in introducing lvgl into esp32 Arduino
Pyqt5+opencv project practice: microcirculator pictures, video recording and manual comparison software (with source code)
接口调试工具概论
