hemibrain_settags | R Documentation |
Set the x$tags field within a neuron object.
hemibrain_settags(x, i = 1, ...)
## S3 method for class 'neuron'
hemibrain_settags(x, i = 1, ...)
## S3 method for class 'neuronlist'
hemibrain_settags(x, ...)
hemibrain_seetags(x, ...)
## S3 method for class 'neuron'
hemibrain_seetags(x, ...)
## S3 method for class 'neuronlist'
hemibrain_seetags(x, ...)
hemibrain_carryover_tags(x, y)
metadata_add_tags(x)
x |
a |
i |
the index of the arguments provides through ..., to be used as the tag, if these arguments
are a vector of greater than length 1. Principally for use within method |
... |
named arguments with values, to be added to x$tags. E.e. using soma = TRUE,
will add |
y |
a neuron object, which is to receive tags from x, located at |
hemibrain_read_neurons
# Choose neurons
## In this case some antennal lobe local neurons
al.local.neurons = c("1702323386", "2068966051")
# Get neurons
neurons = hemibrain_read_neurons(al.local.neurons)
# Tag
neurons = hemibrain_settags(neurons, antennal.lobe = TRUE)
# See tags
hemibrain_seetags(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.