raster_plot: Draw Raster Plots for Ephys Data

Description Usage Arguments Author(s)

Description

Draw Raster Plots for Ephys Data

Usage

1
2
3
4
raster_plot(spikes = spikes, bits = bits, addvals = NULL,
  bin_width = 1, window_width = 500, pre_window_width = NULL,
  bin_shading = "logical", select_bits = NULL,
  highlight_trials = NULL)

Arguments

spikes

The spike data for the raster plot. Should contain data on spike_time, trial, and spike_id.

bits

The bits data for the raster plot. Should contain data on bit_name, upat, and trial.

addvals

The addvals data for the raster plot. Defaults to NULL.

bin_width

The bin width for grouping spikes together. Defaults to 1ms (all spikes separate).

window_width

The post stimulus window width for spikes. Defaults to 500ms.

pre_window_width

If not reflecting the window_width, the pre stimulus window width. Defaults to NULL (takes window_width).

bin_shading

How to shade grouped bits. Defaults to logical.

select_bits

Define specific bits to plot. Defaults to NULL.

highlight_trials

Define specific trials to enbox to highlight. Defaults to NULL.

Author(s)

Robert Hickman


RobWHickman/EphysPlots documentation built on June 24, 2019, 5:07 p.m.