Reshape and optionally preprocess a trace matrix into long format
prep_table.RdReshape and optionally preprocess a trace matrix into long format
Arguments
- data
Numeric matrix of fluorescence traces (cells × frames), with an optional leading ID column.
- rm.start
Integer; number of initial time points to remove. Defaults to
0.- preprocess
Logical; if
TRUE, callspreprocess_data()to smooth and detrend. Defaults toTRUE.- transp
Logical; if
TRUE, transposesdatabefore processing. Defaults toTRUE.- add_t
Logical; if
TRUE, adds a time column based ontime_res. Defaults toTRUE.- time_res
Numeric; temporal resolution in hours per frame.