quadbio / VoxHunt

VoxHunt: Resolving human brain organoid heterogeneity through single-cell genomic comparison to spatial brain maps
https://quadbio.github.io/VoxHunt/
MIT License
41 stars 5 forks source link

How to display the color bar of correlation? #6

Closed RUSTHONG closed 3 years ago

RUSTHONG commented 3 years ago

Hey, I think this package is an excellent work! But I had some problem when I plotted spatial similarity maps. I couldn't find any parameter explaining the color of correlation. I need a color bar to tell other people which color means low correlation and which color means high correlation, like this:

微信图片_20210205110841

I'm looking forward to your response. Thank you!

joschif commented 3 years ago

Hi @RUSTHONG,

In the plot_map() function in sagittal view, this can be controlled with the show_legend parameter. In the most recent version, this is per default set to TRUE and output something like this:

image

Unfortunately, I forgot to enable it in the coronal view so it only shows the structure colors. However the color scale should be the same as in sagittal view. I'll eneble it in a future version, thanks for the reminder.

Cheers, Jonas

RUSTHONG commented 3 years ago

Oh, I know how to do it now. Thank you again!