Description Usage Arguments Value Author(s) Examples
Creates a pdf raster plot of selected user selected well from an 's' object. Options include verticle lines showing network spike times, vertical bars showing bursts as well as # showing count of spikes in burst and network spikes.
1 2 3 4 |
RobjectFile |
Default value is NULL, in which case tcltk pop-up file chooser will prompt user to select an 's' object. Otherwise, provide a full path to to a .RData 's' object that contains burst and network data. |
outputdir |
A directory (character string in quotes) where pdf is to be saved. Default is NULL, in which case the plot will be saved in the directory RobjectFile location. |
well.for.raster |
A well name, character string, from plate. e.g. well.for.raster="A3". Default is NULL, in which case first well in plate will appear in plot. |
interval.for.raster |
A vector of min and max time (s) for raster marks. e.g. interval.for.raster=c(30,60) Default is NULL, in which case the whole recording interval will be used. |
show.bursts |
A boolean value sets whether bursts are indicated by red horizontal line (TRUE/FALSE) e.g. show.bursts=FALSE Default=FALSE |
show.burst.number |
A boolean value sets whether # spikes/bursts are indicated (TRUE/FALSE). show.bursts must be set to true in order that show.burst.number=T e.g. show.burst.number=FALSE Default=FALSE |
show.networkspikes |
A boolean value sets whether network spikes are indicated by green vertical line (TRUE/FALSE) e.g. show.networkspikes=FALSE Default=FALSE |
show.ns.number |
A boolean value sets whether # electrodes in network spikes are indicated (TRUE/FALSE) e.g. show.ns.number=FALSE Default=FALSE |
show.nb |
A boolean value sets whether network bursts should be indicated in raster by orange horizontal lines (TRUE/FALSE) e.g. show.ns.number=FALSE Default=FALSE |
window.size |
A numeric value indicating which of the three smoothing sizes available in the R-object should be used in network burst identification e.g. show.ns.number=10Default=NULL |
A pdf raster plot will be displayed in system viewer.
Diana Hall
1 2 3 4 5 6 7 8 9 | ##generate.raster.plot(RobjectFile=NULL,
# well.for.raster=NULL,
# interval.for.raster=NULL,
# show.bursts=F,
# show.burst.number=F,
# show.networkspikes=F,
# show.ns.number=F,
# show.nb=F,
# window.size=NULL )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.