Occasionally it happened to me that I needed to get some metadata information about the neuron that is kept in data.frame attribute. For example, I have a function that does action A if the neuron has soma, and action B if it doesn't. So far to achieve that I had to work around nlapply. I thought that including such metadata as attributes during iteration would be nice though. I.e.:
Occasionally it happened to me that I needed to get some metadata information about the neuron that is kept in data.frame attribute. For example, I have a function that does action A if the neuron has soma, and action B if it doesn't. So far to achieve that I had to work around
nlapply
. I thought that including such metadata as attributes during iteration would be nice though. I.e.: