read.spikelist: Axion convert spkList to Robject

Description Usage Arguments Value See Also Examples

View source: R/spikelist_functions.R

Description

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

Usage

1
read.spikelist(key, spkListFile, chem.info ,Robject.dir) 

Arguments

key

base name of spkList file

spkListFile

The full spkList file name (including path)

chem.info

plate layout information list as loaded using function chem.info.2

Robject.dir

Directory of robject files

Value

save.file

Full path of the saved Robject data file

See Also

chem.info.2

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
##masterChemFile<-paste0( system.file(package = "IGM.MEA"),
#"/data",
#"/exampleRecording_1012016_plate1_expLog.csv" )
      
##spike.list.file<-paste0( system.file(package = "IGM.MEA"),
#"/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, masterChemFile = masterChemFile )

##RobjectFileName<-read.spikelist(key=title, 
#                                                  spkListFile=plate.chem.info, 
#                                                  chem.info=plate.chem.info,Robject.dir="/") 

IGM.MEA documentation built on May 29, 2017, 11:07 p.m.