Differential gene expression of Microarray data
2
0
Entering edit mode
jyoti_cad • 0
@jyoti_cad-6915
Last seen 9.5 years ago

I have a normalized data set by Agilent, I want to create a volcano plot for the data.

I am using R to create the plot.

Can someone guide me or send me a link to the code for doing so?

microarray limma volcano plot • 1.3k views
ADD COMMENT
2
Entering edit mode
@gordon-smyth
Last seen 1 hour ago
WEHI, Melbourne, Australia

You do need to define a differential expression analysis for the data before it is meaningful to make a volcano plot.

If you have done such an analysis using the limma package, then simply volcanoplot(fit) makes a volcano plot. See ?lmFit for a code example.

ADD COMMENT
1
Entering edit mode
@ludwig-geistlinger-3939
Last seen 21 months ago
USA/Boston/HMS

Hi,

you can use the 'volcano' function from the EnrichmentBrowser package in case you have your data in an ExpressionSet.

Otherwise you can just use these lines:

I assume <fcs> to be a vector of log2 fold changes and <ps> a vector of e.g. t-test derived p-values:

plot(x=fcs,
        y=-log(ps, base=10), col="red",
            main="Volcano Plot", xlab="log2(foldChange)", ylab="-log10(p)")

Best,

Ludwig

ADD COMMENT

Login before adding your answer.

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