compute_mean_sttc_by_well: Compute the mean STTC averaged across all pairwise electrodes...

Description Usage Arguments Details Value Author(s)

View source: R/sttc.R

Description

Compute the mean STTC averaged across all pairwise electrodes in well

Usage

1
compute_mean_sttc_by_well(s, dt = 0.05, beg = NULL, end = NULL)

Arguments

s

structure storing the well information

dt

Time window for STTC (default = 0.05 seconds)

beg

Start time in seconds (defaults to start of recording)

end

End time in seconds (defaults to end of recording)

Details

For each pair of electrodes, we calculate the STTC. We then take the mean of these pairs, excluding autocorrelations. If a well has one (or no) electrodes, the value returned for that well is NULL.

Warning: taking the mean over a well is useful only if you do not suspect distance-dependent correlations in your firing. (For activity like retinal waves, we find that correlations are strongly dependent on the distance separating electrodes.)

Value

A vector giving the mean of all pairwise STTCs on each well.

Author(s)

Stephen Eglen


meaRtools documentation built on May 1, 2019, 7:32 p.m.