-
Notifications
You must be signed in to change notification settings - Fork 57
allow for neurites to be attached to neurites #977
Conversation
I'm not sure why trunk angle stuff is breaking... I'm looking |
Test are passing but I'll add a little test for coverage later. Not convinced about the |
The idea that is presented here of traversing the trees to specify the heterogeneous types is in the right direction. However, our goal is towards a solution that doesn't mutate the Morphology or add extra properties just to serve a very specific use case. NeuroM Morphology should be seen as a "view" of the MorphIO Morphology, therefore it should be a very thin layer on top of it, adapting the data so that NeuroM can consume it without changing it significantly. Your approach makes perfect sense, however, I believe it is implemented in the wrong place. Instead, it should be during the feature calculation, where the careful handling of the subtrees is performed without changing the Morphology. |
I agree w/ @eleftherioszisis; I wonder if adding something to the Then, we can augment NeuroM traversals to check this property, and depending on the behavior we want (from a scientific point of view) the correct behavior is performed. To me, the code side of things is different from an agreement on what is required from a scientific point of view - once that is decided, we can hash out the details of the implementation. |
Imo it is still a view of MorphIO, and in fact, the current implementation is wrong. If SectionType changes along a branch in MorphIO, this definition is not correct anymore (thus this https://github.com/BlueBrain/NeuroR/blob/master/neuror/sanitize.py#L36). This PR provides a correct implementation of a Neurite object, as a particular view of what MorphIO represents. |
@mgeplf I don't understand why we would need heterogeneous? Do you agree with def of Neurite in my previous message? If yes, I don't see why we need to mix NeuriteTypes at all. |
@arnaudon: Yeah, that's the definition we need relax, as @lidakanari mentioned in #975 (comment):
|
So this is the correct definition, right? What do you mean relax? From what def to what def? |
ahhhh; I think I see where the confusion is coming in; I see a Thus, the neurite is heterogenous, and the relaxation is that they are no longer all the same type. Again, I'm not a scientist, just trying to understand. |
As @mgeplf says we will need to bring the |
So the real question is: can we call an axon emerging from a basal, a Neurite. If yes, my implementation is valid, if no, your heterogeneous proposal is valid. Let me enquire. |
I think there's more nuance to it: |
To me: |
Clearing up as for |
I totally agree with this.
Indeed, this is quite common depending on species, brain region. They are actually called ACD, Axon-Carrying Dendrites. Here is a small reference: In addition, @wvangeit, @mzbili can comment on this property with respect to functional implications. |
Yes, here is another ref: https://www.frontiersin.org/articles/10.3389/fncel.2019.00570/full in 'misbheaving neurons' Mickael told me he does not know if we can call such axon a Neurite, and does not care, as long as it can be differentiated from the other neurites. |
Figure 4 of the paper cited by lida is good in fact, to know how to model these guys. |
The question to me is; how many |
Hi, I am not an expert on ABD but I know it is a growing field. If I understand well, the major functional impact to take into account ABD in the models in the fact the the ABD present different electrophysiological properties than non-ABD. To be clear, it means that to model ABD one has to differenciates dendrite and axon but also to differenciates dendrite that carries axon from all the other dendrites (and have different ephys properties in the dendrite that carries axon than in other dendrites). I am not sure that is the kind of precision the models from BBP wants to have... |
If the |
I agree that these use cases should be handled different from regular dendrites and axons (so the So we have two points that need to be taken into account:
So to reply to @mgeplf we need to have two neurites: one axon (blue) starting from the dendrite, one dendrite (red) starting from the soma but excluding the axon. These are just suggestions from my side, I think the impact on morphometrics will be important but the impact on electrical models might be even more significant so let's see what they think. |
Hi, I think that scientifically it could be really interesting. In fact, some people have shown that AcD might present a bigger number of branches than non-AcD. Again, it depends on the precision we want for the models |
Isn't this exactly what this PR does? Remember, simulations don't need neurom, only morphological features depend on neurom. |
Just to clarify in case this is an issue of different definitions: Given that by definition a cell neurite starts from the soma, imho we need a dedicated neurite type that would reflect these compound neurites as a whole and not make a Morphology have separate neurite objects for each subtree. |
The only issue I see for neurom is for trunk angles, because angles between normal neurites and this axon don't make sense anymore. We could add a neurite attribute |
BlueBrain/MorphIO#361 so asc files don't allow for this axon bearing dendrites, right? |
As just noticed with @annakristinkaufmann on the SEU morphologies, we are a bit stuck with this: |
Could you please move that to an issue in NeuroR so that we can keep track of it? |
sovled here for mcar: BlueBrain/morphology-workflows#62 |
Proposal for #975