plotMA in DEseq2
1
0
Entering edit mode
stephen66 ▴ 50
@stephen66-7177
Last seen 3.6 years ago
United States

Dear Community,

Sorry if this question is too simple. Would like to how to use plotMA to plot the unshrunken log2 fold changes in result table after calling, results(dds, addMLE=TRUE)  ? Many thanks.

 

Stephen

DEseq2 • 3.0k views
ADD COMMENT
0
Entering edit mode
@mikelove
Last seen 14 hours ago
United States

In the Details of ?plotMA

This function is essentially two lines of code: building a
‘data.frame’ and passing this to the ‘plotMA’ method for
‘data.frame’ from the geneplotter package. The code of this
function can be seen with: ‘getMethod("plotMA","DESeqDataSet")’ If
users wish to modify the graphical parameters of the plot, it is
recommended to build the data.frame in the same manner and call
‘plotMA’.

So you can just do:

plotMA(data.frame(res$baseMean, res$lfcMLE, res$padj < .1))
ADD COMMENT

Login before adding your answer.

Traffic: 708 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