| nsoma | R Documentation |
Return the number of explicitly tagged somata in a (CATMAID) neuron
nsoma(x, ...) ## S3 method for class 'neuronlist' nsoma(x, ...) ## S3 method for class 'neuron' nsoma(x, ...) ## Default S3 method: nsoma(x, soma_label = "soma", ...)
x |
Objects to count somata e.g. one or more neurons or a specifier
passed to |
... |
Additional arguments, eventually passed by |
soma_label |
Character vector of one or more label names that identify somata. |
These functions can cope with loaded neuron objects or CATMAID skid
specifications (see catmaid_skids). Note that this function
will return 0 for any neuron that does not contain a tags$soma
entry, including regular neuron objects .
A named integer vector corresponding to the number of neurons
specified by x.
soma
nsoma(Cell07PNs)
data("AV4b1")
nsoma(AV4b1)
nsoma("ORN PNs")
## Not run:
nsoma(3486381)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.