当前位置:网站首页>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)
边栏推荐
- el-table的render-header用法
- Connected block template and variants (4 questions in total)
- MongoDB非關系型數據庫
- Gradle notes
- [staff] the direction of the symbol stem and the connecting line (the symbol stem faces | the symbol stem below the third line faces upward | the symbol stem above the third line faces downward | the
- Jointly developed by nailing, the exclusive functions of glory tablet V7 series were officially launched
- The capacity is upgraded again, and the new 256gb large capacity specification of Lexar rexa 2000x memory card is added
- 2022 low voltage electrician test question simulation test question bank simulation test platform operation
- C reflection practice
- Leetcode question brushing (10) - sequential question brushing 46 to 50
猜你喜欢

浅谈线程池相关配置

MMSegmentation系列之训练与推理自己的数据集(三)

结婚后

C reflection practice

2022-2028 global military computer industry research and trend analysis report

ZABBIX API creates hosts in batches according to the host information in Excel files
![[Chongqing Guangdong education] Sichuan University concise university chemistry · material structure part introductory reference materials](/img/ae/7edbdf55795400166650c795c8bd58.jpg)
[Chongqing Guangdong education] Sichuan University concise university chemistry · material structure part introductory reference materials

QT实现界面跳转

Verilog avoid latch

After marriage
随机推荐
Redis set command line operation (intersection, union and difference, random reading, etc.)
2022-2028 global military computer industry research and trend analysis report
Cache processing scheme in high concurrency scenario
Form custom verification rules
West digital decided to raise the price of flash memory products immediately after the factory was polluted by materials
Ten minutes will take you in-depth understanding of multithreading - multithreaded teamwork: synchronous control
buu_ re_ crackMe
Use usedeferredvalue for asynchronous rendering
2022-2028 global aluminum beverage can coating industry research and trend analysis report
2022 low voltage electrician test question simulation test question bank simulation test platform operation
超图iServer rest服务之feature查询
使用 useDeferredValue 进行异步渲染
JDBC details
旋转框目标检测mmrotate v0.3.1 学习模型
Jointly developed by nailing, the exclusive functions of glory tablet V7 series were officially launched
OSPF LSA message parsing (under update)
Rotating frame target detection mmrotate v0.3.1 learning model
結婚後
Face++ realizes face detection in the way of flow
CoordinatorLayout + TabLayout + ViewPager2(里面再嵌套一个RecyclerView),RecyclerView的滑动冲突解决