HeadDirection-class: An S4 class used to get head direction histograms and...

Description Slots

Description

The user creates positrack and spike train objects first. Then the user calls the different methods of this class with the spike train and positrack objects as arguments. It can get the vector length of the head direction histograms and do shuffling to know the threshold for significance.

Slots

session

A charactor object with the name of the recording session

degPerBin

Degrees per bin in the head direction histograms

smoothOccupancySd

The standard deviation of the gaussian kernel used to smooth the occupancy histogram

smoothRateHistoSd

The standard deviation of the gaussian kernel used to smooth the rate histograms

nBinHisto

Number of bins in the histograms

hdSpikes

Head direction of all valid spikes

histo

An array holding the histograms of all neurons

histoDegree

A numeric holding the degree for each bin of the histogram

occupancy

A numeric holding the occupancy histogram

cellList

A list of cluster id of the neurons

cellPairList

Data frame containing pairs of cells

histoRepetitions

Number of repetition of the 0-360 range in the histogram. Default is 0 repetition

peakRates

Peak firing rate in Hz in each firing rate histogram

vectorLength

Mean vector length of each firing rate histogram

meanDirection

Mean direction in each firing rate histogram

nShufflings

Number of shufflings to get a distribution of vector length that would be obtained by chance

minShiftMs

Minimum time shift of the head direction data used during the shuffling procedure

peakRatesShuffle

Numeric to hold the peak firing rates obtained during the shuffling procedure

vectorLengthShuffle

Numeric to hold the vector length obtained during the shuffling procedure

crossHisto

Array containing crosscorrelation rate histogram


kevin-allen/relectro documentation built on May 20, 2019, 9:06 a.m.