Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sc30301 opened this issue Jun 9, 2024 · 1 comment
Open

Comments

@sc30301
Copy link

sc30301 commented Jun 9, 2024

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
Copy link
Collaborator

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

  • Consider adjusting k if running on a small dataset (e.g. the tutorial above)
  • Look at the diffusion maps to determine the overall number of trajectories
  • tweak values of t_list for each trajectory to make the trajectory longer / shorter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants