neuroarch.na.NeuroArch.add_neurotransmitter
- NeuroArch.add_neurotransmitter(neuron, neurotransmitters, data_sources=None)[source]
Add neurotransmitter data and link it to a neuron.
- Parameters:
neuron (models.Neuron or subclass) – An instance of Neuron class to which the neurotransmitters will be associated to
neurotransmitters (str or list of str) – The neurotransmitter(s) expressed by the neuron
data_sources (models.DataSource or list of models.DataSource (optional)) – The datasource of neurotransmitter data. If None, all neurotransmitter will have the same datasource of the Neuron. If specified, the size of the list must be the same as the size of neurotransmitters, and have one to one corresponsdence in the same order.