fafb_world_mapper
provides a low-level interface to map
coordinates based on the tem-services
API available from inside the
HHMI Janelia VPN. The hope is to make this service generally available in
due course.
End users are not presently expected to use this directly. Instead they
should use xform_brain
to transform data. See examples.
fafb_world_mapper( xyz, from, to, baseurl = paste0("http://tem-services.int.janelia.org:8080/render-ws/v1/", "owner/flyTEM/project/FAFB00/stack"), method = c("single", "many"), ... )
xyz | xyz coordinates (in nm) |
---|---|
from, to | Assemblies to convert between e.g. |
baseurl | path to Janelia |
method | Whether to try and convert multiple coordinates at once. Defaults to 'single'. The 'many' method currently appears fragile and not much faster. |
... | Additional arguments (currently unused) |
if (FALSE) { FAFB12.surf=xform_brain(JFRC2013.surf, sample = JFRC2013, reference = FAFB12) FAFB13.surf=xform_brain(JFRC2013.surf, sample=JFRC2013, ref=FAFB13) # current assembly FAFB.surf=xform_brain(JFRC2013.surf, sample=JFRC2013, ref=FAFB) }