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

[hail] add lambda GC calculation #6498

Merged
merged 4 commits into from Jun 28, 2019
Merged

[hail] add lambda GC calculation #6498

merged 4 commits into from Jun 28, 2019

Conversation

@konradjk
Copy link
Collaborator

@konradjk konradjk commented Jun 27, 2019

Also added table_source since I couldn't find it - let me know if I missed it

@konradjk konradjk changed the title Adding lambda GC calculation [hail] add lambda GC calculation Jun 27, 2019
med_chisq = hl.agg.approx_quantiles(chisq, 0.5)
else:
med_chisq = hl.median(hl.agg.collect(chisq))
return t.aggregate(med_chisq / hl.qchisqtail(0.5, 1))
Copy link
Collaborator

@tpoterba tpoterba Jun 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we separate the bit that generates the agg expression out into a separate private function? We have an open feature request to print the lambda GC in hl.plot.qq

Loading

@tpoterba tpoterba dismissed their stale review Jun 27, 2019

oops

Copy link
Collaborator

@tpoterba tpoterba left a comment

add to docs rst file(s)

Loading

@tpoterba
Copy link
Collaborator

@tpoterba tpoterba commented Jun 27, 2019

add to genetics.rst

Loading

@tpoterba
Copy link
Collaborator

@tpoterba tpoterba commented Jun 27, 2019

also add experimental note since this is untested

Loading

Note
----
This method is experimental.
Copy link
Collaborator

@tpoterba tpoterba Jun 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops sorry this is what I meant:

    .. include:: ../_templates/experimental.rst

Loading

Copy link
Collaborator Author

@konradjk konradjk Jun 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nifty!

Loading

@danking danking merged commit fe8e543 into hail-is:master Jun 28, 2019
1 check passed
Loading
@konradjk konradjk deleted the lambdagc branch Jun 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants