Plot the animal path from a Positrack object and the spikes in space from a SpatialProperties2d object.
1 2 3 4 5 |
sop |
List containing the data to plot the spike on path, you can get this list with the function spikeOnPath It contains 4 objects: xSpike, ySpike, cluSpike, xPath and yPath |
clu |
Clu number of the cell of interest. |
name |
String with the name of the cell |
outma |
Outer margins of the figure |
margin |
Inner margins of the figure |
cex.name |
Size of the font use for the name of the map |
cex.point |
Size of the spike points |
plotxlim |
Limits of the x axis |
plotylim |
Limits of the y axis |
mgp.x |
mgp for the x axis |
mgp.y |
mgp for the y axis |
axis.x.pos |
Y position of the x axis |
axis.y.pos |
X position of the y axis |
plot.axis |
Whether to plot the axes or not (TRUE or FALSE) |
xlab |
Name to display under the x axis |
ylab |
Name to display at the left of the y axis |
col |
The color of the spikes |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.