Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

read_spikelist_text

Construct an MEA object by importing from text files.


Description

Construct an MEA object by importing from text files.

Usage

read_spikelist_text(spike_text_file, channel_text_file, chem_info, array,
  div = NULL)

Arguments

spike_text_file

CSV with Spike time information

channel_text_file

CSV with information regarding MEA layout

chem_info

Optional chemical information (currently unused)

array

Name of array

div

Age of the recording (days in vitro)

Details

This function can be used to read in spike times from text files.

Value

S the MEA object

Author(s)

Stephen Eglen

Examples

demas_platelayout = list(n_well = 6,
                        wells = paste0("w", 1:6),
                        n_well_r = 2,
                        n_well_c = 3,
                        layout = c(3, 2),
                        n_elec_r = 8,
                        n_elec_c = 8,
                        xlim = c(-100, 7200),
                        ylim = c(0, 6000),
                        spacing = 200,
                        corr_breaks = 0
                        )
add_plateinfo("demas-6well", demas_platelayout)
times = system.file("extdata/textreader/demas.times", package="meaRtools")
pos = system.file("extdata/textreader/demas.pos", package="meaRtools")
s = read_spikelist_text(times, pos, array="demas-6well")
meaRtools:::.plot_mealayout(s$layout, use_names = TRUE, cex=0.3)

meaRtools

Micro-Electro Array (MEA) Analysis

v1.0.4
GPL (>= 3)
Authors
Quanli Wang [aut, ctb], Sahar Gelfman [aut, ctb, cre], Diana Hall [aut, ctb], Ryan Dhindsa [aut, ctb], Matt Halvorsen [aut, ctb], Ellese Cotterill [aut, ctb], Tom Edinburgh [aut, ctb], Stephen J. Eglen [aut, ctb, ths]
Initial release
2018-7-1

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.