Skip to content

Run multivariate anaylysis to relate behavioral and electropyhysiological data

Notifications You must be signed in to change notification settings

mtl-brainhack-school-2019/PLS_PV_Behaviour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About my work

I study sensory plasticity in rat auditory cortex using a combination of sound exposure, behaviour, genetics, electrophysiology, and anatomy.

TLDR; check out my to-do list.

Background

  • M.D., Univ Aut de Nuevo Leon, Monterrey, Mexico (2010)

  • Research intern (2010-2011)
    50% clinical, National Institute of Neurology and Neurosurgery
    50% basic, CINVESTAV - Neuropharmacology Unit

  • Research associate, Univ Aut de Nuevo Leon, Monterrey, Mexico (2011-2012)

  • PhD student in Neuroscience, Mcgill University (current)


What kind of data do I use?

  • Experimental subjects

    Description: n = 24 subjects, 45+ training sesions each, 10+ e-phys parameters each (see Behaviour and Electrophysiology, below)



  • Behavior

    BM-slide

    Description: I use an auditory oddball discrimination task, in which subjects are presented with two kind of stimuli. The first one is the non-target stimulus, which consists in a train of six identical tones (which are referred to as standard tones; e.g., S-S-S-S-S-S). The second type of stimulus is the target, in which one of the last four tones in the sequence (chosen at random) is replaced by a different "oddball" tone (e.g., S-S-S-O-S-S).

    Importantly, the task is adaptive. If the subject adequately identifies the target tone (hit), difficulty is increased; i.e., the level goes up and the odball becomes closer to the standard tones. If the subject makes a mistake (miss, false positive), the level goes down. If the subject correctly ignores a non-target (withhold), there is no change in level.

    BM-slide

    For each training session, we compute performance metrics such as hit rate, false positive rate, d-prime, or maximum level reached.

  • Electrophysiology

    BM-slide

    Description: We use a microelectrode array to record simultaneously from 64 positions in auditory cortex. Once the electrodes are in place, we present a set of 60+ frequencies at different intensities (from 0 to 70 dB), which allows us to reconstruct a receptive fields (RF) for each recording position. Each RF gives us information about the selectivity of each recording position, as measured by bandwidth (frequency selectivity at each sound intensity) and intensity threshold (in dB). We can also compute other parameters including onset latencies, RF overlap between neighboring sites, and synchronization during spontaneous activity,

    BM-slide
    from: Thomas et al., 2019, Cereb Cortex


What problems do I want to solve?

There are more measurements than experimental subjects, and measurements belong to distinct datasets (behavior and electrophysiology).

Objectives

Main goals

  1. Use multivariate analysis to understand the relationship between my two datasets.

    BM-slide
    slide from Bratislav Misic's presentation @ Brainhack school 2019



  1. Cross-validate (using a "leave-one-out" approach?)


My to-do list

  • Make sure my data is compatible with partial-least-squares analysis (PLS)

  • Import my matlab file with behav data

    • Import as python object: use from scipy.io import loadmat
    • Save code, that's my first .py file!
  • Import e-phys data

    • Finalize analysis of e-phys data
    • Save data as matlab struct to be able to import it the same way I'm importing behav data (added url to .mat file)
    • Import as python object (see: importdata.py)
  • Multivariate analysis (PLS)

    • Run PLS
    • Visualize, report, interpret (see: PLS code)
    • Cross-validate (pending*) <---
  • Release my repo!

    • Add requirements.txt
  • Future directions (Fall 2019)

    • Create jupyter notebook
    • Format scripts and make available in Binder or NeuroLibre

Some resources

I'll be keeping a list of useful commands and "lifehacks" I learn here in my GH repo.

Also, a random list of errors I'm learning from in the process 🤷‍♂️



Acknowledgements

About

Run multivariate anaylysis to relate behavioral and electropyhysiological data

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages