YuLab-SMU/ProjectYulab

customize upset plot with aplot

GuangchuangYu opened this issue · 6 comments

We can consider the upset plot as a composite plot, where each part can be drawn in the way that suits your needs, and then pieced together using aplot.

For example, the intersection part does not necessarily have to be drawn as the size of the intersection, it can be a feature of the intersection, such as the distribution of gene expression in the intersection. Of couse, for using aplot to create composite plots, you can also draw both the intersection size and feature together.

老师好,我是刚刚开始学习生信,在公众号看到了您对这个项目的介绍,我想尝试一下,但是因为是新手,没有任何经验,关于这个问题您有推荐参考的书目或者论文吗,谢谢老师

@GZZHY79 如果你是研究生的话,我想你应该清楚的。如果是本科生的话,那么提前体验。

如果比喻为学游泳,那就是直接扔水里,自己扑腾去吧。不要想着我学点什么,然后我就能干什么。趁早断了这念头。

要靠自己去探索,这个task,如果说有什么可以参考的话,那就是去看看upsetplot的代码。

We can consider the upset plot as a composite plot, where each part can be drawn in the way that suits your needs, and then pieced together using aplot.

For example, the intersection part does not necessarily have to be drawn as the size of the intersection, it can be a feature of the intersection, such as the distribution of gene expression in the intersection. Of couse, for using aplot to create composite plots, you can also draw both the intersection size and feature together.

This is really a good idea, and I will try to do some work on this topic.

another useful package is https://github.com/ropensci/BaseSet, which provides useful utilities for set operations.