plot_trials {GCalcium} | R Documentation |
'plot_trials' plots the user-inputted trials. This function automatically adjusts the x- and y- axis limits to fit all data
plot_trials(Dataframe, Trials, ...)
Dataframe |
a GCalcium-format data frame or matrix |
Trials |
set of trials to be plotted |
... |
extra commands to be called to the blank base plot |
a single plot of user-specified trials
### Format data frame
df.new <- format_data(GCaMP)
### Specify and plot trials
my.trials <- c(1, 2, 7, 8)
plot_trials(Dataframe = df.new, Trials = my.trials)