R/synapses_per_neuropil.R
synapses_per_neuropil.Rd
Count the number of synapses one or more neurons make in each neuropil volume
synapses_per_neuropil(skids = NULL, neurons = NULL, reference = c("FAFB", "FCWB"))
skids | A vector of skeleton IDs or an annotation query; required if |
---|---|
neurons | A neuron list; required if |
reference | The name of a reference brain to use. Currently accepts |
Returns a list containing one data frame for each neuron/skeleton ID provided. Each data frame will contain a row for each neuropil, with two columns indicating the number of outgoing and incoming synapses that the neuron has in that region.