<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=MA_plot</id>
	<title>MA plot - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=MA_plot"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=MA_plot&amp;action=history"/>
	<updated>2026-05-04T17:47:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=MA_plot&amp;diff=4511913&amp;oldid=prev</id>
		<title>imported&gt;Rbrwr: Adding short description: &quot;Diagram in computational biology&quot;</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=MA_plot&amp;diff=4511913&amp;oldid=prev"/>
		<updated>2025-05-13T14:27:58Z</updated>

		<summary type="html">&lt;p&gt;Adding &lt;a href=&quot;https://en.wikipedia.org/wiki/Short_description&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Short description&quot;&gt;short description&lt;/a&gt;: &amp;quot;Diagram in computational biology&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Diagram in computational biology}}&lt;br /&gt;
Within [[computational biology]], an &amp;#039;&amp;#039;&amp;#039;MA plot&amp;#039;&amp;#039;&amp;#039; is an application of a [[Bland–Altman plot]] for visual representation of [[genomic]] data. The plot visualizes the differences between measurements taken in two samples, by transforming the data onto M (log ratio) and A ([[arithmetic mean|mean average]]) scales, then plotting these values. Though originally applied in the context of two channel [[DNA microarray]] gene expression data, MA plots are also used to visualise [[high-throughput sequencing]] analysis.&amp;lt;ref&amp;gt;{{cite journal|last1=Robinson|first1=M. D.|last2=McCarthy|first2=D. J.|last3=Smyth|first3=G. K.|title=edgeR: a Bioconductor package for differential expression analysis of digital gene expression data|journal=Bioinformatics|date=11 November 2009|volume=26|issue=1|pages=139–140|doi=10.1093/bioinformatics/btp616|pmid=19910308|pmc=2796818}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite journal|last1=Love|first1=Michael I|last2=Huber|first2=Wolfgang|last3=Anders|first3=Simon|title=Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2|journal=Genome Biology|date=5 December 2014|volume=15|issue=12|pages=550|doi=10.1186/s13059-014-0550-8|pmid=25516281|pmc=4302049 |doi-access=free }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Explanation==&lt;br /&gt;
[[DNA microarray|Microarray]] data is often normalized within arrays to control for systematic biases in dye coupling and hybridization efficiencies, as well as other technical biases in the DNA probes and the print tip used to spot the array.&amp;lt;ref&amp;gt;[[Jean Yang|YH Yang]], [[Sandrine Dudoit|S Dudoit]], P Luu, DM Lin, V Peng, J Ngai, [[Terry Speed|TP Speed]]. (2002). Normalization for cDNA microarray data: a robust composite method addressing single and multiple slide systematic variation. &amp;#039;&amp;#039;Nucleic Acids Research&amp;#039;&amp;#039; vol. 30 (4) pp. e15.&amp;lt;/ref&amp;gt; By minimizing these systematic variations, true biological differences can be found. To determine whether normalization is needed, one can plot [[cyanine#Cy3 and Cy5|Cy5]] (R) intensities against [[cyanine#Cy3 and Cy5|Cy3]] (G) intensities and see whether the slope of the line is around 1. An improved method, which is basically a scaled, 45 degree rotation of the R vs. G plot is an MA-plot.&amp;lt;ref&amp;gt;[[Sandrine Dudoit|Dudoit, S]], [[Jean Yang|Yang, YH]], Callow, MJ, [[Terry Speed|Speed, TP]]. (2002). Statistical methods for identifying differentially expressed genes in replicated cDNA microarray experiments. &amp;#039;&amp;#039;Stat. Sin.&amp;#039;&amp;#039; 12:1 111–139&amp;lt;/ref&amp;gt; The MA-plot is a plot of the distribution of the red/green intensity ratio (&amp;#039;M&amp;#039;), that is plotted against the average intensity (&amp;#039;A&amp;#039;). M and A are defined by the following equations.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;M=\log_2(R/G)=\log_2(R)-\log_2(G)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;A=\frac12 \log_2(RG) = \frac12 (\log_2(R) + \log_2(G))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
M is, therefore, the [[binary logarithm]] of the intensity ratio (or difference between log intensities) and A is the average log intensity for a dot in the plot. MA plots are then used to visualize intensity-dependent ratio of raw microarray data (microarrays typically show a bias here, with higher A resulting in higher |M|, i.e. the brighter the spot the more likely an observed difference between sample and control). The MA plot puts the variable &amp;#039;&amp;#039;M&amp;#039;&amp;#039; on the &amp;#039;&amp;#039;y&amp;#039;&amp;#039;-axis and &amp;#039;&amp;#039;A&amp;#039;&amp;#039; on the &amp;#039;&amp;#039;x&amp;#039;&amp;#039;-axis and gives a quick overview of the [[frequency distribution|distribution]] of the data.&lt;br /&gt;
&lt;br /&gt;
In many microarray gene expression experiments, an underlying assumption is that most of the genes would not see any change in their expression; therefore, the majority of the points on the &amp;#039;&amp;#039;y&amp;#039;&amp;#039;-axis (&amp;#039;&amp;#039;M&amp;#039;&amp;#039;) would be located at 0, since log(1) is&amp;amp;nbsp;0. If this is not the case, then a [[normalization (statistics)|normalization]] method such as [[LOESS]] should be applied to the data before statistical analysis. (On the diagram below see the red line running below the zero mark before normalization, it should be straight. Since it is not straight, the data should be normalized. After being normalized, the red line is straight on the zero line and shows as pink/black.)&lt;br /&gt;
&lt;br /&gt;
== Packages ==&lt;br /&gt;
Several [[Bioconductor]] packages, for the [[R (programming language)|R software]], provide the facility for creating MA plots. These include affy (ma.plot, mva.pairs), limma (plotMA), marray (maPlot), and edgeR(maPlot)&lt;br /&gt;
&lt;br /&gt;
Similar [[RA plot|&amp;quot;RA&amp;quot; plots]] can be generated using the raPlot function in the caroline [https://cran.r-project.org/ CRAN] [[R (programming language)|R]] package.&lt;br /&gt;
&lt;br /&gt;
An interactive MA plot to filter genes by M, A and p-values, search by names or with a lasso, and save selected genes, is available as an [[R-Shiny]] code [https://github.com/alisheharyar/Enhanced_MA_Plot Enhanced-MA-Plot].&lt;br /&gt;
&lt;br /&gt;
=== Example in the R programming language ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;r&amp;quot;&amp;gt;&lt;br /&gt;
library(affy)&lt;br /&gt;
&lt;br /&gt;
if (require(affydata)) &lt;br /&gt;
{&lt;br /&gt;
     data(Dilution)&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
y &amp;lt;- (exprs(Dilution)[, c(&amp;quot;20B&amp;quot;, &amp;quot;10A&amp;quot;)])&lt;br /&gt;
&lt;br /&gt;
x11()&lt;br /&gt;
&lt;br /&gt;
ma.plot( rowMeans(log2(y)), log2(y[, 1])-log2(y[, 2]), cex=1 )&lt;br /&gt;
&lt;br /&gt;
title(&amp;quot;Dilutions Dataset (array 20B v 10A)&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
library(preprocessCore)&lt;br /&gt;
&lt;br /&gt;
#do a quantile normalization&lt;br /&gt;
x &amp;lt;- normalize.quantiles(y)&lt;br /&gt;
&lt;br /&gt;
x11()&lt;br /&gt;
&lt;br /&gt;
ma.plot( rowMeans(log2(x)), log2(x[, 1])-log2(x[, 2]), cex=1 ) &lt;br /&gt;
title(&amp;quot;Post Norm: Dilutions Dataset (array 20B v 10A)&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{multiple image&lt;br /&gt;
 | align     = center&lt;br /&gt;
 | width     = 300&lt;br /&gt;
 | footer    = MA Plots.&lt;br /&gt;
 | image1    = Pre-normalization.MAplot.png&lt;br /&gt;
 | alt1      = MA Plot for raw data, note of the distortion in the upper ranges.&lt;br /&gt;
 | caption1  = Pre Normalization&lt;br /&gt;
 | image2    = Post-normalization.MAplot.png&lt;br /&gt;
 | alt2      = MA Plot for quantile normalized data.&lt;br /&gt;
 | caption2  = Post Normalization&lt;br /&gt;
}}&lt;br /&gt;
{{Clear}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[RA plot]]&lt;br /&gt;
* [[Bland–Altman plot]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Gene expression]]&lt;br /&gt;
[[Category:Microarrays]]&lt;br /&gt;
[[Category:Plots (graphics)]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Rbrwr</name></author>
	</entry>
</feed>