Description Usage Arguments Value
The occupancy map and the firing rate maps are smoothed with a Gaussian kernel. The amount of smoothing is determined by slots smoothOccupancySd and smoothRateMapSd of sp. You can force the function to create maps with arbitrary x and y sizes as long as the map fits into this arbitrary size.
1 2 3 4 5 | firingRateMap2d(sp, st, pt, nRowMap = NA, nColMap = NA)
## S4 method for signature 'SpatialProperties2d'
firingRateMap2d(sp, st, pt, nRowMap = NA,
nColMap = NA)
|
sp |
SpatialProperties1d object |
st |
SpikeTrain object |
pt |
Positrack object |
nRowMap |
Numeric indicating the number of rows in the map. By default the maps has the smallest size possible given the position data in the Positrack object. Use this argument to have maps of a fixed size. Needs to be as large as the minimal size of the map |
nColMap |
Numeric indicating the number of columns in the map. By default the maps has the smallest size possible given the position data in the Positrack object. Use this argument to have maps of a fixed size. Needs to be as large as the minimal size of the map |
SpatialProperties2d object with the firing rate maps
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.