Closed jonrot1906 closed 5 months ago
Hi @jonrot1906 sorry for the delay responding to this. I can reproduce, and we'll look into the problem.
Hi @jonrot1906, sorry this took so long for me to look into!
The problem seems to just be that the scale of the human atlas is so different to the other animal model atlases that the scale of the position needs to be much larger (it's in microns).
I've added an example script now in #40, but for ease, it's here:
import brainglobe_heatmap as bgh
values = dict( # scalar values for each region
SFG=1,
PrCG=2,
Ca=4,
Pu=10,
)
scene = bgh.heatmap(
values,
position=(100000, 100000, 100000),
thickness=1000,
atlas_name="allen_human_500um",
format="2D",
).show()
This produces:
N.B. The newest version of this atlas in BrainGlobe contains both hemispheres, so if you want to only plot one hemisphere, you'll have to use the hemisphere
parameter.
Describe the bug While creating plots for zebrafish and mice brains works perfectly for me, using bg-heatmaps with the "allen_human_500um" is an actual challenge. I only get a thin bar as results, but no plotted brain slice. Can you provide some info on how to use bg-heatmaps with the human bran atlas? Are there any differences?
To Reproduce
Screenshots