Get the number of nodes per skeleton
catmaid_get_node_count(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
An integer vector of node counts
This is actually a thin wrapper around the
catmaid_get_review_status
function, which returns the number
of reviewed and total nodes for one or more neurons. However this function
can efficiently return the number of nodes when there are duplicates in the
input list.
if (FALSE) {
catmaid_get_node_count("glomerulus DA2")
# NB handles repeated input efficiently
skids=catmaid_skids("glomerulus DA2 right")
catmaid_get_node_count(rep(skids,20))
}