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

Proportional expression of individual hit genes #67

Closed
h1hui opened this issue May 17, 2022 · 1 comment
Closed

Proportional expression of individual hit genes #67

h1hui opened this issue May 17, 2022 · 1 comment

Comments

@h1hui
Copy link

h1hui commented May 17, 2022

Is your feature request related to a problem? Please describe.
Is there any way to extract this proportional expression gene matrix, and plot?

Describe the solution you'd like
I want a function that can calculate the proportional expression across an annotation level, for each of the genes in the hits.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
I was reading this paper https://www.nature.com/articles/s41586-021-04369-3, and in Figure 6A, they were able to plot this as a heatmap, as shown.
Screen Shot 2022-05-17 at 2 17 37 PM
In their figure legend, it describes "Proportional expression of the top 45 AD GWAS genes across all major brain cell types. Expression values for a given gene sums to 1 across cell types using the EWCE method. Genes ordered in approximate risk strength39–41,51. Asterisks denote the strongest expressing cell types."
I am thinking about doing similar things, if you have this feature implemented.

Thanks!

@Al-Murphy
Copy link
Collaborator

Hey!

To go from GWAS SNPs to instigated cell types have a look at MAGMA celltyping which was also developed in our lab. This package uses EWCE once it relates SNPs to genes. Have a look at the documentation and vignettes there and you will find what you're looking for. Unfortunately you will need to plot the heatplot yourself as it isn't a standard output but the data is all there.

Cheers,
Alan.

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

2 participants