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 transform the parameter to true parameter #19

Closed
pengyan19 opened this issue Jun 24, 2022 · 1 comment
Closed

How to transform the parameter to true parameter #19

pengyan19 opened this issue Jun 24, 2022 · 1 comment

Comments

@pengyan19
Copy link

For example, we used the admix_origin_no_mig model in 3 population, but i got the best AIC result which is [4.3764,4.0015,1.4507,0.0146,0.0117,1.3506],["nu1, nu2, nu3, T1, T2 , f"), why the f >0? and how did the T1,T2 transform to true time?

@dportik
Copy link
Owner

dportik commented Jun 24, 2022

Hi @pengyan19,
It looks like the upper bound and starting parameters were missing from these models. The f parameter needs to be bounded between 0 and 1 for the model to make sense. I added in the appropriate bounds in the dadi_Run_3D_Set.py script. If you download the updated version, you will need to re-run the admixture models using these updated settings. Apologies for any inconvenience, and thanks for posting this issue.

For transformations to true time and other parameters, please consult the dadi manual and the dadi user group.

@dportik dportik closed this as completed Jun 24, 2022
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