Simple method for generating a CATMAID URL pointing to a particular skeleton node or connector
simple_catmaid_url(dfrow, skid, sid0 = 5, zoom = 0, conn = FALSE, treenode_id = NULL, xyz_columns = c("x", "y", "z"))
| dfrow | Required; a single data frame row containing columns of xyz coordinates and (optionally) |
|---|---|
| skid | Required; the skid of the active skeleton |
| sid0 | The ID of the desired stack mirror on your CATMAID server. Found by generating a URL within CATMAID and picking out the |
| zoom | The desired zoom level ( |
| conn | Whether or not to specify an active connector ID in the URL. Defaults to |
| treenode_id | A specific treenode ID to set as the active node. Useful if you are generating URLs for nodes postsynaptic to a particular skeleton. Will be ignored if |
| xyz_columns | A character vector specifying the names of the columns containing x, y, and z coordinates. Defaults to |
A character string with the CATMAID URL.
Requires the catmaid.server option to be set in .Rprofile