R/catmaid_nat.R
copy_tags_connectors.Rd
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)
information will be copied from old -> new
whether to update the node ids (default TRUE
)
A new neuron containing tag and connector information from the old neuron and having the same class as the old neuron.
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.