Advertisement

##R语言生信绘图之UpsetR绘制Venn Diagrams

阅读量:

本文的大部分内容参考此链接https://yq.aliyun.com/articles/241538

目前我知道UpsetR能够识别的数据类型共有两种

复制代码
    listinput <- list(one = c(1, 2, 3, 5, 7, 8, 11, 12, 13),
                       two = c(1, 2, 4, 5, 10),
                       three = c(1, 5, 6, 7, 8, 9, 10, 12, 13))
在这里插入图片描述

第二种格式仅凭交集的形式体现出来,并非以直观的方式呈现;具体来说,则是按照上述方法进行展示;此外,则需要对原有格式进行相应的调整与优化。

复制代码
    expressionInput <- c(one = 2, two = 1, three = 2, `one&two` = 1, `one&three` = 4, 
                     `two&three` = 1, `one&two&three` = 2) 
    New_Data

全部评论 (0)

还没有任何评论哟~