| PlotTCs {DiPALM} | R Documentation | 
 Plot multiple time-course expression patterns for one gene
Plot multiple time-course expression patterns for one gene
Description
A plotting function that generates a line plot for a single gene in multiple time-course expression sets. Each time-course is overlaid on the same plot.
Usage
PlotTCs(TClst, tgene, main = "", scale = TRUE, xlab = "Time", 
    ylab = "", xAxsLabs = colnames(TClst[[1]]), ledgeX = "top", 
    colAdj = 0.4, tcols = c("red", "red", "blue", "blue"), tltys = c(1, 1, 2, 2))
Arguments
| TClst | A named list of time-course matrices. Each element of the list is a time-course expression matrix (Genes as rows and time points as columns). | 
| tgene | A string of a single gene accession (found in the row names of one element of TClst). | 
| main | Main figure title. | 
| scale | Logical: should the expression values of each time-course be scaled and centered? | 
| xlab | The X-axis label. | 
| ylab | The Y-axis label. | 
| xAxsLabs | A vector of names to be associated with each x-axis point. | 
| ledgeX | The x value from  | 
| colAdj | Controls the alpha channel for the line colors using  | 
| tcols | A vector of colors controlling the colors of the lines. Must list one color for each time-course in TClst. | 
| tltys | A vector of integers controlling the line type (lty) of the lines. Must list one lty for each time-course in TClst. | 
Details
This function is used to view the expression pattern of a single gene across multiple time-course samples.
Value
The function generates a plot with multiple lines.
Author(s)
Ryan C. Sartor
Examples
data(testData)
PlotTCs(TClst = testData$timeCourseList, tgene = "BraA05g36370R" ,
scale = TRUE,tcols = c("red","red","blue","blue"), tltys = c(1,2,1,2), ledgeX = "topleft")