pymaid.add_annotations¶
- pymaid.add_annotations(x, annotations, remote_instance=None)[source]¶
Add annotation(s) to a list of neuron(s).
- Parameters:
x –
Neurons to add new annotation(s) to. Can be either:
list of skeleton ID(s) (int or str)
list of neuron name(s) (str, exact match)
an annotation: e.g. ‘annotation:PN right’
CatmaidNeuron or CatmaidNeuronList object
annotations (list) – Annotation(s) to add to neurons.
remote_instance (CatmaidInstance, optional) – If not passed directly, will try using global.
- Returns:
Server response.
- Return type:
dict
See also
remove_annotations()
Delete given annotations from neurons.