-
Notifications
You must be signed in to change notification settings - Fork 6
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
Document how ploidy works #95
Comments
Hi Yan, thank you very much for your feedback. |
Thanks @daikitag - re (a), I mean that if there are no individuals in the tree sequence (e.g. if you try it on a tree sequence generated using re (b) - that's great, thanks. It's probably worth saying in the docs somewhere that the trait values are simply added up (are they?) over all the genomes in each individual, regardless of ploidy. This will presumably change if you implement dominance? If you do implement dominance, I assume you might have to check that all individuals are diploid (or will have to have a more sophisticated model of dominance that I'm used to) |
Thank you for your feedback. For (a), I will try adding a code to raise an error when there are no individuals in the tree sequence data, as a non-informative error is raised right now. For (b), I will add that to the documentation. I haven't implemented dominance to Thank you for your suggestions. |
I assume that
tstrait
relies on (a) individuals being present in the tree sequence (in particular, each sample genome must belong to an individual) and (b) individuals being diploid?It would be useful to clarify this somewhere, and state what happens e.g. if individuals are haploid, triploid, or whatever.
#27 is probably relevant here too.
The text was updated successfully, but these errors were encountered: