pymaid.remove_annotations¶
- pymaid.remove_annotations(x, annotations, remote_instance=None)[source]¶
Remove annotation(s) from a list of neuron(s).
- Parameters:
x –
Neurons to remove given annotation(s) from. 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
None
to remove annotation(s) from all neurons.
annotations (list) – Annotation(s) to remove from neurons.
remote_instance (CatmaidInstance, optional) – If not passed directly, will try using global.
- Returns:
Server response.
- Return type:
dict
See also
add_annotations()
Add given annotations to neuron(s).