drn-interactions's People
drn-interactions's Issues
Brain State: Add LFP
Example
- Concurrent EEG/LFP spectrogram
- Concurrent EEG/LFP states
- Potentially add similarity plot
Coherance
- Quantify coherance between signals (potentially normalize)
Response overlap
- Show overlap in neuron response for spike rate and phase locking
- Adjusted mutual information for categories and spearman correlation for magnitude.
Created from VS Code using CodeStream
Add Graph Atters notebook
Created from VS Code using CodeStream
Add descripter for results of graph clustering
Created from VS Code using CodeStream
Add Spontaneous Interactions
Created from VS Code using CodeStream
Add Brain State interactions
Foot shock: Update Fast Responders
- Schematic figure
- Example raster
- Example PSTHs
- Response hists
- Consistency
- Clustering
Add Spont Timescale
- Pairwise
- Popcup
- Ensemble
- Graph Props
Update FS Neuronal
- Remove space for structural graph plots
Create BS Structure
- Duplicate
- Remove neuronal data
- Create graph figures
- Add graph figures
- Rearrange export
Brain state: Update Phase lock
New Example
- Two example neurons: one phase locked and with not phase-locked. Take two neurons from the same recording (so you don’t need to show the EEG twice)
- Time series plot: EEG-raw, EEG-filtered, phase, neuron-1, neuron-2
- Phase description plot
- Neuron-1 phase histogram
- Neuron-2 phase histogram
Update Phase Histograms
- Troff to trough
Update encoders
- New notebooks without decoding
- Tidy up package code
Add Spont Ensembles
How many neurons are in ensembles? Which Types of Neurons?
- Prop neurons in ensemble
- Prop by NT
Properties of ensembles
- NT Entropy
- Size
- Mean Weight
- Conductivity
Foot shock: Decoding
- Single neuron variability
Neuron Types: Add Scatter
- Adjust current neuron types figure to have space for scatter
- Add large scatter showing spike rate, regularity and waveform width of each neuron.
Created from VS Code using CodeStream
Add FS Interactions
Pairwise
- Change in each comb
- Change in mag
Graph
- Graph metrics
- Node Metrics
- Edge metrics
- Graph classification performance v time shuffle
Ensembles
- Ensemble props
- Node classification in ensemble
- Edge classification in ensemble together
Brain State: Decoding
Example: State Variance
- Single neuron: histogram of spike counts by state
- Population: scatter plot of UMAP or (heat-maps, histograms, line-plots) of UMAPS in each state
State Decoding
- Add decoding from UMAPS or PCs
- (Decode without phase-locked neurons?)
State Dimensionality
- Intrinsic dimensionality of each state (paired bootstrap or by mouse).
- Do as a function of neuron size or bin width
Preferred phase decoding
- Transformer to bin phases into 4 bins around the oscillation
- Attempt to decode using spike data
Add Graph Clustering Descriptor
Created from VS Code using CodeStream
Spont Interactions Figure
Created from VS Code using CodeStream
Update BS Interactions for uniform metrics
Created from VS Code using CodeStream
Update graph cluster such that the tidy ensemble method alters the ensemble ids of non sig ensembles
Created from VS Code using CodeStream
Neuron Types: Add Volatility
Add neuron type volotility analysis and figure
Example Raster
- Raster at two or three points from a single recording
Example or demonstration of 30 mins activity
- Spike rate
- CV-ISI
Compare volitility by neuron type
- Spike rate
- CV-ISI
Spectral
- Spike rate of each neuron with frequency range 0.005 to 15
- Line plots or heatmaps per neuron type
Add schematic
Created from VS Code using CodeStream
Add graph clustering
Created from VS Code using CodeStream
Brain State Response Consistency
Datasets
- Split datasets into first half and second half
- Perform check for both states in both halves
Single neuron example
- Phase histogram of single neuron first half second half
Population example
- Phase lock heat-map (SW only?)
Quantify
- Response adjusted MI
- Magnitude spearman
- Potentially by neuron type
Foot shock: Update Slow Responders
- Example fig
- Response consistency
Add spont first half second half
Add Graph Transformer
Add transformer that takes a df affinity matrix and reversibly returns a networkx graph
Created from VS Code using CodeStream
Update spont uniform metrics
Created from VS Code using CodeStream
Add Seq-NMF Sequencyness
Created from VS Code using CodeStream
Brain State: Identify Response Clusters
Chose features
- Phase-lock theta
- Phase-lock delta
- Spike rate change
Cluster Plot
- Heat-map or scatter plot by cluster
Show distribution across neuron types
- Pairs bootstrap of MI or spearman correlation
- MI or spearman correlation by mouse
Update FS Interactions for uniform mertics
Created from VS Code using CodeStream
Create Graph Clustering Script Notebook
Created from VS Code using CodeStream
Fix Density metric
-
change drn_interactions/interactions/graph.py
- change density calculateion to normalize by number of edges, not number of nodes
-
Recalculate BS graph
-
Recalculate FS graph
-
Upload fixed datasets
-
(Add density to BS structure figure)
-
(Add density to FS structure figure)
Add ability of pairwise to deal with NAs
At the moment, if there are 0 spikes, then corr will return NA. This interfears with spectral clustering in ensemble detection
Created from VS Code using CodeStream
Drug: Update Responses
Schematic
- Make schematic for drug assays
Rasters
- Add before and during rasters
- Mark neuron types
Heat-maps
- Sort by neuron type and add key (maybe bar plot?)
Histograms
- Add citalopram effect histograms
- Add WAY100365 effect histograms
Higher-order
- Potentially attempt to decode drug v pre drug in (CIT non-responders, SAL non-responders)
Created from VS Code using CodeStream
Create BS Neuronal
- Duplicate
- Create Ensemble plots
- Add and rearange
Add Spont Pairwise and Popcup
Create Graph Descriptor Script notebook
Created from VS Code using CodeStream
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.