Hi,
I'm analysing RNA-seq data in DESeq2
. To make sure if data is loaded properly I compared count plot from ggplot
and plot from exported values after accounting for size factor (I used the product of count and size-factor). Plot from exported values was done in libreoffice.
The plots is slightly different. Is it normal? Please find the plots below.
Here is the code that generated plot in R
from DEseqDataSet
prb1 <- plotCounts(dds.leaf1.f, "Zm00001eb038060", intgroup = c("ln","timepoint"), returnData = TRUE)
ggplot(prb1, aes(x = timepoint, y = count, color = ln, group = ln)) + geom_point() + stat_summary(fun=mean, geom="line")
I don't think it is the purpose of the support site to debug Excel behaviour. The issue might be how it combines replicates into a single value for this curve, but this is not on-topic here. plotCounts is the official method, or just
counts(dds, normalized=TRUE)
for more generic data extraction.Thank you for feedback. As for spreadsheet plot - I have computed averages myself and used them for plotting.