Learn R Programming

GCalcium (version 1.0.0)

avg_curve_slope: Get average curve slopes

Description

`avg_curve_slope` finds the average curve slopes for a trial using inflect_points_df and lm

Usage

avg_curve_slope(Dataframe, Trial)

Arguments

Dataframe

a GCalcium-format data frame or matrix

Trial

a single trial number

Value

vector of average rate of change for each curve

Examples

Run this code
# NOT RUN {
df.new <- format_data(data = GCaMP)
avg_curve_slope(Dataframe = df.new, Trial = 1)
# }

Run the code above in your browser using DataLab