HectorRDB / condiments

Trajectory inference across multiple conditions with condiments: differential topology, progression, differentiation, and expression
https://hectorrdb.github.io/condiments/
Other
16 stars 1 forks source link

topology test question #4

Closed lb15 closed 2 years ago

lb15 commented 2 years ago

Hi, thanks for a great package! I am using this package along with slingshot and tradeSeq to look at genes changing over pseudotime in 3 different conditions. We have some biological expectations, where 2 of our conditions we expect a "blocking" of differentiation. I have generated a slingshot object with 2 lineages and then performed the topology test to determine if i can fit a single trajectory or need separate trajectories. The topology test rejected the null, so I went on to fit three separate trajectories. I find that the trajectories appear very similar - as I would also expect from the UMAP representation, where we have reduced number of cells in one trajectory (the long U-shaped tail), but the overall structure is similar. The MST looks slightly different, but it may because I simplified the clusters for slingshot to just 4 clusters in order to get only 2, smooth lineages.

Screen Shot 2021-07-21 at 12 03 30 PM Screen Shot 2021-07-21 at 12 03 20 PM

I saw in the paper that it was important to reconcile separate trajectories in order to appropriately use progressionTest and downstream conditionTests. My question is, do these 3 separate trajectories appear similar enough to utilize the downstream tests or do I need to worry about the results of the topology test and MSTs?

Thanks!!

HectorRDB commented 2 years ago

Hi @lb15 Thanks for the feedbacks, they are greatly appreciated. We are still tinkering with the appropriate rejection threshold for the topologyTest. Because we lack a large variety of datasets, it's been hard deciding on a proper framework that would work with everyone.

In your case, I would imagine that the topologyTest rejects the null because the shortened orange lineage makes it very unstable to fit. Could you let me know the output of the test (test statistics and p-value) ? Therefore, in your case, I would definitely proceed with a common trajectory and conduct the analysis from step 2 (progressionTest and differentiationTest). Let me know if you have any other troubles, Best

HectorRDB commented 2 years ago

Closing after a month of inactivity. Feel free to re-open if the issue persists