plot_trials {GCalcium}R Documentation

Plot specified trials

Description

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

Usage

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

### 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)

[Package GCalcium version 1.0.0 Index]