当前位置:网站首页>Intersection vengraph
Intersection vengraph
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()
# Continuer comme indiqué ci - dessus 4 Exemple de groupe , L'élément d'intersection entre les groupes obtient
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)
边栏推荐
- Start a business
- A list of job levels and salaries in common Internet companies. Those who have conditions must enter big factories. The salary is really high
- tarjan2
- 2022-2028 global military computer industry research and trend analysis report
- 【JVM】创建对象的流程详解
- QT environment generates dump to solve abnormal crash
- [staff] pitch representation (treble clef | C3 60 ~ B3 71 pitch representation | C4 72 pitch representation | C5 84 pitch representation)
- How does proxy IP participate in the direct battle between web crawlers and anti crawlers
- AcWing 245. Can you answer these questions (line segment tree)
- Baohong industry | four basic knowledge necessary for personal finance
猜你喜欢
[road of system analyst] collection of wrong topics in enterprise informatization chapter
結婚後
Analysis of FLV packaging format
寻找重复数[抽象二分/快慢指针/二进制枚举]
Start a business
2022-2028 global aluminum beverage can coating industry research and trend analysis report
Which kind of sports headphones is easier to use? The most recommended sports headphones
Missing numbers from 0 to n-1 (simple difficulty)
Baohong industry | 6 financial management models at different stages of life
[staff] pitch representation (bass clef | C1 36 note pitch representation | C2 48 note pitch representation | C3 60 note pitch representation)
随机推荐
Verilog 时序控制
竞争与冒险 毛刺
GB/T-2423. XX environmental test documents, including the latest documents
Which brand of running headphones is good? How many professional running headphones are recommended
tarjan2
Stack - es - official documents - filter search results
【无标题】
The video number will not be allowed to be put on the shelves of "0 yuan goods" in the live broadcasting room?
Verilog 线型wire 种类
[untitled]
Qualcomm platform WiFi -- P2P issue (2)
Common means of modeling: aggregation
2022 hoisting machinery command examination paper and summary of hoisting machinery command examination
自定义组件的 v-model
Basic 01: print string
QT实现界面跳转
Baohong industry | 6 financial management models at different stages of life
Verilog 避免 Latch
2022-2028 global wood vacuum coating machine industry research and trend analysis report
verilog 并行块实现