PlotTimeSeries: Time series plot

View source: R/TimeSeriesCurves.R

PlotTimeSeriesR Documentation

Time series plot

Description

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.

Usage

PlotTimeSeries(data, feature, labels = NULL, save = FALSE, path = NULL)

Arguments

data

CONNECTORList. (see DataImport)

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.

Value

PlotTimeSeries returns a list containing the line plot as ggplot object, namely PlotTimeSeries_plot, and data, i.e. the CONNECTORList.

Author(s)

Cordero Francesca, Pernice Simone, Sirovich Roberta

Examples

GrowDataFile<-"data/745dataset.xls"
AnnotationFile <-"data/745info.txt"

CONNECTORList <- DataImport(TimeSeriesFile,AnnotationFile)

PlotTimeSeries(CONNECTORList,"Progeny",labels=c("Time","Volume","Tumor Growth"))


sysbioTurin/connector documentation built on April 9, 2024, 12:10 p.m.