write_plate_summary_for_bursts: Prints bursting features

Description Usage Arguments Value Examples

View source: R/bursts.R

Description

The function reads the MEA data structure and uses the 'allb' list built using mi_find_bursts. It then prints all bursting features summary per well and per channel in _bursts.csv and _well_bursts.csv

Usage

1

Arguments

s

MEA data structure

outputdir

Output directory

Value

Output file _bursts.csv holds all features generated for bursts per well and per channel:

treatment

the treatment/genotype based on the experimental log file plan

well

well number

nae

number of active electrodes

nAB

number of electrodes with bursts

duration

total duration of bursts

mean_dur

mean duration of bursts

mean_freq

firing rate (Hz)

nbursts

number of bursts

bursts_per_sec

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

bursts_per_min

bursts/min

sd_dur

sd of burst duration

mean_freq_in_burst

average frequency of spikes in a burst

sd_freq_in_burst

sd of frequency of spikes in a burst

mean_spikes_in_burst

mean number of spikes in a burst

sd_spikes_in_burst

sd of number of spikes in a burst

total_spikes_in_burst

total number of spikes in a bursts

per_spikes_in_burst

percent of spikes in a burst

mean_isis

mean ISI within a burst

sd_isis

sd ISI within a burst

mean_ibis

mean IBI

sd_ibis

sd of ibis

cv_ibis

Coefficient of variation of IBI (= mean_ibi/sd_ibi)

file

input recording file

Examples

1
2
3
4
5
6
7
data("S")  
output_dir = file.path(tempdir(),"Analysis")
print(paste0("Creating output folders under ",output_dir))
dir.create(output_dir)

s<-list(); s[[1]]<-S
write_plate_summary_for_bursts(s, output_dir)

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