The yellow highlighted codes just open blank RGL devices and not really do anything else. I'd appreciate it if you have any inputs for this.
What's interesting is that I was able to successfully execute the example provided in the R Documentation for the open_fafb_ngl function (as pasted below). I'm thinking there maybe something about the ovidns.fib.fafb that the open_fafb_ngl function couldn't work with.
u=paste0("https://fafb.catmaid.virtualflybrain.org/?pid=2&zp=131280&","yp=170014.98879622458&xp=426584.81386896875&tool=navigator&sid0=2&s0=-1")
# translate URL but don't open browser
open_fafb_ngl(u, open=FALSE)
# produce an x,y,z string to paste into Neuroglancer
open_fafb_ngl(u, coords.only=TRUE)
# translate URL converting from FAFB14 to FlyWire coordinates
# (only a small shift)
open_fafb_ngl(u, sample="FAFB14", reference="FlyWire", open=FALSE)
## Not run:
# copy CATMAID URL from clipboard and Neuroglancer coords to clipboard
clipr::write_clip(open_fafb_ngl(clipr::read_clip(), coords.only=TRUE))
# Open a location in MB peduncle with current preferred segmentation
open_fafb_ngl(c(433440, 168344, 131200))
# choose a particular segmentation (Google FAFB)
with_segmentation("20190805", open_fafb_ngl(c(433440, 168344, 131200),
zoomFactor=2))
# or FlyWire
with_segmentation("flywire", open_fafb_ngl(c(433440, 168344, 131200)))
# ... and translate FAFB14 to FlyWire coordinates
with_segmentation("flywire", open_fafb_ngl(c(433440, 168344, 131200),
sample="FAFB14", reference="FlyWire", zoomFactor=2))
# open a CATMAID URL in Neuroglancer
open_fafb_ngl(u)
# Set an existing scene URL (pointing to any old location) to act as
# the template for open_fafb_ngl
# nb the package sets one for you on startup if you haven't set yourself
options(fafbseg.sampleurl="https://<neuroglancerlurl>")
# Edit your R profile if you want to set a different default
usethis::edit_r_profile()
## End(Not run)
Really, really appreciate your help with this matter!
Regards,
Mike