jokergoo / ComplexHeatmap

Make Complex Heatmaps
https://jokergoo.github.io/ComplexHeatmap-reference/book/
Other
1.29k stars 224 forks source link

Feature Request: Stacked Bars in Upset Plots #1196

Open danphillips28 opened 1 month ago

danphillips28 commented 1 month ago

Hi! ComplexHeatmap is one of my favourites packages! Thanks so much.

I know you must be swamped but I'm really hoping one day you can allow for stacked bar plots in the upset plots, e.g. aes(fill=someFactor). I've recently had to switch to a different package for all my upsets to include this information but I much prefer working with ComplexHeatmap. Please consider it!

Thanks, Daniel

P.S Apologies if I've missed how to do this in the documentation, but I've looked a lot and not spotted it anywhere.

jokergoo commented 1 month ago

Em... I think if you send a matrix to anno_barplot(), it will be a stacked barplot.

UpSet(..., top_annotation = HeatmapAnnotation(..., foo = anno_barplot(your_matrix)))