TimeGridDensity: Time Grid Density

View source: R/TimeGridDensity.R

TimeGridDensityR Documentation

Time Grid Density

Description

Plots the grid of the time points at which the growth data are collected. Each point of the grid is colored with respect to its frequency in the input data.

Usage

TimeGridDensity(data, save = FALSE, path = NULL)

Arguments

data

CONNECTORList. (see DataImport)

save

If TRUE then the density time grid 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

Time Grid Density returns the time grid density plot as a ggplot object, in which a point $p_x,y$ 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

Examples

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

CONNECTORList <- DataImport(GrowDataFile,AnnotationFile)
TimeGridDensity(CONNECTORList)


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