I am comparing gene expression level across 4 developmental stages: E11, E14, E18, Adult. I have about 800 genes selected. Each genes has a read at these satages. Now I made a matrix: the row name are gene ID, while the column name are the 4 stages. each columns contains the read number. I can easily use Boxplot function to get the figure, but I found that if I want to do t-test to see the p value and add them to the boxplot a lot of online solutions are ggplot.
I thought about ggplot, the problem is that if I use ggplot in the beginning I have to put a new matirx with 4X800 rows? it looks pretty intimidating.
Is my understanding right? Any advice is appreciated.
mydat is a matrix, I chekced all the numbers in E11, E14, E18, Adult are numeric. but got an error: