Lock or unlock a CATMAID neuron reconstruction by adding or removing a 'locked' annotation to a set of skeleton IDs (skids). A locked neuron cannot be edited until it is unlocked.

catmaid_lock_neurons(skids, pid = 1, conn = NULL, ...)

catmaid_unlock_neurons(skids, pid = 1, conn = NULL, ...)



One or more numeric skeleton ids or a character vector defining a query (see catmaid_skids or examples for the syntax).


Project id (default 1)


A catmaid_connection objection returned by catmaid_login. If NULL (the default) a new connection object will be generated using the values of the catmaid.* package options as described in the help for catmaid_login.


Additional arguments passed to the catmaid_fetch function