Problems with filtering DESeq Results (log2fold change)
1
0
Entering edit mode
Aaliya • 0
@119eed26
Last seen 5 months ago
Singapore

dds <- DESeq(dds) results <- results(dds) filteredResults <- results[which(abs(results$log2FoldChange) > 1 & results$pvalue < 0.05),] write.csv(as.data.frame(filteredResults), file = "DESeq2_filtered_results.csv")

I am attaching the picture of the filtered results, I am still getting log2fold change values in negative output of the filtered results, how should I resolve this?

DESeq2 • 309 views
ADD COMMENT
0
Entering edit mode
ATpoint ★ 4.4k
@atpoint-13662
Last seen 3 days ago
Germany

You are filtering absolute logFC, and in your code that gives you all logFC below -1 and above 1, I see no issue here. You probably want to filter on padj though, see the vignette.

ADD COMMENT

Login before adding your answer.

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