Closed emdann closed 3 years ago
Hi @emdann thanks for your interest in our package and thanks for the reference implementation! We've discussed this and find it really nice addition to the package. I will start working on this - in the meantime, I have 2 questions:
Hi @michalk8, great to know. I was interested mostly in the coordinates, I am not too familiar with the other metrics from STEMNET. I think for visualization it would be ideal to have a permanent labelling of the position of the terminal states (like in the first plot above) when visualizing different columns of obs e.g. the pseudotime/latent time values.
@emdann I've implemented the function based on the code you've provided + added some functionality from STEMNET, the important one being the lineage order, as seen in the #459.
The code is currently on circular_projection
branch if you want to try it out, though the docs are already visible here: https://cellrank--459.org.readthedocs.build/en/459/gen_modules/cellrank.pl.circular_projection.html#cellrank.pl.circular_projection
Let me know if you have any comments/improvements.
Thanks a lot @michalk8! @emdann, would be really curious to hear your input/thoughts/what we can improve.
Hi @Marius1311 @michalk8. I've tried the circular_projection
function on my own dataset and it looks really neat. Question: is the lineage priming degree shown in log scale as in the STEMNET paper?
Hi @emdann I agree, @michalk8 did a really nice job here! Whether it's shown on a log scale is a question I think @michalk8 can answer better than me.
TBH I am not sure what the priming degree adds to the analysis. The absolute values between all lineages seems to be mostly dependent on the density of cells closer to a certain terminal states, which often has more to do with the sampling from the tissue of interest rather than the actual differentiation process. If taken for each lineage separately, the priming degree essentially corresponds to the absorption probabilities. In the STEMNET paper this metric was meaningful where they had a more uniform sampling of terminal states as cells were picked with FACS sorting. Does this make sense? Is there something crucial in the interpretation that I am missing?
Question: is the lineage priming degree shown in log scale as in the STEMNET paper?
It wasn't, but the latest commit fixes it.
TBH I am not sure what the priming degree adds to the analysis. The absolute values between all lineages seems to be mostly dependent on the density of cells closer to a certain terminal states, which often has more to do with the sampling from the tissue of interest rather than the actual differentiation process. If taken for each lineage separately, the priming degree essentially corresponds to the absorption probabilities. In the STEMNET paper this metric was meaningful where they had a more uniform sampling of terminal states as cells were picked with FACS sorting. Does this make sense? Is there something crucial in the interpretation that I am missing?
Thanks for pointing this out. The current intention was to include this just for completeness' sake.
If there any features you'd like to get added and/or any improvements for the plot, please let me know. Otherwise, I will merge this layer today.
Thanks @michalk8 for the great work here!
cr.tl.estimators
?cr.tl.kernels
?cr.ul.models
?cr.pl
?Hi, thanks a lot for this awesome toolkit! I was wondering whether you've looked into adding functionality to visualize absorption probabilities for more than 2 lineages on a circle/simplex, similarly to STEMNET.
I've found this very useful on my own dataset, adding the projection of probabilities to cartesian coordinates to
obsm
and plotting withsc.pl.embedding
.Output: