spikeTimeCrosscorrelation-methods: Calculate the spike-time crosscorrelation between the spike...

Description Usage Arguments Value

Description

The spikes of cell 1 are used in turn as a reference spike. The number of spikes or probability to observe a spike of cell 2 around the reference spikes is calculated. You can set the bins size in ms and and the time window for which you want to do the analysis on.

Usage

1
2
3
4
5
6
spikeTimeCrosscorrelation(st, binSizeMs = 1, windowSizeMs = 200,
  probability = FALSE)

## S4 method for signature 'SpikeTrain'
spikeTimeCrosscorrelation(st, binSizeMs = 1,
  windowSizeMs = 200, probability = FALSE)

Arguments

st

SpikeTrain object

binSizeMs

Default is 1

windowSizeMs

Default is 200. Will span from -windowSizeMs to windowSizeMs

probability

If TRUE, will calculate the probability of a spike in a given bin instead of the spike count

Value

SpikeTrain object with spike-time crosscorrelation of cell pairs in slot cross


Tobias-Ruff/relectro_bak documentation built on May 3, 2019, 6:43 p.m.