calc_burst_summary: Calculate average and standard deviation of the bursting...

Description Usage Arguments Value Examples

View source: R/burst_stats.R

Description

The function calculates a summary of all the bursting features and returns a data.frame with those values.

Usage

1
calc_burst_summary(s, bursty_threshold = 1)

Arguments

s

MEA data structure

bursty_threshold

min number of bursts/minute to count as a bursty unit.

Value

A data frame with the following columns:

channels

electrode name

spikes

#spikes

mean_freq

firing rate (Hz)

nbursts

#bursts detected

bursts_per_sec

#bursts/second.matrix(nrow=0,ncol=1)

bursts_per_min

#bursts/min

bursty

is bursts_per_min >bursty_threshold (defaults to 1 burst/min)

mean_dur

mean burst duration

sd_dur

sd

mean_spikes

mean #spikes in a burst

sd_spikes

sd

per_spikes_in_burst

% of spikes in a burst

per_spikes_out_burst

% of spikes not in a burst

mean_si

mean Surprise Index (only for poisson .surprise measure)

mean_isis

mean ISI within a burst

sd_mean_isis

sd

mean_ibis

mean IBI

sd_ibis

sd

cv_ibis

Coefficient of variation of IBI (= mean_ibi/sd_ibi)

Examples

1
2
3
# Load exapmple of recording Robject (MEA data structure)
data("S")  
S$bs<-calc_burst_summary(S)

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