Porecast prediction results · RNA → electrophysiology

RNA → Electro­physiology

Porecast predicts 7 electrophysiological features of a sweep from the cell's RNA profile (a 4,402-gene panel that includes 306 ion-channel genes), the stimulus protocol and the cell's cortical area and layer. Evaluated on 161,145 Patch-seq sweeps from 1,039 cells, across 8 square-pulse protocol families.

Scope: predictions validated on mouse visual-cortex Patch-seq data only (Mouse visual cortex Patch-seq (DANDI 000020)). Body-wide extrapolation to human tissues is not claimed. The expression atlas itself covers 354 genes across 739 human cell types.

Mouse visual cortex Patch-seq (DANDI 000020) · 5-fold cross-validation with each cell held out once (cell-disjoint folds); cell-blocked bootstrap intervals

plate i — how to read these predictions

What the traces mean.

How to read an electrophysiology recording A schematic voltage trace showing a neuron's response to a current step, with annotations for resting potential, deflection, action potentials, AP rate and peak voltage. +30 0 -45 -70 Voltage (mV) 0 200 700 1200 1400 Time (ms) Current step (sustained injection) Resting potential The cell's idle voltage (~-70 mV) Deflection Peak minus steady-state voltage Peak voltage Spike maximum (~+30 mV) Action potentials Electrical spikes used to signal AP rate Spikes per second

Each feature is predicted from the cell's RNA profile together with the stimulus protocol and cortical location — no patch-clamp measurement of that cell is used. “Deflection” is the peak voltage minus the steady-state voltage during the step; on firing sweeps it is dominated by spike height, so it is not an HCN sag measure.

plate ii — predicted voltage traces

Generated vs recorded, by cell type.

Each card shows a real Patch-seq recorded trace (black) alongside traces generated from that cell's RNA and current step (orange, with uncertainty bands) by an early development run of the Porecast generator. Illustrative only: the generator is not validated for prediction (see the docs). Mouse visual cortex, long-square sweeps, 12 representative types.

Sst Calb2 Pdlim5

VISp2/3
0 ms → 1500 ms
defl. mV
36
APs
8
rate Hz
2.0

Vip Lmo1 Fam159b

VISpm4
0 ms → 1500 ms
defl. mV
38
APs
12
rate Hz
1.9

Lamp5 Lsp1

VISp2/3
0 ms → 1500 ms
defl. mV
41
APs
7
rate Hz
-10.8

Sst Crhr2 Efemp1

VISp5
0 ms → 1500 ms
defl. mV
49
APs
5
rate Hz
9.3

Lamp5 Lsp1

VISal1
0 ms → 1500 ms
defl. mV
38
APs
9
rate Hz
-3.9

Sst Mme Fam114a1

VISpm5
0 ms → 1500 ms
defl. mV
36
APs
14
rate Hz
8.8

Vip Lmo1 Fam159b

VISpm4
0 ms → 1500 ms
defl. mV
38
APs
12
rate Hz
1.9

Vip Lmo1 Myl1

VISpm2/3
0 ms → 1500 ms
defl. mV
52
APs
11
rate Hz
15.3

Sst Tac2 Tacstd2

VISp5
0 ms → 1500 ms
defl. mV
51
APs
5
rate Hz
2.2

Sst Crhr2 Efemp1

VISp6a
0 ms → 1500 ms
defl. mV
50
APs
11
rate Hz
21.0

Sst Myh8 Etv1

VISp6a
0 ms → 1500 ms
defl. mV
48
APs
5
rate Hz
1.4

Vip Pygm C1ql1

VISp4
0 ms → 1500 ms
defl. mV
53
APs
5
rate Hz
-3.0
plate iii — prediction accuracy

Seven features, held-out cells.

Each bar shows Pearson r between predicted and measured values for sweeps of held-out cells, pooled over protocols.

0 dashed line: r = 0.5 r = 0.86

n = 161,145 sweeps · 1,039 cells · 5-fold cross-validation, each cell held out once.

plate iv — calibration & discrimination

What the RNA adds.

The same model refit without the RNA input (protocol and cortical structure only) already predicts much of each sweep; RNA adds most to firing rate and AP count.

Feature (Pearson r)Without RNAWith RNA
Peak-to-steady-state deflection0.850.86
Peak voltage0.800.81
Firing rate0.670.76
AP count0.610.69
Firing vs non-firing (AUC)0.910.94
Feature CRPS (lower = better)8.837.73
AUC 0.94

Firing vs non-firing classification by the full model reaches AUC 0.94 (0.91 without RNA).

Probabilistic accuracy (CRPS)
ModelCRPSΔ
LightGBM (RNA + protocol + structure) best 7.73 —
LightGBM without RNA (protocol + structure) 8.83 +1.1
Ridge (RNA + protocol + structure) 10.56 +2.8
Stimulus amplitude only 11.79 +4.1
Transcriptomic-type mean 13.14 +5.4
Feature template (deterministic) 13.36 +5.6
Brain-area mean 13.65 +5.9
RNA nearest neighbour 13.97 +6.2

Lower CRPS = better. Mean over the five held-out folds, all protocols.

plate v — Scope

Predictions validated on mouse visual-cortex Patch-seq data only (Mouse visual cortex Patch-seq (DANDI 000020)). Body-wide extrapolation to human tissues is not claimed. The expression atlas itself covers 354 genes across 739 human cell types.

plate vi — method

How the predictions work.

Model: LightGBM on 50 principal components of a 4,402-gene RNA panel (4,096 highly variable genes + 306 ion-channel genes), plus the stimulus protocol (amplitude, duration, holding, sampling rate, protocol family) and cortical structure (area and layer). 5-fold cross-validation with each cell held out once (cell-disjoint folds); cell-blocked bootstrap intervals. Principal components and scaling are fit on training cells only, and no cell contributes sweeps to both training and test folds.

The generative waveform model (conditional flow matching) produced the orange example traces above. It is a research tool: it missed required baselines and does not give calibrated, sharp response distributions, so its traces are illustrations, not predictions.