How to fetch volume dimensions (in nm)#

To fetch the dimensions of the entire brain neuropil (in nm):

boundingbox(FAFB14NP.surf)

Note - Once you know the x dimension of the full brain neuropil in nm, you can then generate a scale bar in um over a length that makes sense for your plot (e.g., 50 or 100 um)

Note - the brain used for the connectome is dehydrated, meaning that it is slightly smaller than what you would expect with a hydrated brain (e.g., confocal stack).

To fetch the dimensions of a specific brain region (e.g., the left lobula):

x = subset(FAFB14NP.surf, "LO_L")
boundingbox(x)

Note - do not assume that the x y z axes of the boundingbox() correspond to what you think are the x y z regions of your brain volume of interest. One way to get around this is to plot both the full neuropil and your region of interest to get a scale bar, and then adjust that scale bar to match your region of interest alone.

Scale bar, 100um

How to other volume dimensions#

To fetch the dimensions of each voxel space:

voxdims(FAFB14NP.surf)

To fetch the dimensions of the entire brain neuropil in voxel space:

dim(FAFB14NP.surf)

https://natverse.org/elmr/reference/FAFB.html