Functions to enable the mapping of connectors and tags between cognate FAFB v14 and v14-seg neurons, to help enable neuronal reconstruction using the partial auto-segmentation in v14-seg space
fafbseg_transfer_tags(new.neuron, old.neuron, offset = TRUE, search.range.nm = 1000, pid = 1, conn = NULL, pid2 = 1, conn2 = fafb_seg_conn(), ...) fafbseg_transfer_connectors(new.neuron, old.neuron, offset = FALSE, search.range.nm = 1000, links = TRUE, pid = 1, conn = NULL, pid2 = 1, conn2 = fafb_seg_conn(), ...)
new.neuron | a neuron object, or the skeleton ID of a neuron in v14 space |
---|---|
old.neuron | a neuron object, or the skeleton ID of a neuron in v14-seg space |
offset | whether or not to expect a displacement in space between the new and old neurons. If so, search.range.nm is used to find the nearest nodes to which to assign tags/connectors, within the radius it specifies |
search.range.nm | the maximum distance between points in the v14 and v14-seg skeleton, that is acceptable for the transfer ot tag/connector information. Not set to 0 be default to accept small variations in node position that might occur between the two tracing environments, due to tracer edit.s |
pid | project id for conn. Defaults to 1 |
conn | CATMAID connection object, see ?catmaid::catmaid_login for details |
pid2 | project id for conn2. Defaults to 1 |
conn2 | CATMAID connection object, see ?catmaid::catmaid_login for details |
... | methods passed to catmaid::catmaid_set_labels |
links | whether or not to link transferred connectors to post-pre synaptic sites on the neuron identified with the new.neuron argument |