DESeq2- how to remove NA values
1
0
Entering edit mode
devi • 0
@20d1be8a
Last seen 2.6 years ago
Germany

Hi, Could someone please tell me how to remove NAs from the DESeq2 pipeline? Even though I initially filtered out low expressed genes, I am getting NA values with the below code

Thank you


res_low_H1$sig <- as.factor(ifelse(res_low_H1$padj<0.05 & abs(res_low_H1$log2FoldChange)>2, 
                            ifelse(res_low_H1$log2FoldChange>2, "up", "down"), "not"))
summary(res_low_H1$sig)

#output
#down   not    up  NA's 
# 365 15366   398     8
DESeq2 • 2.2k views
ADD COMMENT
0
Entering edit mode
Kevin Blighe ★ 4.0k
@kevin
Last seen 23 days ago
Republic of Ireland

Hi please read this section of the vignette: Why are some p values set to NA?.

Kevin

ADD COMMENT

Login before adding your answer.

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