avg_curve_slope {GCalcium} | R Documentation |
'avg_curve_slope' finds the average curve slopes for a trial using inflect_points_df and lm
avg_curve_slope(Dataframe, Trial)
Dataframe |
a GCalcium-format data frame or matrix |
Trial |
a single trial number |
vector of average rate of change for each curve
curves of a single value will result in the average slope being labeled as NA
df.new <- format_data(data = GCaMP)
avg_curve_slope(Dataframe = df.new, Trial = 1)