RasterPlot | R Documentation |
Produces a raster plot for a single neuron.
RasterPlot(
spike.train,
time.highlight = c(),
trial.highlight = c(),
graph.title = NULL
)
spike.train |
a list of numeric vectors, each of which contains the spike times from a single trial of the experiment. |
time.highlight |
a numeric vector indicating times (if any) to highlight with dashed vertical lines; for example, the onset/offset times of a stimulus. |
trial.highlight |
a numeric vector indicating trials (if any) to highlight by showing them in a different color. |
graph.title |
the title of the plot |
A ggplot object containing the parameters of the Raster plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.