Neural Population Analysis Guide

Guides dimensionality reduction and latent-variable analysis of neural populations (PCA, GPFA, dPCA)

43 stars 6 forksOther Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add NeuroAIHub/awesome_cognitive_and_neuroscience_skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add NeuroAIHub/awesome_cognitive_and_neuroscience_skills --skill neural-population-analysis-guide
Manual install
git clone --depth 1 https://github.com/NeuroAIHub/awesome_cognitive_and_neuroscience_skills.git /tmp/awesome_cognitive_and_neuroscience_skills
mkdir -p ~/.claude/skills
cp -r /tmp/awesome_cognitive_and_neuroscience_skills/skills/neural-population-analysis-guide ~/.claude/skills/neural-population-analysis-guide

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Neural Population Analysis Guide

## Purpose

This skill encodes expert methodological knowledge for dimensionality reduction and latent-variable analysis of neural population recordings. A competent programmer without computational neuroscience training will get this wrong because:

- **Not all dimensionality reduction is the same.** PCA, Factor Analysis, GPFA, and dPCA answer fundamentally different questions about neural data. PCA finds axes of maximum variance; dPCA demixes variance by task parameter; GPFA extracts smooth single-trial trajectories. Choosing the wrong method answers the wrong question (Cunningham & Yu, 2014).
- **Standard data science preprocessing destroys neural signal.** Naive z-scoring or standard scaling of neural firing rates removes important information about rate differences across neurons. Soft normalization is required (Churchland et al., 2012).
- **Visualization methods are not analysis methods.** t-SNE and UMAP produce visually compelling low-dimensional embeddings but their distances are not interpretable, axes are not meaningful, and results are sensitive to hyperparameters. They must never be used for quantitative inference (Cunningham & Yu, 2014).
- **Dimensionality is not determined by "percent variance explained."** There is no universal threshold (e.g., 90%) for choosing the number of PCs. Parallel analysis or cross-validation is required to determine true dimensionality (Humphries, 2021).

## When to Use This Skill
Read the full skill on GitHub

Details

Skill name
neural-population-analysis-guide
Path
skills/neural-population-analysis-guide/SKILL.md
License
MIT
Repo updated
13 July 2026

FAQ

What does the Neural Population Analysis Guide skill do?

Guides dimensionality reduction and latent-variable analysis of neural populations (PCA, GPFA, dPCA)

How do I install the Neural Population Analysis Guide skill?

Claude Code plugin: /plugin marketplace add NeuroAIHub/awesome_cognitive_and_neuroscience_skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Neural Population Analysis Guide popular?

It lives in NeuroAIHub/awesome_cognitive_and_neuroscience_skills, which has 43 GitHub stars and 6 forks.

Related skills

Browse the most popular Claude skills, all other skills, or write your own with the skills generator.