KlugerLab / GeneTrajectory

R implementation of GeneTrajectory
https://www.nature.com/articles/s41587-024-02186-3
50 stars 9 forks source link

How to determine optimum number of trajectories/diffusion times? #10

Open sc30301 opened 5 months ago

sc30301 commented 5 months ago

Hi,

I am wondering how to determine/evaluate the ideal N and t.list parameters in the ExtractGeneTrajectory step? For example, in the tutorial, N=3 and t.list = c(4,7,7) were chosen, but how were these values selected?

fra-pcmgf commented 5 months ago

Hi @sc30301,

Adjusting the parameters can be a bit tricky and require some trial and error. The easiest way is to run the tool in a Jupyter notebook and use the ExtractGeneTrajectoryWidget to tweak parameters. There is an example notebook at https://github.com/KlugerLab/GeneTrajectory-python/blob/main/notebooks/tutorial_human_myeloid.ipynb

Typically the steps might include