fc value in ggmaplot does not correspond to the real lfc value on the plot
1
0
Entering edit mode
LEGO • 0
@248238ea
Last seen 17 months ago
Italy

Hi! I am doing ggmaplot with res data from DESeq2. I really do not understand why the fc=2 but in the figure the threshold (gray line) is clearly not 2 and -2, but looks like 1 and -1. Can someone help me figuring this out?


library(ggpubr)
ggmaplot(res,
         fdr = 0.05, fc = 2, size = 0.4,
         palette = c("#B31B21", "#1465AC", "darkgray"),

         legend = "top", top = 0,
         font.label = c("bold", 11),
         font.legend = "bold",
         font.main = "bold",
         ggtheme = ggplot2::theme_minimal())

ggmaplot

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

A fold change of 2 is a logFC of 1 as log2(2)=1 and this is what MAplots show on the y-axis.

ADD COMMENT
0
Entering edit mode

Oh god, thank you. So my data values are already LFC while this fc has still to be normalized by log2. I noticed that LFC=1 is generally kept as threshold in this kind of plot, wouldn't be LFC=2 more accurate, since genes with LFC ≥ 2 are considered DE?

ADD REPLY
0
Entering edit mode

How you set thresholds and do your plots is entirely on you.

ADD REPLY

Login before adding your answer.

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