Description Usage Arguments Value
Uses the ifr of cells to calculate the mean firing rate of neurons for different speed bands. You need to call ifr() on the st object first.
1 2 3 4 5 6 | speedRateTuningCurve(sp, st, pt, minSpeed, maxSpeed, angular = FALSE,
binSize = 5, maxBin = 30)
## S4 method for signature 'SpatialProperties2d'
speedRateTuningCurve(sp, st, pt, minSpeed = 2,
maxSpeed = 100, angular = FALSE, binSize = 5, maxBin = 30)
|
sp |
SpatialProperties2d object |
st |
SpikeTrain object with ifr |
pt |
Positrack object |
minSpeed |
Minimal speed to be considered |
maxSpeed |
Maximal speed to be considered |
angular |
Logical, if TRUE then angular velocity is used instead of running speed |
binSize |
Size of the bins in the tuning curve |
maxBin |
Maximum speed in the tuning curve |
data.frame with the speed-rate tuning curves
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.