-
Notifications
You must be signed in to change notification settings - Fork 14
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
running find_graphs with the initgraph parameter #43
Comments
Happy to take credit for developing it
To get identical results for repeated runs of
Lower scores correspond to graphs with better fits (the scores represent log likelihoods and should be negative, but the minus sign is omitted, so lower is better)
This is how the
The graph should be passed as an R igraph object, and the Functions for reading/writing graphs from/to disk are described here.
When graph fitting depends a lot on prior expectations, and when it is used in this kind of supervised, stepwise manner, it's very easy to overfit, and it becomes hard to tell whether any conclusions can be drawn from the fitting models. |
Thank you very much. I had a question: based on the following command line, we did add some new groups in add_data, why don't the newly added groups in add_data appear in the new graph? Should the individuals/groups in the initgraph object (referred to as bestgraph) had to be consistent with add_data? run2 = find_graphs(add_data, initgraph = bestgraph) In our project, we had a lot of groups with complex relations. To address this, we propose a gradual augmentation of the previous bestgraph by incorporating new groups, and determined the final graph, whether this approach is feasible? Thanks again. |
Yes, the groups in What you could do instead is to add a new group to all possible positions in
It's possible in principle, but there are things to look out for:
In my experience, it is rarely possible to fit models with more than 6 populations and more than 2 admixture events without some degree of overfitting. |
Hi, first of all, many thanks for developing and maintaining this software.
I have been using the find_graphs command in AdmixTools2 for analyzing population data. However, I have noticed significant score differences between repeated runs of find_graphs, and it appears that some results with lower scores align better with my expectations. I recently discovered the initgraph parameter, which I would like to use when adding additional populations to the previous best graph result. However, I encountered difficulties in saving the previous graph as a graph file. Could you please provide guidance on the command line for accomplishing this task?
Thanks.
The text was updated successfully, but these errors were encountered: