Perform DE analysis
We will now perform differential gene expression analysis using R.
Download the above R script, save in the LSLNGS2015 folder, unzip and run
cd ~/LSLNGS2015
Rscript --vanilla run_edgeR.ROutput shown in the terminal
Loading required package: limma
Loading required package: methods
null device
1
null device
1
null device
1View tabular results
The R script output and save the results of the analysis into 2 files: DE_analysis.gene.txt and DE_analysis.transcript.txt.
head DE_analysis.gene.txt
head DE_analysis.transcript.txt
Download PDFs and view plots
Multidimensional scaling (MDS) plot
MDS plot shows clear separation of the GM12878 versus K562 samples.

Mean-Difference (MD) Plot per sample
The plotMD() from limma generate mean difference plot displaying the log fold changes and average expression values for each gene (or M versus A plot or MA plot).
Gene-level plots

Transcript-level plots

Mean-Difference (MD) Plot, between 2 cell lines
The differentially expressed genes (adjusted P = 0.05) are highlighted in red.

Last updated
Was this helpful?