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

plot_donor_matrix function generate factor like color legend for numeric variables #25

Open
edg1983 opened this issue Oct 21, 2024 · 0 comments

Comments

@edg1983
Copy link

edg1983 commented Oct 21, 2024

Hi,

Thanks for the very useful tool!

After completing the tutorial, I'm now applying the method to an internal dataset where we want to test the association of factors with a numeric variable in our metadata. Everything works fine, but when I use the plot_donor_matrix function to generate the heatmap of donors with metadata annotations, the legend of my numeric variable is represented as if it were numeric, creating a large and unreadable legend. Please take a look at the example attached here.

It would be great if numeric variables were represented as color gradients instead. Is there a way to adjust this?

Thanks a lot!

image

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

1 participant