Description Usage Arguments Value Examples
'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.
1 | centered_AUC(Dataframe, Trial, FUN = mean)
|
Dataframe |
a GCalcium-format data frame or matrix |
Trial |
a single trial number |
FUN |
a function to apply to each window |
Data frame of AUCs and curve number for each curve
1 2 3 | # Get AUCs for trial 2, centered at the mean
df.new <- format_data(data = GCaMP)
centered_AUC(Dataframe = df.new, Trial = 2, FUN = mean)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.