DESeq2- how to remove NA values
1
0
Entering edit mode
devi • 0
@20d1be8a
Last seen 12 days 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 • 88 views
ADD COMMENT
0
Entering edit mode
@kevin
Last seen 2 hours ago
V&A Waterfront, Cape Town, South Africa

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: 393 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