当前位置:网站首页>Intersection of Venn graph
Intersection of Venn graph
2022-07-02 03:06:00 【youngleeyoung】
# intersection
my_disease_markers_for_AM3=openxlsx::read.xlsx("G:/silicosis/sicosis/Supplementary Table.xlsx",
sheet = "Sheet1")
head(my_disease_markers_for_AM3)
library(dplyr)
disease_markers_for_AM3=list()
for (eachcolumn in colnames(my_disease_markers_for_AM3)) {
disease_markers_for_AM3[[paste0(eachcolumn)]]=my_disease_markers_for_AM3[,eachcolumn] %>%
na.omit() %>% unique()
}
head(disease_markers_for_AM3)
library(VennDiagram)#https://www.jianshu.com/p/b5a4c40c3a33
venn_list <- list(AM3_Silicosis = disease_markers_for_AM3[[1]],
MoAM_GSE184854 = disease_markers_for_AM3[[2]])
venn.diagram(venn_list, filename = 'venn2_for_humanPF-Silicosi-Bleomycin.png', imagetype = 'png',
fill = c('red', 'blue'), alpha = 0.50, cat.col = rep('black', 2),
col = 'black', cex = 1.3, fontfamily = 'serif',
cat.cex = 1.3, cat.fontfamily = 'serif')
getwd()
# Continue with the above 4 Groups as an example , Intersecting elements between groups get
inter <- get.venn.partitions(venn_list)
for (i in 1:nrow(inter)) inter[i,'values'] <- paste(inter[[i,'..values..']], collapse = ', ')
write.table(inter[-c(5, 6)], 'venn4_inter.txt', row.names = FALSE, sep = '\t', quote = FALSE)
for (i in 1:nrow(inter)) inter[i,'values'] <- paste(inter[[i,'..values..']], collapse = ', ')
openxlsx::write.xlsx(inter[-c(5, 6)], 'venn4_inter.xlsx', row.names = FALSE, sep = ',', quote = FALSE)
边栏推荐
- Which brand of sports headset is better? Bluetooth headset suitable for sports
- Learning notes of software testing -- theoretical knowledge of software testing
- 结婚后
- tarjan2
- GB/T-2423. XX environmental test documents, including the latest documents
- [JSON] gson use and step on the pit
- 寻找重复数[抽象二分/快慢指针/二进制枚举]
- 使用开源项目【Banner】实现轮播图效果(带小圆点)
- Share the basic knowledge of a common Hongmeng application
- 小米青年工程师,本来只是去打个酱油
猜你喜欢

超图iServer rest服务之feature查询

2022-2028 global human internal visualization system industry research and trend analysis report

Delphi xe10.4 installing alphacontrols15.12

2022-2028 global soft capsule manufacturing machine industry research and trend analysis report
![[staff] pitch representation (treble clef | C3 60 ~ B3 71 pitch representation | C4 72 pitch representation | C5 84 pitch representation)](/img/e0/05890eafdb291c5aaff78cc241f455.jpg)
[staff] pitch representation (treble clef | C3 60 ~ B3 71 pitch representation | C4 72 pitch representation | C5 84 pitch representation)

Special symbols in SAP ui5 data binding syntax, and detailed explanation of absolute binding and relative binding concepts

A list of job levels and salaries in common Internet companies. Those who have conditions must enter big factories. The salary is really high
![Find duplicates [Abstract binary / fast and slow pointer / binary enumeration]](/img/9b/3c001c3b86ca3f8622daa7f7687cdb.png)
Find duplicates [Abstract binary / fast and slow pointer / binary enumeration]

What kind of good and cost-effective Bluetooth sports headset to buy

Connected block template and variants (4 questions in total)
随机推荐
GB/T-2423. XX environmental test documents, including the latest documents
What are the common proxy servers and what are the differences?
C shallow copy and deep copy
Leetcode question brushing (10) - sequential question brushing 46 to 50
Share the basic knowledge of a common Hongmeng application
Face++ realizes face detection in the way of flow
Discussion on related configuration of thread pool
verilog REG 寄存器、向量、整数、实数、时间寄存器
AcWing 245. Can you answer these questions (line segment tree)
What kind of good and cost-effective Bluetooth sports headset to buy
Mmsegmentation series training and reasoning their own data set (3)
PHP notes - use Smarty to set public pages (include, if, else, variable settings)
tarjan2
流线线使用阻塞还是非阻塞
Gradle 笔记
Basic 01: print string
What is hybrid web containers for SAP ui5
STM32__05—PWM控制直流电机
Stdref and stdcref
Verilog 时序控制