deseq 2x2: highly variable genes are not among differentially expressed gene
1
0
Entering edit mode
rahel14350 ▴ 10
@rahel14350-8472
Last seen 5.8 years ago
United States

Hi,

I did deseq 2x2 model. When I do a pheatmap for highly variable genes (using rld) the outcome are the genes that they are not even among the differentially expressed genes.

Here is my command for pheatmap:

topVarGenes <- head(order(rowVars(assay(rld)),decreasing=TRUE),20)
mat <- assay(rld)[ topVarGenes, ]
mat <- mat - rowMeans(mat)
df <- as.data.frame(colData(rld)[,c("group","condition")])
pheatmap(mat, annotation_col=df)
 

For example for the gene with highest rld over samples, the basemean in dds is 98000 but the pvalue and padj is NA.

Can anyone help me with this issue? 

Many thanks in advance,

Rahel

deseq2 rld pheatmap dds • 2.4k views
ADD COMMENT
2
Entering edit mode
@mikelove
Last seen 2 days ago
United States

topVarGenes looks at the row variance of the transformed values regardless of which samples come from which group. Differential expression testing asks whether the difference across group is large relative to the within-group variance. So these are different ways of ranking genes.

ADD COMMENT

Login before adding your answer.

Traffic: 533 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