Description Usage Arguments Value Examples
'between_trial_change' finds the difference in means during same time range between sets of trials.
1 2 | between_trial_change(Dataframe, TrialRange1, TrialRange2,
Time.period = c(min(Dataframe[1]), max(Dataframe[1])))
|
Dataframe |
a GCaMP-format data frame or matrix |
TrialRange1 |
range of trial numbers to be compared to second set of trials |
TrialRange2 |
range of trial numbers to be compared to first set of trials |
Time.period |
range of time to be compared between sets of trials |
Number representing mean difference of trial set 2 and trial set 1
1 2 3 4 | # How much did the mean value change 2s after epoc between trials 1-5 and trials 6-10?
df.new <- format_data(data = GCaMP)
between_trial_change(Dataframe = df.new, TrialRange1 = c(1, 5),
TrialRange2 = c(6, 10), Time.period = c(0, 2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.