Is it possible to conduct a linear regression analysis in DESeq2, where one could get a slope, r-squared, and p-value? Based on this post (DESEQ2 linear model of dose) it looks like I can get a slope (though it confuses me how log2FoldChange could be interpreted as a slope...clarification would be helpful here).
From my previous analysis in DESeq, I've identified which genes change over time relative to control using a LRT analysis. Now I would like to identify the pattern of gene expression over time, irrespective of the control. For example, did expression start low, and then end high? I had planned to do a simple linear regression analysis on the normalized counts, but was wondering if it would be more appropriate to do this in DESeq2. From the post above, it sounds like I would be able to tell the direction of the slope, but it is unclear to me if it would also have the information to tell the goodness of fit of the data, and whether the slope is significantly different from zero.
Thank you!
Erin