多组数据交集的可视化
| var1 | var2 | var3 | var4 | var5 | var6 |
|---|---|---|---|---|---|
| col1 | col1 | txx | moive | xx | col5 |
| col2 | s | col1 | n | col5 | music |
| col3 | n | s | col1 | love | ada |
| s | ada | col3 | col10 | chri | n |
| col5 | love | xx | col2 | n | alpha |
针对多组数据找彼此间的交集(intersection),常用的R包:
1. 小于等于5 个集合:
VennDiagram包
使用教程:http://blog.qiubio.com:8080/archives/2603
或者使用其在线工具:http://bioinfogp.cnb.csic.es/tools/venny/index.html
2.大于5个集合:
UpSetR包
或者使用其在线工具:http://vcg.github.io/upset/
#Download
#Install the latest released version from CRAN
install.packages("UpSetR")
#Download the latest development code of UpSetR from GitHub using devtools with
devtools::install_github("hms-dbmi/UpSetR")

浙公网安备 33010602011771号