neurogenomics / MAGMA_Celltyping

Find causal cell-types underlying complex trait genetics
https://neurogenomics.github.io/MAGMA_Celltyping
71 stars 31 forks source link

Add functions to find intersection of genes with high genetic load + cell type specificity (similar to approach used in Parkinsons nature genetics paper) #40

Closed williamlam314 closed 2 years ago

williamlam314 commented 3 years ago

Dear Nathan,

Thank you for sharing your code. I am an iBSC student at UCL and have been using this pipeline to identify association between different liver disease and cell types and have got some interesting data. I was wondering whether it would be possible to obtain the intersection of genes between the gwas sum stats and the cell type data, in essence the genes driving the association?

NathanSkene commented 3 years ago

In principle you can get it by looking at the scores associated with each gene in the MAGMA file. I've never found an approach for doing this that I consider particularly meaningful though.

On Tue, 22 Jun 2021 at 13:15, williamlam314 @.***> wrote:

This email from @.*** originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders list https://spam.ic.ac.uk/SpamConsole/Senders.aspx to disable email stamping for this address.

Dear Nathan,

Thank you for sharing your code. I am an iBSC student at UCL and have been using this pipeline to identify association between different liver disease and cell types and have got some interesting data. I was wondering whether it would be possible to obtain the intersection of genes between the gwas sum stats and the cell type data, in essence the genes driving the association?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NathanSkene/MAGMA_Celltyping/issues/40, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH5ZPE2L6O3WX4XJFFRCJKTTUB5H3ANCNFSM47DSAFYA .

williamlam314 commented 3 years ago

Dear Nathan,

Thank you for your response. I was wondering if you might have an idea therefore on how, having identified a cell type significantly associated with disease, one should then prioritise targets to investigate for functional relevance in that cell type?

bschilder commented 2 years ago

Hi @williamlam314 this is now implemented in the function MAGMA.Celltyping::get_driver_genes. Hope it answers your questions!