一键导入
erp-analysis
Domain-validated pipeline and parameter guidance for event-related potential analysis, from preprocessing through statistical testing
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Domain-validated pipeline and parameter guidance for event-related potential analysis, from preprocessing through statistical testing
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | erp-analysis |
| description | Domain-validated pipeline and parameter guidance for event-related potential analysis, from preprocessing through statistical testing |
| domain | cognitive-neuroscience |
| version | 1.0.0 |
| papers | ["Luck, 2014","Luck & Gaspelin, 2017","Keil et al., 2014","Kappenman & Luck, 2010"] |
| dependencies | {"required":["research-literacy"]} |
| review_status | ai-generated |
This skill encodes expert methodological knowledge for analyzing event-related potentials (ERPs) from EEG data. It provides domain-specific parameter recommendations, processing order guidance, component identification criteria, and statistical analysis strategies that a general-purpose programmer or data scientist would not know without specialized training.
Before executing the domain-specific steps below, you MUST:
For detailed methodology guidance, see the research-literacy skill.
This skill was generated by AI from academic literature. All parameters, thresholds, and citations require independent verification before use in research. If you find errors, please open an issue.
The standard ERP preprocessing pipeline involves 7 ordered steps. Processing order matters and can influence results (the "multiverse" problem; see Lonedo et al., 2020).
Multiverse note: Steps 2-5 interact. Filtering before ICA improves decomposition quality (Winkler et al., 2015). Some researchers re-reference after ICA. Document your choices and consider running key alternatives to assess robustness.
For detailed parameters at each step, see references/preprocessing-pipeline.md.
| Step | Parameter | Default | Source |
|---|---|---|---|
| Filter | High-pass | 0.1 Hz | Luck, 2014, Ch. 5; Tanner et al., 2015 |
| Filter | Low-pass | 30 Hz | Luck, 2014, Ch. 5 |
| Filter | Filter type | FIR, zero-phase | Widmann et al., 2015 |
| Re-reference | Scheme | Average reference | Luck, 2014, Ch. 5; Keil et al., 2014 |
| Artifact rejection | Threshold | +/-100 uV | Luck, 2014 |
| Bad channels | Max proportion | < 10% of total channels | Keil et al., 2014 |
| Epoching | Window | -200 ms to 800 ms | Luck, 2014, Ch. 5 |
| Baseline | Window | -200 ms to 0 ms | Luck, 2014, Ch. 5 |
To measure an ERP component correctly, you need three pieces of information:
references/erp-components.mdreferences/erp-components.md before committing to a theoretical interpretation| Domain | Key Components | Reference File Section |
|---|---|---|
| Visual perception | P1, N1, N170, N2pc | erp-components.md Section 1 |
| Language | N400, P600/LPC, ELAN, LAN | erp-components.md Section 2 |
| Executive control | ERN/Ne, Pe, N2, CNV | erp-components.md Section 3 |
| Memory | FN400, parietal old/new, Dm | erp-components.md Section 4 |
Choose your measurement approach based on the component:
| Measure | Best For | Avoid When | Source |
|---|---|---|---|
| Mean amplitude | Broad components (N400, P300, LPC) | Component is sharp and brief | Luck, 2014, Ch. 9 |
| Peak amplitude | Sharp, well-defined peaks (P1, N1) | Component has no clear peak or has multiple peaks | Luck, 2014, Ch. 9 |
| Peak latency | Measuring processing speed | Component lacks a clear peak | Luck, 2014, Ch. 9 |
| 50% fractional area latency | Latency with unequal amplitudes across conditions | Rarely inappropriate; preferred over peak latency | Luck, 2014, Ch. 9; Kiesel et al., 2008 |
| Signed/unsigned area | Components spanning positive and negative voltages | Simple, unipolar components | Luck, 2014, Ch. 9 |
Critical: Never select a time window or ROI by looking at the difference between conditions. This inflates Type I error (Luck & Gaspelin, 2017).
Is your hypothesis about a specific, well-characterized component?
|
+-- YES --> Do you have a priori time window and ROI?
| |
| +-- YES --> Traditional ANOVA on mean/peak amplitude
| |
| +-- NO --> Use collapsed localizer, then ANOVA
|
+-- NO --> Is your effect potentially distributed across time/space?
|
+-- YES --> Cluster-based permutation test (Maris & Oostenveld, 2007)
|
+-- NO --> Mass univariate with FDR correction (Groppe et al., 2011)
For detailed statistical method descriptions, see references/statistical-approaches.md.
Based on Keil et al. (2014) and Luck (2014):
See references/ for detailed parameter tables, component database, and statistical method descriptions.
Domain knowledge for building extracellular electrophysiology pipelines with SpikeInterface: loading data with extractors, preprocessing, running spike sorters, post-processing via SortingAnalyzer, quality metrics, curation, comparison, visualization, and export.
Preprocess task-based or resting-state fMRI data with fMRIPrep — a robust, BIDS-App preprocessing pipeline built on FSL, ANTs, FreeSurfer, AFNI, and Nilearn. Use this skill whenever the user asks to preprocess fMRI/BOLD data, run fMRIPrep on a BIDS dataset, set up Docker/Singularity/Apptainer containers for fMRIPrep, choose output spaces (MNI152NLin2009cAsym, fsaverage, fsLR/CIFTI), configure susceptibility distortion correction (SDC), extract or interpret the confounds table, resample to surface/grayordinates, cite fMRIPrep and its dependencies, or debug fMRIPrep crashes and hangs.
Domain-validated guidance for network neuroscience analysis using netneurotools: datasets, brain network metrics, connectivity consensus, modularity, spatial statistics, null models, and cortical surface visualization. Use this skill whenever the user works with brain connectivity matrices, connectomes, graph theory on brain networks, parcellated brain data (Schaefer, Cammoun, Desikan-Killiany), cortical surface templates (fsaverage, fsLR, CIVET, Conte69), network communication metrics, null model generation, spatial autocorrelation on brain maps, community detection in connectomes, or surface-based visualization with PyVista/PySurfer. Also trigger when the user mentions netneurotools, netneurolab, structure-function coupling, network neuroscience, brain graph analysis, or needs to fetch neuroimaging atlases and templates.
Analyzes genetic variant effects on gene expression (RNA-seq), chromatin accessibility (DNASE), histone marks (ChIP), and transcription factors using the AlphaGenome API. Use when the user asks about non-coding variant effects, pathogenicity, clinical significance, disease associations, functional effects, gene expression changes, splicing disruption, or regulatory effects in promoters and enhancers. Also use for resolving biological terms to tissue/cell-type ontologies (UBERON/CL) or analyzing variants in chr:pos:ref>alt format.
Query Open Targets Platform for target-disease associations, drug target discovery, tractability/safety data, genetics/omics evidence, known drugs, for therapeutic target identification.
Toolbox for markerless animal pose estimation with DeepLabCut. Covers single/multi-animal tracking, SuperAnimal pretrained models, 2D/3D pose estimation, keypoint labeling GUI, model training/evaluation, video analysis, and behavioral quantification. Use when the user needs animal pose estimation, behavior tracking, keypoint detection in videos, or mentions DeepLabCut/DLC/SuperAnimal.