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

how toget the betaX like the betaX in the amd_example #4

Open
empathy-c opened this issue Mar 7, 2024 · 0 comments
Open

how toget the betaX like the betaX in the amd_example #4

empathy-c opened this issue Mar 7, 2024 · 0 comments

Comments

@empathy-c
Copy link

I would like to know how to calculate the betaX matrix in amd_example, which is 148 x 26, when using other data set. When conducting MR analysis, the general data only includes SNP and the beta values of the gene where SNP is located or the nearest gene, while the beta values of all genes (risk factors) are not included. For example, if there are 148 instrumental variables and 26 risk factors, my betaX is 148 x 1 instead of 148 x 26,how I can get the betaX like amd_example?

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