dentatespikeclassifier
dSpikesClassifier is a tool designed to discriminate type 1 or 2 dentate spikes (DS1 or 2) using only the LFP signatures within the granule-cell layer of the dentate gyrus.
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 4 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.3%) to scientific vocabulary
Repository
dSpikesClassifier is a tool designed to discriminate type 1 or 2 dentate spikes (DS1 or 2) using only the LFP signatures within the granule-cell layer of the dentate gyrus.
Basic Info
- Host: GitHub
- Owner: mcastelli98
- Language: Jupyter Notebook
- Default Branch: main
- Homepage: https://zenodo.org/doi/10.5281/zenodo.10034432
- Size: 30.4 MB
Statistics
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
Dentate Spikes Classifier
The code in this directory demonstrates how to predict the type of dentate spikes (i.e., either DS1 or DS2) from the local field potential (LFP) signal recorded from the granule-cell layer of the dentate gyrus (DG). This work is highlighted in our article, McHugh et al. 2024.
This notebook illustrates how to use dSpikesClassifier to preprocess the LFP signal and classify dentate spikes into either DS1 or DS during an exemplar session.
A colab notebook version is also available here
The data was acquired using a 64-channel silicon probe spanning the somato-dendritic axis of CA1 principal cells and reaching the inferior blade of the DG. LFP signals were sampled at 1250 Hz. Due to storage constraints of this repository, we have uploaded only the LFPs from the granule cell layer channel of the DG and a channel in the stratum oriens, which is used as a reference for detecting dentate spikes. The data is stored in the /Data/ directory.
Please note that the data shared here is copyrighted to the University of Oxford.
Model Information
In order to differentiate between DS1 and DS2 events using only the LFP traces, we implemented a linear discriminant analysis (LDA) classifier. This classifier was trained using LFP data recorded from the granule cell layer (GCL) via a silicon probe.
Prior to prediction, the model performs dimensionality reduction by applying principal component analysis (PCA) to all LFP traces centered around DS events. The principal components are then fed into the LDA classifier.
Following a cross-validation (k=1,000), the classifier achieved a median accuracy of $82.0$% $(81.6-82.5)$% (IQR).
For more details regarding the preprocessing and training of the model, please consult our article.
Citing This Work
If you use this software in your research, please cite our work using the provided DOI:
Getting Started
To ensure a consistent development environment, we recommend creating a Conda virtual environment using the following instructions.
Prerequisites
Creating the 'dSpikes' Virtual Environment
- Open a terminal or command prompt.
- Navigate to the repository's root directory.
- Create a new Conda virtual environment called "dSpikes" using the following command:
shell conda create --name dSpikes python=3.10 numpy pandas scipy scikit-learn matplotlib seaborn jupyter - Activate the virtual environment:
shell conda activate dSpikes
Owner
- Name: Manfredi Castelli
- Login: mcastelli98
- Kind: user
- Location: Oxford, United Kingdom
- Company: MRC Brain Network Dynamics Unit at the University of Oxford
- Website: https://www.mrcbndu.ox.ac.uk/people/manfredi-castelli
- Repositories: 1
- Profile: https://github.com/mcastelli98
Neuroscience PhD Candidate at the University of Oxford in the Dupret Lab. Member of Trinity College Oxford
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- given-names: "Manfredi"
family-names: "Castelli"
affiliation: "MRC BNDU at the University of Oxford"
orcid: "https://orcid.org/0000-0002-2103-802X"
title: dSpikesClassifier
version: 1.0
doi: 10.5281/zenodo.10034432
date-released: 2023-10-23
url: "https://github.com/mcastelli98/DentateSpikeClassifier/tree/1.0"
GitHub Events
Total
- Push event: 2
Last Year
- Push event: 2