DESeq2 P/Padj values zero?
1
0
Entering edit mode
3.8 years ago
swilson ▴ 10

I conducted DE analysis using DESeq2, and attempted to sort the top 100 differentially expressed genes (based on their P-values) using the following code:

dds <- DESeq(dds)
res <- results(dds, alpha = 0.05) 
resOrdered <- res[order(res$pvalue)]
topGenes <- as.data.frame(res) %>%
  tibble::rownames_to_column("GeneID") %>% 
  arrange(padj) %>% 
  select
  head(100)
topGenes

However, 22 genes have P/Padj- values of zero. Does this make any sense?

RNA-Seq DESeq2 R • 4.7k views
ADD COMMENT
3
Entering edit mode
3.8 years ago

That is normal. The smallest floating point value in R is 2.225074e-308, so anything smaller than that gets rounded to 0.

ADD COMMENT
0
Entering edit mode

Hello, I am now running into zeros as well with about 26 difference genes for padj and pvalues when i run deseq2. Is there a way to extend the number of floating points or should it just be read as extremely small chance due to chance.

ADD REPLY

Login before adding your answer.

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