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

LD score calculation #9

Open
xiangzhu opened this issue Jul 31, 2018 · 1 comment
Open

LD score calculation #9

xiangzhu opened this issue Jul 31, 2018 · 1 comment

Comments

@xiangzhu
Copy link
Collaborator

xiangzhu commented Jul 31, 2018

It seems that the current LD score calculation is different from the authors' approach.

https://github.com/stephenslab/LDshrink/blob/32b4ad3942f7cb429f23c529b86ab72cfbb1b257/R/block_utils.R#L117

Below is the 2nd paragraph of the first LDSC paper online method: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4495769/

screen shot 2018-07-31 at 12 35 18 pm

@xiangzhu
Copy link
Collaborator Author

xiangzhu commented Aug 7, 2018

Note that \hat{r}^2_{adj} above is also a "shrinkage" estimator of LD: it's value is always no greater than the corresponding \hat{r}^2. Hence, it also fits well into LDshrink (and we probably should implement it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant