DataVisualization: Data Visualitation

View source: R/DataVisualization.R

DataVisualizationR Documentation

Data Visualitation

Description

Computes the time grid and the line plot of growth data.

Usage

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

Arguments

data

CONNECTORList. (see DataImport)

feature

The column name reported in the TimeSeriesFile 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

Data Visualization returns a plot with the density time grid and the line plot of growth data as a ggplot object. In details, a point $p_x,y$ of the time grid density is defined by a pair of coordinates $p_x,y=\left( x,y\right) \ $ and by a colour. $p_x,y$ is defined if only if exists at least one sample with two observations at time $x\ $ and $y$. The colour associates with it encodes the frequency of samples in which $p_x,y$ is present.

Author(s)

Cordero Francesca, Pernice Simone, Sirovich Roberta

See Also

PlotTimeSeries, codeTimeGridDensity.

Examples


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

CONNECTORList <- DataImport(TimeSeriesFile,AnnotationFile)

DataVisualization(CONNECTORList,"Progeny",labels = c("time","volume","Tumor Growth"))


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