R e s o u r c e s

About the Lab

Publications

People

Resources

Journal Club

Links

Utilities

3DAnatomy.zip MATLAB code to construct 3D anatomical reconstructions of electrode locations in the rat brain. We use it to localize electrodes based on histology and the Swanson Atlas; note that reconstruction requires human intervention to draw ROIS of interest. Includes code to make movies. See Narayanan and Laubach (2006) for examples.

Rsave.m A little utility that allows you to save Matlab variables in a table, to be read in from R as a data frame.

mat2arff.m A little utility that allows you to save Matlab variables in arff format, for export to WEKA


Statistical Pattern Recognition

Laubach_ExampleCode.zip Code for analysis of neuroexplorer (.nex) files in MATLAB. This bit of MATLAB code loads .nex files into a rudimentary database in MATLAB, plots peri-event rasters, and then does wavelet packet analysis by classes, and classifies with regularized discriminant analysis (RDA). This code is a little complex in that it requires MATLAB, R, and the e1701, class, verification, and R.matlab libraries for R, and understanding of both languages. However, we include an example (.nex) datafile of 9 neurons recorded simulataneously from rats performing a fixed foreperiod reaction time task, and show, in principle, how we might analyze it.

EnsembleCode.zip Main set of code for our lab's ensemble analysis, including preprocessing, feature extraction, discriminant pursuit, and classification. Main files are runEnsembleAnalysis.m, TestEnsembleAnalysis.m, and SubEnsembleAnalsysis.m. Includes an example data set, testData.mat, which you can play with. Requires Matlab 6, R 1.8, including libraries e1701 and class.

FDABatch.r R code for PDA (Leave-one-out)

FDABatchCV10.r R code for PDA (10 fold CV)

LVQBatch.r R code for LVQ (Leave-one-out)

LVQBatchCV10.r R code for LVQ (10 fold CV)

sSVMBatch.r R code for SVM (Leave-one-out)

sSVMBatchCV10.r R code for SVM (10 fold CV)


Reaction Time Analysis

Coming Soon