format_data {GCalcium} | R Documentation |
Reformat and label data into GCalcium format
Description
'format_data' changes the format of data from wide time series to long format with labeled columns. If data is already in long format, the function simply re-labels the columns
Usage
format_data(data)
Arguments
data |
A data set with observation times in the first row or column, and observed values from trials in each following row or column. |
Value
Data frame with labeled time and trial columns
Examples
df.new <- format_data(GCaMP)
[Package GCalcium version 1.0.0 Index]