I need to plot microarray time course data so that the gene expression profiles of the top 100 genes are shown on the graph, with the curves labeled with the replicate probes (information below).
I was able to draw the graph frames with the right titles and axes labels, but label on the curves did not have the right names, using the following code:
for(j in 1:12){
pch_value = as.character(targets$grp[6*j])
points(c(0, 6, 24, 48, 72,80), exprs.row[(6*j-1):(6*j)],
type='b', pch=pch_value)
Contrasts:
mc = makeContrasts("hr6-hr0","hr24-hr0","hr48-hr0","hr72-hr0","hr80-hr0","hr72-hr6", levels = X)
colnames(X) = c('hr0', 'hr24', 'hr48', 'hr6', 'hr72', 'hr80')
Replicate information:
Replicates (hr0 - 6 reps, hr 6 - 6reps, hr24-4reps, hr48-4reps,hr72-6reps, hr80-2reps) are in the following order :
hr0
hr0
hr6
hr6
hr24
hr24
hr48
hr48
hr72
hr72
hr0
hr0
hr6
hr6
hr24
hr24
hr48
hr48
hr72
hr72
hr80
hr80
hr0
hr0
hr6
hr6
hr72
hr72
I have tried maSigPro and timecourse; I was unable to set the correct contrasts using these two programs.
Help will be appreciated.