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

Fix definition of Hexp #9

Closed
3 tasks done
zkamvar opened this issue Nov 24, 2014 · 1 comment
Closed
3 tasks done

Fix definition of Hexp #9

zkamvar opened this issue Nov 24, 2014 · 1 comment
Assignees

Comments

@zkamvar
Copy link
Member

zkamvar commented Nov 24, 2014

Currently, Hexp, produced by the function poppr is cited as Nei's expected heterozygosity (Nei 1978). Equation 2 in this paper translates to the implementation here if you consider x to be a genotype instead of an allele. How this came to be is a mystery. This is actually an unbiased measure of genotypic diversity representing the probability of drawing two genotypes from a population and having them be different. It's implementation in the function locus_table is accurate.

Tasks:

  • Change citation
  • Add average expected heterozygosity (equation 3 in Nei 1978) to poppr output
  • Fix equation in "algo" reference manual.
@zkamvar zkamvar self-assigned this Nov 24, 2014
@zkamvar zkamvar added this to the bootstrap summary statistics milestone Dec 3, 2014
@zkamvar
Copy link
Member Author

zkamvar commented Jun 11, 2015

This has been fixed in 9eaf52c

Now all that's left is to fix the equation in the reference manual.

@zkamvar zkamvar closed this as completed Jul 3, 2015
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

1 participant