DESeq2 rna seq analysis
1
0
Entering edit mode
gv ▴ 40
@gv-6516
Last seen 19 months ago
United States

Hi,

I am trying to use DESeq2 package. I have some question's related to that.

1. DESeq2 manual say's in MAplot function  Points will be colored red if the adjusted p value is less than 0.1. Can i change the value to 0.05. If yes how??

2. Also point which falls out of the window are plotted as open triangles. In the file what should I see in the column of adjusted p value. Will it be NA??

 

Thanks

Varun

 

deseq2 • 2.7k views
ADD COMMENT
1
Entering edit mode
@steve-lianoglou-2771
Last seen 13 months ago
United States

1. DESeq2 manual say's in MAplot function  Points will be colored red if the adjusted p value is less than 0.1. Can i change the value to 0.05. If yes how??

In the help page you get from ?plotMA function for a DESeqDataSet, you'll see that there is an alpha parameter you can tweak which sets the significance threshold to plot.

2. Also point which falls out of the window are plotted as open triangles. In the file what should I see in the column of adjusted p value. Will it be NA??

The position on the y-axis is defined by the log fold change of the gene expression, what you'll see in the related adjusted p value column is not a function of the fold change, but rather its p-value, so there isn't a real "direct" answer to your question (although on average you'd expect high logFC's with low p-values, but it's not always the case), if you know what I mean?

You should note that NA pvalues come from two sources (if you've run DESeq2 w/o any tweaks):

  1. From genes that have outlier expression in >= 1 sample; or
  2. From genes that have been filtered out by the "independent filtering" mojo DESeq does by default to reduce the multipe-testing burden via removing genes that have a small chance of being differentially expressed
ADD COMMENT
0
Entering edit mode

So in the file, how can i distinguish red points with red triangles which are outliers?? THis is because I need to know which genes are really differentially expressed and is not an outlier

ADD REPLY
0
Entering edit mode

Which file?

The object you get from calling results has columns for the log2 fold change as well as the adjusted pvalue -- those two columns together will etll you which ones are "really" differentially expressed, no? If there are NA's in the adjusted p values, these may or may not be outliers -- you will have to go back to your data an inspect it, the plotCounts function will be helpful here.

ADD REPLY
0
Entering edit mode

Ok I will look at the plotCounts function, it's usage and get back to you. Yes I was referring to the object generated after applying results function

res<-results(dds)
res<-res[order(res$padj),]
ADD REPLY
0
Entering edit mode

@Steve: So I looked at plotCounts function and plotted it for some genes. What should I look for in them so as to distinguish outliers from other differentially expressed gene.

ADD REPLY
0
Entering edit mode

I will throw this question back to you and ask you what you mean by "outlier" here.

ADD REPLY

Login before adding your answer.

Traffic: 592 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6