| catmaid_parse_url | R Documentation |
Parse a CATMAID URL to extract parameters including xyz location
catmaid_parse_url(x)
x |
One or more catmaid urls |
A data.frame containing parsed parameters. The columns will be
named according to CATMAID's convention except for the x, y and z location
(named as such rather than xp, yp, zp as returned by CATMAID).
u=paste0("https://neuropil.janelia.org/tracing/fafb/v12/?pid=1&zp=177100&",
"yp=166068&xp=373086&tool=tracingtool&sid0=7&s0=1.000000")
catmaid_parse_url(u)
## Not run:
cpu=catmaid_parse_url(u)
n=read.neuron.catmaid(cpu$active_skeleton_id)
plot3d(n)
spheres3d(xyzmatrix(cpu), r=1000, col='magenta')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.