copy_tags_connectors: Copy the tag / connector info from a catmaid neuron to a new...

View source: R/catmaid_nat.R

copy_tags_connectorsR Documentation

Copy the tag / connector info from a catmaid neuron to a new neuron

Description

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.

Usage

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)

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.

Value

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


jefferis/rcatmaid documentation built on Aug. 16, 2022, 8:52 p.m.