linePlot: Create a line plot of an experiment

Description Usage Arguments Value See Also Examples

Description

Creates a line plot of the data. Useful for datasets with a lot of timepoints. Line datapoints represent the mean for that attribute. The lightly colored regions represent the standard error of the mean. Grey/white areas of the background represent time periods where the lights were on/off. Most useful for datasets with a large number of timepoints.

Usage

1
linePlot(obj, attribute, ...)

Arguments

obj

A valid DAM S4 object

attribute

The attribute of the data you wish to examine (like "genotype")

Value

Returns a ggplot2 plot object

See Also

For datasets with only a few timepoints, use barPlot instead.

Examples

1
2
3
4
sleep <- dropDead(DAM_DD)
sleep <- calcSleep(sleep)
sleep <- toInterval(sleep, 1, units = "hours", aggregateBy = "average")
linePlot(sleep, "genotype") 

kazi11/actmon documentation built on May 20, 2019, 7:53 a.m.