-
Notifications
You must be signed in to change notification settings - Fork 33
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
Methods doc categories #1146
Methods doc categories #1146
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, minor reshuffle suggested
This PR has conflicts, @benjeffery please rebase and push updated version 🙏 |
409c94a
to
383bcef
Compare
Good suggestions - fixed and rebased. |
383bcef
to
d8cf4fa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Looks great - @timothymillar, @tomwhite what do you think of this sectioning? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #1146 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 50 50
Lines 5102 5102
=========================================
Hits 5102 5102 ☔ View full report in Codecov by Sentry. |
LGTM |
docs/api.rst
Outdated
@@ -95,34 +98,69 @@ Methods | |||
count_cohort_alleles | |||
count_variant_alleles | |||
count_variant_genotypes | |||
individual_heterozygosity | |||
observed_heterozygosity |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
observed_heterozygosity
should really be in the pop-gen section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably also individual heterozygosity
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It really depends how widely you want to cast the net. Currently, the pop-gen section only includes methods that generalize over 'cohorts' (and 'windows'). individual_heterozygosity
is only for individuals and, in the diploid case, it just marks heterozygous and homozygous calls as 1 or 0 respectively.
LGTM aside from the above suggestion. The "Pedigree and Relatedness" section fells a little awkward, but I can't think of a better suggestion. I would almost suggest renaming it to just "Relatedness" or "Kinship and Relatedness". But it's not clear where |
Just “Relatedness” should cover it well - there are many facets behind that word |
OK, let's move heterozygosity to popgen for now, and rename the "pedigree.. " section to "Relatedness" and we're good to go I think. |
d8cf4fa
to
b0bcb9e
Compare
Suggestions applied! |
b0bcb9e
to
7d8b361
Compare
I've had a go at subsections in the method list as it was getting unwieldy.