SEQanswers

Go Back   SEQanswers > Applications Forums > RNA Sequencing



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the meaning density in CummeRbund plots? Carlos Borroto Bioinformatics 16 12-29-2016 10:05 PM
volcano plots cummeRbund godzilla07 Bioinformatics 8 02-04-2015 01:55 PM
Fruit Fly CummeRbund Plots Are Not The Same jmwhitha Bioinformatics 10 09-26-2014 10:10 AM
CummerBund error scale plots Mokinhas Bioinformatics 1 12-04-2013 04:19 AM
CummeRbund plots godzilla07 Bioinformatics 1 08-10-2012 05:00 AM

Reply
 
Thread Tools
Old 03-12-2015, 09:01 AM   #1
DPCook
Junior Member
 
Location: Ottawa, Ontario

Join Date: Sep 2014
Posts: 9
Default Questionable diagnostic plots from Cummerbund/DESeq2

Hi everyone,

I'm analyzing some RNA-seq data for a colleague and some of the results/diagnostic plots have raised some caution flags in my mind. I'll include the code I used to avoid going back and forth. Cliffnotes: Getting a large number of differentially expressed genes (which may or may not be normal?), large log2FCs, and diagnostic plots don't quite look typical.

Experimental Design:
RNA-seq before and after inducing differentiation(GNP -> GC). Two biological replicates for each condition.

Alignment & Counts (done for each of the four samples):
Code:
tophat -p 8 -G Mus.musculus.NCBIM37.65.gtf -o tophat_dir --no-novel-juncs mm9 GC2_R1.fastq GC2_R2.fastq
samtools sort -n accepted_hits.bam sorted.GC2
htseq-count -f bam sorted.GC2 Mus.musculus.NCBIM37.65.norRNA.gtf > GC2.counts.txt ##annotation lacks rRNA just in case
I then used DESeqDataSetFromHTSeqCount to get the summary and files set up:
Code:
sampleName        fileName condition
1  GC2.counts.txt  GC2.counts.txt        GC
2  GC3.counts.txt  GC3.counts.txt        GC
3 GNP2.counts.txt GNP2.counts.txt       GNP
4 GNP3.counts.txt GNP3.counts.txt       GNP

> dds
class: DESeqDataSet 
dim: 37651 4 
exptData(0):
assays(3): counts mu cooks
rownames(37651): ENSMUSG00000000001 ENSMUSG00000000003 ... ENSMUSG00000093788
  ENSMUSG00000093789
rowData metadata column names(27): baseMean baseVar ... deviance maxCooks
colnames(4): GC2.counts.txt GC3.counts.txt GNP2.counts.txt GNP3.counts.txt
colData names(2): condition sizeFactor
Ran DESeq and checked results:
Code:
dds <- DESeq(dds)
res <- results(dds)

> summary(res)

out of 24178 with nonzero total read count
adjusted p-value < 0.1
LFC > 0 (up)     : 5752, 24%  ##~1000 LFC > 2
LFC < 0 (down)   : 5786, 24% ##~1000 LFC < 2
outliers [1]     : 0, 0% 
low counts [2]   : 4687, 19% 
(mean count < 1.7)
[1] see 'cooksCutoff' argument of ?results
[2] see 'independentFiltering' argument of ?results

##MA plot
plotMA(res, main="DESeq2", ylim=c(-10,10)) ##Large number of significant genes with high mean exp value

##P value dist.
hist(res$pval, breaks=100) ##Very few genes with high p-value (looks similar with padj)

##Dispersion plot
plotDispEsts(dds) ##Not really sure if there's anything strange here

##Per gene standard deviation plots
#Script exactly as presented in DESeq2 vignette: shifted logarithm log2(n + 1) (left), the regularized log transformation(center), and the variance stabilizing transformation (right)
#Some really high SDs

##Euclidian distances
distsRL <- dist(t(assay(rld)))
What's reassuring is that the differentially expressed genes are enriched for relevant GO terms, but the plots are just looking different from others I have seen. Could anyone shed some light on whether there is anything to be alarmed about?

EDIT: Just realized I mentioned cuffdiff/cummeRbund in the title but didn't include anything from it. Volcano plot from there showed results consistent with the MA plot here.

David Cook
MSc. Candidate, University of OTtawa
Attached Files
File Type: pdf maplot.ylim10.pdf (1.20 MB, 11 views)
File Type: pdf pvalDist.pdf (5.1 KB, 7 views)
File Type: pdf dispersion.pdf (3.37 MB, 13 views)
File Type: pdf distplot.pdf (6.5 KB, 7 views)
File Type: pdf perGeneSD.pdf (230.3 KB, 6 views)

Last edited by DPCook; 03-12-2015 at 09:57 AM. Reason: Deceiving title, sorry
DPCook is offline   Reply With Quote
Old 03-12-2015, 07:11 PM   #2
Michael Love
Senior Member
 
Location: Boston

Join Date: Jul 2013
Posts: 333
Default

PCA plot is also nice for seeing sample distances. From the distplot these conditions look very distinct. Why don't you consider testing at a higher threshold than |LFC| > 0, as this seems to be achieved by many genes? See the lfcThreshold argument of ?results. The reasoning is described in the "Specifying minimum effect size" section of the paper.
Michael Love is offline   Reply With Quote
Old 03-13-2015, 05:49 AM   #3
DPCook
Junior Member
 
Location: Ottawa, Ontario

Join Date: Sep 2014
Posts: 9
Default

Thanks for the reply Michael. I adjusted the lfc threshold and it certainly made the list a bit more manageable (LFC > 1.5, FDR=0.05 yielded about 800 DEGs in both directions). I guess I just wasn't expecting such large differences between the two conditions and was concerned that I was missing some obvious artefact that could cause it.

I also ran the PCA following regularize log transformation to look at distances. PC1 is apparently capturing 100% variance and splits the two conditions. I'm no expert, so correct me if I'm wrong, but I suppose this supports that idea that the results are just the product of very distinct conditions because the variability between biological replicates is negligible (at least relative to the differences between conditions).

Thanks!
Attached Files
File Type: pdf pca.pdf (5.2 KB, 8 views)
DPCook is offline   Reply With Quote
Old 11-06-2019, 02:15 AM   #4
netgear extender setup
Junior Member
 
Location: USA

Join Date: Nov 2019
Posts: 1
Default

Thanks for sharing. We provide full support for all your Arlo devices, including guidance for your netgear extender setup . So if you are having issues with connecting to the Wifi or configure settings on the Arlo app, then contact us using our live chat services or our email. You can also call us using our customer support phone number.
netgear extender setup is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 08:14 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO