Hello,
I'm using DEseq2 on Illumina RNA-seq data.
What I want to do is to create plots for my genes of interest, with the counts on the y-axis, and my sample types on the x-axis.
This can be done very nicely with the function plotCounts(dds, gene=topGene, intgroup="timepoint", returnData=T)
and subsequently calling the plot with ggplot2 .
But now I would also like to add p-values showing the differences between my sample types.
I tried using ggplot2 with geom_signif()
and stat_compare_means()
but even with the top gene from one of the results tables, I only get ns (non significant) plotted.
Is there an easy way to add significance levels to the output of plotCounts()
?
Thanks for your help, Anne