-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add scalebar to the graph #8
Comments
Just added a rudimentary function to add a scale bar. The information you need is available through downsample = 2
image_res = getSectionImage(69177654)$resolution
downloadImage(imageID = 69177654,
view = 'projection',
downsample = downsample) %>%
add_scale(image_res,downsample) Also works for cropped images downloadImage(imageID = 69177654,
view = 'projection',
downsample = downsample) %>%
centerImage(x = 6382,
y= 2744,
xProportions = c(.1,.1),
yProportions =c(.1,.1),
downsample = downsample) %>%
add_scale(image_res,downsample)
|
Thank you for the quick response, somehow I got an error from
|
Just forgot to push the all important black pixel. Should be fine now |
|
Hi, thank you for providing the opportunity to explore the mouse brain ISH atlas with coding!
I am wondering whether there is a way to add the scale bar into the graph?
Thanks!
The text was updated successfully, but these errors were encountered: