synapses_per_neuropil: Count the number of synapses one or more neurons make in each...

Description Usage Arguments Value

View source: R/synapses_per_neuropil.R

Description

Count the number of synapses one or more neurons make in each neuropil volume

Usage

1
2
synapses_per_neuropil(skids = NULL, neurons = NULL, reference = c("FAFB",
  "FCWB"))

Arguments

skids

A vector of skeleton IDs or an annotation query; required if neurons is not provided. Will only be used if neurons is not provided.

neurons

A neuron list; required if skids is not provided.

reference

The name of a reference brain to use. Currently accepts "FAFB", or "FCWB"; defaults to "FAFB".

Value

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.


fmlove/tracerutils documentation built on Oct. 22, 2018, 1:09 p.m.