R/hemibrain_tags.R
hemibrain_tags.Rd
Set the x$tags field within a neuron object.
hemibrain_settags(x, i = 1, ...) # S3 method for neuron hemibrain_settags(x, i = 1, ...) # S3 method for neuronlist hemibrain_settags(x, ...) hemibrain_seetags(x, ...) # S3 method for neuron hemibrain_seetags(x, ...) # S3 method for 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 |
# \donttest{ # 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)#>#> Warning: 1 neurons cropped, split likely to be inaccurate for: 2068966051#> Warning: 1 neurons have no soma tagged, split could be inaccurate for: 2068966051#> Warning: No meta data could be retieved, returning NULL#> Error in neurons.flow[, ] <- hemibrain_get_meta(names(neurons.flow)): incorrect number of subscripts on matrix# Tag neurons = hemibrain_settags(neurons, antennal.lobe = TRUE)#> Error in hemibrain_settags(neurons, antennal.lobe = TRUE): object 'neurons' not found# See tags hemibrain_seetags(x)#> Error in hemibrain_seetags(x): object 'x' not found# }