volcano plot in Limma
1
0
Entering edit mode
mheydarpour ▴ 10
@mheydarpour-9430
Last seen 5.2 years ago

I used the current command in Limma to create volcanoplot, the Y axis is "LogOdds" and X axis is "Log2FoldChange".

I would like to have Y axis as "log10Pvalue". how to do that? please advise

 

Thanks, Mahyar 

limma volcanoplot • 1.2k views
ADD COMMENT
0
Entering edit mode
Aaron Lun ★ 28k
@alun
Last seen 47 minutes ago
The city by the bay

You can't. If you want to have log-p-values on the y-axis, you'll have to do some ugly hacks, like:

fitmod <- fit # after eBayes()
fitmod$lods <- -log10(fitmod$p.value)
volcanoplot(fitmod, ylab="- log10 Pvalue")

Also see A: Volcano plot labeling troubles for why log-odds are preferred for volcano plots.

ADD COMMENT
0
Entering edit mode

Thanks Aaron, It works very well.

ADD REPLY

Login before adding your answer.

Traffic: 552 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6