Hello everyone,
I am using PrediXcan to do generate gene prediction model and use them to do association test between cad whole blood GWAS summary statistics and predicted gene expression matrix to identify genes that are associated with the phenotype.
My association file look like this:
How can I generate a Manhattan plot for these genes and show that some gene which are above the cut off line are significantly associated with the phenotype.
Basically a plot like this:
dput(file[1:2,1:5])
structure(list(gene = c("ENSG00000150938.5", "ENSG00000171055.10"
), gene_name = c("CRIM1", "FEZ2"), zscore = c(4.1906976198774,
-3.97075348660666), effect_size = c(0.738149909514208, -0.451272838952875
), pvalue = c(2.78098076298391e-05, 7.1645681794841e-05)), row.names = 1:2, class = "data.frame")
I tried to use qqman package for this but it requires SNPs information which I don't have in my data.
manhattan(file)
In manhattan(file) :
No SNP column found. OK unless you're trying to highlight.
Not sure about
R
since I'm not a big fan of it.Python is super great and flexible for building your own visualizations.
See if these 2 resources would be helpful.