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

How to flip the long heatmap in dittoSeq::dittoHeatmap? #155

Open
denvercal1234GitHub opened this issue Aug 5, 2024 · 3 comments
Open

Comments

@denvercal1234GitHub
Copy link

Hi there,

Thanks for the tool!

I was hoping to flip my heatmap that has a lot of genes so that it has a horizontal orientation instead (not transpose). Do you have any pointer?

Thank you for your help.

@dtm2451
Copy link
Owner

dtm2451 commented Aug 5, 2024

Hmmm, nothing built-in for this, but you could achieve it by using data.out = TRUE and then both transposing the mat as well as flipping any of the inputs that target columns / rows to target the opposite (e.g. use the annotation_col-named output instead for annotation_row).

I hope this makes sense and is not too much of a hassle... This is something which I could work in via an input down the road, but I foresee there being some complications to automating it that I won't have time to take on during the next few weeks.

@dtm2451
Copy link
Owner

dtm2451 commented Aug 5, 2024

Just re-read and noticed that you'd added "(not transpose)", so unsure if I've answered your intended question?

@denvercal1234GitHub
Copy link
Author

I see. For now I will just flip plot by other editor after rotating the axis labels then. Thanks @dtm2451!

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