syncLightCycle: Synchronize experiment to its light cycle

Description Usage Arguments Value

Description

This method syncs an experiment to a cycling light. This ensures that the start of each experimental day occurs at the same time that the lights switch on or off. Useful for plotting and subsetting your data by days.

Usage

1
syncLightCycle(DAM, ..., completeFirstDay = FALSE, lightFirst = TRUE)

Arguments

DAM

A valid DAM S4 experiment you wish to sync

completeFirstDay

A boolean value. If true, the first incomplete day in the dataset is removed. If false, NAs are added to make an incomplete first day have 24 full hours. Default: FALSE

lightFirst

A boolean value. If true, the experiment is synced so that light periods appear first (otherwise dark periods are first). Default: TRUE

Value

Returns a DAM S4 object, synced by light cycle.


kazi11/actmon documentation built on May 18, 2017, 4:24 p.m.