Given a neuron and a particular tag, this will return a data frame (optionally written to a CSV) with the node IDs, coordinates, and CATMAID URLs.
tagged_nodes(neuron = NULL, tag, node.id = NULL, node.direction = c("downstream", "upstream"), volume = NULL, fileout = NULL)
neuron | Required; a A CATMAID |
---|---|
tag | Required; a string specifying a tag. |
node.id | Optional; the ID of a node at which to cut the neuron, if only a portion of the neuron should be considered. |
node.direction | If a cut node is provided, which portion of the cut neuron to retain. Options are |
volume | Optional; a string specifying a FAFB neuropil to filter the tagged nodes. |
fileout | Optional; the path to a CSV file where the result should be written. |
A subset of the neuron's treenode data frame (d
) including only tagges nodes, with a CATMAID URL for each.
Requires the catmaid.server
option to be set in .Rprofile