Hi I have normalized RNAseq data for treatment and control of a particular cell line. The matrix is the log expression ratio(12hrscon/0hrs)and (12hrstrated/0hrs). Can I use limma to get the DEGs using the my matrix as direct input file?
I have 2 replicates (each with control and treatment). I designed my matrix as follows
design.mat<-cbind(c(1,1,0,0),c(0,0,1,1)) colnames(design.mat) <- c("Treated", "Con") design.mat Treated Con [1,] 1 0 [2,] 1 0 [3,] 0 1 [4,] 0 1 and contrast.mat <- matrix(c(1,-1), ncol = 1) dimnames(contrast.mat) <- list(c("Treated","Con"), "Diff") contrast.mat Diff Treated 1 Con -1
My input matrix
Gene_name Treated Treated.1 Con Con.1
1 1110004E09Rik 0.03105187 -0.14257259 0.02448855 0.1928913
2 2010300C02Rik -0.37487930 0.09699910 0.03967733 0.1089108
3 2210016F16Rik -0.57569502 -0.56298981 -0.01678530 -0.1019228
4 2410002F23Rik -0.01191708 -0.25381992 -0.05737920 -0.1057968
5 2700097O09Rik 0.04423673 -0.13028207 0.07958317 0.1220447
6 4931406P16Rik -0.00345034 0.06384793 -0.07985070 -0.1200976
Is it okay to use limma on my matrix data ? is the design is correct?
Thanks
Thank you Aaron for your explanations/help. Much Appreciated!
Thank you Aaron for your explanations/help. Much Appreciated!