Description Usage Arguments Value Examples
Use this function to change the time between measurements of a DAM dataset (can only be used to increase the interval between measurements). When compressing data to the new set of timepoints, data is aggreagated by either mean or sum.
1 | toInterval(obj, target, units, aggregateBy)
|
obj |
A valid DAM experiment object |
target |
What time interval should the resulting dataset be? |
units |
The units used by the "target" parameter. Can be one of the following: "seconds", "minutes", "hours", "days" |
aggregateBy |
When aggregating multiple timepoints' worth of data, should data be averaged or summed? Can be one of the following: "sum", "average" |
Returns a DAM S4 object, with measurments at the specified time interval.
1 2 3 | getInterval(DAM_DD)
returnedDAM <- toInterval(DAM_DD, 1, units = "hours", aggregateBy = "sum")
getInterval(returnedDAM)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.