View source: R/TimeSeriesCurves.R
PlotTimeSeries | R Documentation |
Generates the line plot of the time series data. The curves are colored with respect to the feature chosen by the user and/or reported in the AnnotationFile.
PlotTimeSeries(data, feature, labels = NULL, save = FALSE, path = NULL)
data |
CONNECTORList. (see |
feature |
The column name reported in the AnnotationFile containing the feature to be investigated. |
labels |
The vector containing the text for the axis names and plot title. |
save |
If TRUE then the plot is saved into a pdf file. |
path |
The folder path where the plot will be saved. If it is missing, the plot is saved in the current working directory. |
PlotTimeSeries returns a list containing the line plot as ggplot object, namely PlotTimeSeries_plot, and data, i.e. the CONNECTORList.
Cordero Francesca, Pernice Simone, Sirovich Roberta
GrowDataFile<-"data/745dataset.xls"
AnnotationFile <-"data/745info.txt"
CONNECTORList <- DataImport(TimeSeriesFile,AnnotationFile)
PlotTimeSeries(CONNECTORList,"Progeny",labels=c("Time","Volume","Tumor Growth"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.