isolationDistance-methods: Get the isolation distance of each cluster

Description Usage Arguments Details Value

Description

For each cluster, the mahalanobis distance of all spikes relative to the cluster is calculated. The isolation distance is the minimal distance from the cluster center at which there are as many spikes from other cluster than from the cluster of interest. Distance is not defined for cases in which the number of cluster spikes is greater than the number of noise spikes.

Usage

1
2
3
4
isolationDistance(st, cg)

## S4 method for signature 'SpikeTrain'
isolationDistance(st, cg)

Arguments

st

SpikeTrain object

cg

CellGroup object

Details

From Schmitzer-Torbert et al. 2005

Value

a SpikeTrain object with the isolationDistance set.


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