This function is intended primarily for developer use as a way to copy over connector/tag information typically contained in CATMAID neurons but lost when nat functions are applied to transform a neuron.

copy_tags_connectors(new, old, update_node_ids = TRUE)

Arguments

new, old

information will be copied from old -> new

update_node_ids

whether to update the node ids (default TRUE)

Value

A new neuron containing tag and connector information from the old neuron and having the same class as the old neuron.

Details

Both connectors and tag information contain node ids. These may need to be mapped onto new node ids if these are not consistent between old and new neurons.