Skip to content

Comments

Revamp spike PCA figure panels and stats#23

Merged
hanhou merged 19 commits intomainfrom
han_add_pca1_of_waveform
Feb 11, 2026
Merged

Revamp spike PCA figure panels and stats#23
hanhou merged 19 commits intomainfrom
han_add_pca1_of_waveform

Conversation

@hanhou
Copy link
Collaborator

@hanhou hanhou commented Feb 11, 2026

Summary

  • Reworked fig_spike_pca into a multi-row composite layout with waveform overlays, distribution views (violin/histogram/CDF), and three CCF-space panels.
  • Added pairwise statistics tables for PC1 and membrane time constant with both rank-sum and Welch t-test p-values (including significance stars).
  • Unified and extended spatial plotting helpers with optional projection-edge coloring, consistent CCF scaling/limits, and a dedicated projection-target CCF panel.

Notes

  • Converts ipfx_tau from seconds to milliseconds for display.
  • Removes two obsolete asymmetry-index notebooks from src/LCNE_patchseq_analysis/figures/.

hanhou and others added 19 commits February 10, 2026 17:58
Drop clustering-specific logic and align plot labels/styles with the main figure conventions so the static panel output is easier to interpret and maintain.
Reorganize the figure into distribution-focused middle rows, add a projection-target CCF panel, and unify spatial plotting with configurable edge coloring while keeping spatial axes visually consistent.
Add a normalized waveform overlay subplot for spinal cord, cortex, and cerebellum targets and update the panel layout while keeping downstream distribution and CCF panels aligned.
@hanhou hanhou merged commit 9579847 into main Feb 11, 2026
3 checks passed
@hanhou hanhou deleted the han_add_pca1_of_waveform branch February 11, 2026 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant