`centered_AUC` computes the area under the curve (AUC) after centering values using a specified function, such as mean or min. Computed using trapezoidal integration.
Usage
centered_AUC(Dataframe, Trial, FUN = mean)
Arguments
Dataframe
a GCalcium-format data frame or matrix
Trial
a single trial number
FUN
a function to apply to each window
Value
Data frame of AUCs and curve number for each curve