plot_trials: Plot specified trials

Description Usage Arguments Value Examples

Description

'plot_trials' plots the user-inputted trials. This function automatically adjusts the x- and y- axis limits to fit all data

Usage

1
plot_trials(Dataframe, Trials, ...)

Arguments

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

Value

a single plot of user-specified trials

Examples

1
2
3
4
5
6
### 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)

GCalcium documentation built on May 2, 2019, 9:31 a.m.