data(exon)
# If all groups were used to estimate dispersions
optimPlot(counts, offsets, groups)
# If only the 2 groups being compared were used to estimate dispersions
optimPlot(counts, offsets, groups, contrast=c(1,3), use.all.groups=FALSE)Run the code above in your browser using DataLab