Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Stacked Bars in Upset Plots #1196

Open
danphillips28 opened this issue Jul 18, 2024 · 1 comment
Open

Feature Request: Stacked Bars in Upset Plots #1196

danphillips28 opened this issue Jul 18, 2024 · 1 comment

Comments

@danphillips28
Copy link

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
Copy link
Owner

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)))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants