Fold Change Plot in "Identifying Differentially Expressed Genes from RNA-Seq Data" Matlab example
17 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Corrado A.
il 6 Dic 2017
Commentato: Corrado A.
il 9 Dic 2017
In particular:
% compute the mean and the log2FC
meanBase = (meanTreated + meanUntreated) / 2;
foldChange = meanTreated ./ meanUntreated;
log2FC = log2(foldChange);
% plot mean vs. fold change (MA plot)
mairplot(meanTreated, meanUntreated,'Type','MA','Plotonly',true);
Why does the comment say "plot mean vs. fold change" when only the two means are plotted? Could you also help me understand how to interpret Mairplot in this application?
Thank you.
0 Commenti
Risposta accettata
Tim DeFreitas
il 7 Dic 2017
Mairplot calculates the foldChange (the Y-axis in the plot) from the meanTreated and meanUntreated samples behind the scenes; the comment is explaining that the fold change is plotted as the y-axis even though it's not being explicitly given to the mairplot function.
A mairplot shows differences between two measurements of gene expression by plotting the mean intensities (log scale, x-axis) vs fold change (log intensity ratio, y-axis). The mean intensities are calculated by multiplying the mean gene expression values of the two samples, and transforming to log10 scale. Fold change is plotted as the log2 ratio between the mean expression levels of each sample. If gene Z is expressed 4 times as much in the untreated group, it will have a Y-value of 2. If gene W is expressed half as much in the second group, it would have a Y-value of -1 This makes over & under-expressed genes have the same linear scale on the Y axis.
Data points with largely positive or negative fold changes indicate large changes in gene expression between the two groups. The default cutoff ratio (orange dashed line) is 2, which in log scale becomes +-1. Data points farther to the right tend to have a better signal-to-noise ratio, because the measurements contained higher levels of gene expression in both samples.
Hope this helps,
-Tim
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Bioinformatics Toolbox in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!