Differential gene- and exon-level expression analyses for RNA-seq data using edgeR, voom and featureCounts

Mark D. Robinson, University of Zurich
31.07.2014

Rough plan

  • Gene-level RNA-seq DE analysis with edgeR: counts -> diagnostics -> statistics (15 min)
  • Hitchhiker's guide to RNA-seq gene-level DE (15 min)
  • Exercise 1: use Example 2 data (15 min)
  • Break (10 min)
  • Counting: BAMs -> counts (5 min)
  • Exercise 2: Count BAMs from pasillaSubset (15 min)
  • Repeat gene-level analysis with voom (10 min)
  • Exon-level differential analysis with diffSplice NEW
  • Exercise 3: Play with voom and/or diffSplice

Let's get started

  • Load edgeR
library("edgeR")
  • To avoid clashes, start with fresh session (save anything you need first)
rm(list=ls())

Example dataset 1 (preprocessed)

Look at top differential splicing calls using `topSplice`

ex <- diffSplice(fx,geneid=gid,exonid=eid)
Total number of exons:  77026 
Total number of genes:  15369 
Number of genes with 1 exon:  3153 
Mean number of exons in a gene:  5 
Max number of exons in a gene:  115 
topSplice(ex)
               ExonID      GeneID  logFC       t   P.Value       FDR
6991  FBgn0005630:021 FBgn0005630 -2.458 -13.184 1.190e-26 8.789e-22
33534 FBgn0034072:009 FBgn0034072 -2.462 -16.048 1.643e-24 6.069e-20
8369  FBgn0010909:013 FBgn0010909  2.244  12.834 6.892e-24 1.697e-19
69604 FBgn0261451:037 FBgn0261451 -6.051 -11.108 2.261e-23 4.176e-19
74391 FBgn0263289:042 FBgn0263289  2.204  11.491 3.187e-23 4.709e-19
69599 FBgn0261451:032 FBgn0261451 -3.435 -10.858 1.418e-22 1.723e-18
69603 FBgn0261451:036 FBgn0261451 -5.717 -10.839 1.633e-22 1.723e-18
9891  FBgn0013733:022 FBgn0013733  1.618  10.473 2.162e-20 1.997e-16
69600 FBgn0261451:033 FBgn0261451 -4.072  -9.944 1.035e-19 8.496e-16
71099 FBgn0261885:005 FBgn0261885 -3.129 -11.854 8.533e-19 6.304e-15

Visualize top differential splicing calls using `plotSplice`

par(mfrow=c(1,2))
plotSplice(ex, geneid="FBgn0005630")
plotSplice(ex, geneid="FBgn0034072")

plot of chunk plotsplice

Useful resources

OSZAR »