plot_trials: Plot specified trials

Description Usage Arguments Value Examples

View source: R/plot_trials.R

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)

atamalu/GCalcium documentation built on July 12, 2019, 7:04 p.m.