I am trying to replicate the format of the below file, which seems to include both the raw counts AND the DESeq data into one csv
WTS1 WTS2 KOS1 KOS2 baseMean log2FoldChange lfcSE stat pvalue padj
Gm6166 10 20 4103 4166 1931.08 5.93 0.13 45.68 0.00e+00 0.00e+00
TNFa 8492 10719 1091 1158 5621.18
However, I can't seem to figure out how to do it with the two separate counts.csv
WT_S1_12hr WT_S2_12hr KO_S1_12hr KO_S2_12hr
0610005C13Rik 1 0 2 1
0610006L08Rik 0 0 0 0
and deseq data (below).
baseMean log2FoldChange lfcSE stat pvalue padj
0610009B22Rik 261.0242 0.0652558 0.1773184 0.368015 0.712862 0.908775
0610009L18Rik 26.6356 -0.4974079 0.5355241 -0.928825 0.352980 NA
I know how to combine annotation files and counts files, but not this kind of data.
Would someone be willing to show me how to do this?
+1 much simpler and safer indeed!!