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

read_spikelist

Axion convert spk_list to r_object


Description

Converts the Axion spk_list file to a Rdata object and initializes it with all spike and plate info

Usage

read_spikelist(key, spk_list_file, chem_info ,r_object_dir)

Arguments

key

base name of spk_list file

spk_list_file

The full spk_list file name (including path)

chem_info

plate layout information list as loaded using function chem_info_2

r_object_dir

Directory of r_object files

Value

save_file

Full path of the saved r_object data file

See Also

chem.info.2

Examples

temp_path=tempdir()
master_chem_file<-paste0( temp_path,"/data",
   "/exampleRecording_1012016_plate1_expLog.csv" )
      
spike_list_file<-paste0( temp_path,"/data",
"/exampleRecording_1012016_plate1_DIV1_spike_list.csv" )

title<-strsplit(basename(spike_list_file), ".csv")[[1]][1]
# get plate chemical info for each file in the list

plate_chem_info<-chem_info_2( file=spike_list_file, master_chem_file = master_chem_file )

r_object_file_name<-read_spikelist(key=title, 
                  spk_list_file=plate_chem_info, 
                  chem_info=plate_chem_info,r_object_dir="/")

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.