当前位置:网站首页>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)
边栏推荐
- Unit · elementary C # learning notes
- What kind of good and cost-effective Bluetooth sports headset to buy
- Verilog 时序控制
- What is the principle of bone conduction earphones and who is suitable for bone conduction earphones
- 2022 hoisting machinery command examination paper and summary of hoisting machinery command examination
- 竞争与冒险 毛刺
- 流线线使用阻塞还是非阻塞
- How does proxy IP participate in the direct battle between web crawlers and anti crawlers
- Verilog 避免 Latch
- GB/T-2423.xx 环境试验文件,整理包括了最新的文件里面
猜你喜欢

New programmer magazine | Li Penghui talks about open source cloud native message flow system
![Find duplicates [Abstract binary / fast and slow pointer / binary enumeration]](/img/9b/3c001c3b86ca3f8622daa7f7687cdb.png)
Find duplicates [Abstract binary / fast and slow pointer / binary enumeration]

Feature query of hypergraph iserver rest Service

結婚後

Render header usage of El table

Jvm-01 (phased learning)

Verilog 状态机

浅谈线程池相关配置
![[staff] pitch representation (bass clef | C1 36 note pitch representation | C2 48 note pitch representation | C3 60 note pitch representation)](/img/98/956d8abbccceb1aae47e25825bc63d.jpg)
[staff] pitch representation (bass clef | C1 36 note pitch representation | C2 48 note pitch representation | C3 60 note pitch representation)

图扑软件通过 CMMI5 级认证!| 国际软件领域高权威高等级认证
随机推荐
V-model of custom component
实现一个自定义布局的扫码功能
2022-2028 global manual dental cleaning equipment industry research and trend analysis report
高并发场景下缓存处理方案
GB/T-2423. XX environmental test documents, including the latest documents
Multi threaded query, double efficiency
What are the characteristics of common web proxy IP
Verilog 避免 Latch
Divorce for 3 years to discover the undivided joint property, or
Realize the code scanning function of a custom layout
2022-2028 global encryption software industry research and trend analysis report
STM32__ 05 - PWM controlled DC motor
Addition without addition, subtraction, multiplication and division (simple difficulty)
Common means of modeling: aggregation
Pychart creates new projects & loads faster & fonts larger & changes appearance
What are the common proxy servers and what are the differences?
Which brand of running headphones is good? How many professional running headphones are recommended
JDBC details
只需简单几步 - 开始玩耍微信小程序
Actual battle of financial risk control - under Feature Engineering