当前位置:网站首页>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 kind of sports headphones is easier to use? The most recommended sports headphones
- Stdref and stdcref
- Realize the code scanning function of a custom layout
- Ten minutes will take you in-depth understanding of multithreading - multithreaded teamwork: synchronous control
- Feature query of hypergraph iserver rest Service
- 2022-2028 global aluminum beverage can coating industry research and trend analysis report
- Multi threaded query, double efficiency
- Calculation of page table size of level 2, level 3 and level 4 in protection mode (4k=4*2^10)
- Baohong industry | four basic knowledge necessary for personal finance
- [staff] pitch representation (treble clef | C3 60 ~ B3 71 pitch representation | C4 72 pitch representation | C5 84 pitch representation)
猜你喜欢

跟着CTF-wiki学pwn——ret2shellcode

Delphi xe10.4 installing alphacontrols15.12

Xiaomi, a young engineer, was just going to make soy sauce

Remote connection to MySQL under windows and Linux system

2022-2028 global nano abrasive industry research and trend analysis report

高并发场景下缓存处理方案

Which kind of sports headphones is easier to use? The most recommended sports headphones

批量检测url是否存在cdn—高准确率

The capacity is upgraded again, and the new 256gb large capacity specification of Lexar rexa 2000x memory card is added

Cache processing scheme in high concurrency scenario
随机推荐
[JS reverse series] analysis of a customs publicity platform
Ten minutes will take you in-depth understanding of multithreading - multithreaded teamwork: synchronous control
[JVM] detailed description of the process of creating objects
Verilog 避免 Latch
V-model of custom component
2022-2028 global wood vacuum coating machine industry research and trend analysis report
What is hybrid web containers for SAP ui5
Just a few simple steps - start playing wechat applet
Après le mariage
New programmer magazine | Li Penghui talks about open source cloud native message flow system
JS introduction < 1 >
Actual battle of financial risk control - under Feature Engineering
Discussion on related configuration of thread pool
Form custom verification rules
Verilog 状态机
Systemserver service and servicemanager service analysis
What is the principle of bone conduction earphones and who is suitable for bone conduction earphones
Which brand of sports headset is better? Bluetooth headset suitable for sports
Connected block template and variants (4 questions in total)
QT实现界面跳转