Open Dooozy opened 1 week ago
Hi @Dooozy,
I definitely think you had the right idea setting extend = 'n'
and stretch = 0
and I'm also surprised by some of those cells on the far left being included in lineage 3. In general, however, I would advise against running Slingshot on a UMAP dimensionality reduction, as they are not easily reproducible. You could try PCA or other methods (I should note that Slingshot is not limited to 2 dimensions, so you can run it on, say, the top 10 PCs). Also, Louvain clustering can cause issues such as this, due to its imprecise nature. There aren't many, but there are still some cells from cluster 6 on the far left and that may be the problem.
Otherwise, just based on the shape of your data, I don't think there's any way you could find 3 lineages that make sense. It looks like a single arc of points, so I think 2 lineages (with a starting point in the middle) is the most that could make sense. This is also related to the clustering, and may be an indicator of over-clustering (more clusters lead to more spurious branching events).
Hope this helps! Kelly
Hi, Thank you for producing and maintaining this package, it gives me good insight of lineage trending. I set an initial cluster, but the endpoints of the lineage somehow fall outside the final cluster.
Here is my object in seurat cluster:![plot1](https://github.com/kstreet13/slingshot/assets/24467298/1b277a95-07f5-4072-b08b-4879adb2bb71)
I want the cluster 2 to be the root, then run the below code:
it did produce lineages that started in cluster 2, but the the curves are confusing:
Then I found my question may related to some optional arguments. I refer to #118 and run the below code:
the
SlingshotDataSet(sim)
is:Take lineage 3 for example. I think if I have 'stretch =0', the end of the curve would be the center of the cluster 6. When I run:
How can I make the trajectory end at the cluster 6 in lineage3? Could you please explain why is this happening? Thank you!