flywire_voxdims | R Documentation |
flywire_voxdims
returns the image voxel dimensions which
are normally used to scale between raw and nm coordinates.
flywire_voxdims(url = getOption("fafbseg.sampleurl"))
flywire_nm2raw(x, vd = flywire_voxdims())
flywire_raw2nm(x, vd = flywire_voxdims())
url |
Optional neuroglancer URL containing voxel size. Defaults to
|
x |
3D coordinates in any form compatible with |
vd |
The voxel dimensions in nm. Expert use only. Normally found automatically. |
relies on nat >= 1.10.4
For flywire_voxdims
A 3-vector
for flywire_raw2nm
and flywire_nm2raw
an Nx3 matrix of
coordinates
flywire_voxdims()
# ensure that we use default production flywire scene
with_segmentation('flywire', flywire_voxdims())
flywire_raw2nm(c(159144, 22192, 3560))
flywire_raw2nm('159144 22192 3560')
## Not run:
flywire_nm2raw(clipr::read_clip())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.