当前位置:网站首页>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)
边栏推荐
- Cache processing scheme in high concurrency scenario
- SAP ui5 beginner tutorial 19 - SAP ui5 data types and complex data binding
- SAML2.0 笔记(一)
- [JS reverse series] analysis of a customs publicity platform
- Common means of modeling: aggregation
- 使用 useDeferredValue 进行异步渲染
- GB/T-2423. XX environmental test documents, including the latest documents
- 2022-2028 global human internal visualization system industry research and trend analysis report
- Verilog 时序控制
- 2022 low voltage electrician test question simulation test question bank simulation test platform operation
猜你喜欢

OSPF LSA message parsing (under update)

Mmsegmentation series training and reasoning their own data set (3)
![[JVM] detailed description of the process of creating objects](/img/6e/0803b6b63c48337985faae8d5cbe1a.png)
[JVM] detailed description of the process of creating objects

C shallow copy and deep copy

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

QT environment generates dump to solve abnormal crash

Mongodb non relational database

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

STM32__ 05 - PWM controlled DC motor

About DNS
随机推荐
Qualcomm platform wifi-- WPA_ supplicant issue
Verilog 过程赋值 区别 详解
2022 low voltage electrician test question simulation test question bank simulation test platform operation
Basic 01: print string
Unit · elementary C # learning notes
表单自定义校验规则
Which kind of sports headphones is easier to use? The most recommended sports headphones
Feature query of hypergraph iserver rest Service
PMP personal sprint preparation experience
QT实现界面跳转
批量检测url是否存在cdn—高准确率
Share the basic knowledge of a common Hongmeng application
Systemserver service and servicemanager service analysis
PHP notes - use Smarty to set public pages (include, if, else, variable settings)
2022-2028 global human internal visualization system industry research and trend analysis report
GB/T-2423. XX environmental test documents, including the latest documents
2022-2028 global aluminum beverage can coating industry research and trend analysis report
Connected block template and variants (4 questions in total)
How to develop digital collections? How to develop your own digital collections
V-model of custom component