Learn R Programming

GCalcium (version 1.0.0)

plot_trials: 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

Run this code
# NOT RUN {
### 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)
# }

Run the code above in your browser using DataLab