Reproducing Wang et al. (2019) from SPARC dataset 212¶
Paper. Wang L, Morotti S, Tapa S, Francis Stuart SD, Jiang Y, Wang Z, Myles RC, Brack KE, Ng GA,
Bers DM, Grandi E, Ripplinger CM (2019). Different paths, same destination: divergent action
potential responses produce conserved cardiac fight-or-flight response in mouse and rabbit hearts.
J Physiol 597, 3867-3883. doi:10.1113/jp278016. The claims file
(claims/wang-2019.yaml) was written from the accepted author manuscript in PubMed Central
(PMC6675632), with Methods and figure legends; the paper has no supplement.
Dataset. SPARC:212, "Sympathetic nerve stimulation of mouse
and rabbit hearts", version 1, doi:10.26275/lok5-wje6, published
2022-01-05. Version 1 is the only published version, and the paper (2019) cites no version, so it is
the one pinned. Files are read from the public bucket sparc-prod-aod-discover-publish50-use1 at the
object versions listed in that version's manifest.
What the dataset holds. No optical maps or traces. Its readme says: "There is no primary data,
only a derivative folder containing experimental optical mapping data summarized in the multi
spreadsheet excel table." The workbook files/derivative/exp_data_Wang_et_al.xlsx gives one value per
heart for Figure 1A and 1D (heart rate), Figure 2 (time courses of HR, APD80, CaTD80 and relative CaT
amplitude), Figure 3B to 3F, and Figures 5F and 7F (APD change at base and apex). The code folder holds
the MATLAB models used for Figure 8.
| Claim | Tested here |
|---|---|
| fig1a-rabbit-hr-increase, fig1d-mouse-hr-increase | Tested (Fig1 sheet) |
| fig1bc-rabbit-ap-cat-response, fig1ef-mouse-ap-cat-response | Tested on the first 20 s of the 60 s SNS series (Fig2 sheet); the Fig. 1 hearts' APD, CaTD and amplitude are not in the dataset |
| fig2a-rabbit-monotonic, fig2d-mouse-biphasic-apd, fig2cf-cat-amplitude-similar | Tested (Fig2 sheet) |
| fig3abc-tyramine-na-mimic-sns, fig3d-propranolol-abolishes, fig3e-rate-step-biphasic, fig3f-constant-pacing-sns-prolongs | Tested (Fig3 sheet) |
| fig4g-5f-rabbit-base-apex, fig7f-mouse-base-apex | Tested (Fig5 and Fig7 sheets) |
| fig4ab, fig4cd, fig4e, fig5c, fig6ab, fig6e, fig6fh, fig7c | Blocked, data missing: no maps and no paced 20 s series in the dataset |
| fig8e, fig8f, fig8ij, fig9 (simulations) | Blocked, not runnable: the models are in the dataset (files/code) but are MATLAB code, and neither MATLAB nor GNU Octave can be installed in the entry's locked Python environment (section "Simulation claims") |
import numpy as np
import pandas as pd
from scipy import stats
import sns
pd.set_option("display.width", 200)
pd.set_option("display.max_columns", 30)
man = sns.manifest()
files = sns.file_table(man)
print(f"SPARC:{sns.DATASET_ID} version {man['version']} ({man['@id']}), published {man['datePublished']}")
print("related publications:", man["relatedPublications"])
print(f"{len(files)} files, {files['size'].sum() / 1e6:.2f} MB")
print(files.sort_values("path").to_string(index=False))
tables = sns.load_tables(man)
SPARC:212 version 1 (https://doi.org/10.26275/lok5-wje6), published 2022-01-05
related publications: [{'doi': '10.1113/jp278016', 'relationshipType': 'IsDescribedBy'}]
58 files, 3.47 MB
path size type s3VersionId
banner.jpg 30290 JPEG FgoE33BRU7.d3RDfEYMFMbWYAmfJBKPK
files/README.txt 467 Text kT7WnzH_OnmTorFIwJ55OM_V.xjm05Rc
files/code/manifest.xlsx 11332 MSExcel VKYzGJ_Szl4CMfDZl2ODg8lbU5UCKJ6F
files/code/mouse/exp_APc_data_5Hz.mat 17792 MAT Yq4CY9emRwteudNOnHyqSgbkeqidtOkj
files/code/mouse/instructions_mouse.txt 1696 Text Xno2t9i8O608bzhAUcFBo_eVXHwt5RBn
files/code/mouse/manifest.xlsx 11802 MSExcel LIYJNnYzOR2TmIpfjigq2lA1vAuObJTP
files/code/mouse/morotti_et_al_mouse_barODEfile.m 15818 MATLAB 07PE5sb732pgXBGdvvnVnQxV44ijTZC.
files/code/mouse/morotti_et_al_mouse_camODEfile.m 5940 MATLAB rT64T9vw2MVDgtWqz8hmV5bDjzG7xNHX
files/code/mouse/morotti_et_al_mouse_camkiiODEfile.m 4578 MATLAB MwevXLTyeXReS_qNHqsniFQV.dN33R9I
files/code/mouse/morotti_et_al_mouse_eccODEfile.m 52007 MATLAB s79QLojZHgXMenQsoZw6eI8qQOJhnDa7
files/code/mouse/morotti_et_al_mouse_masterCompute.m 12212 MATLAB 0nH3Vn8Vq19UwM2wTO4iucbyXYh7DYgh
files/code/mouse/morotti_et_al_mouse_masterODEfile.m 6161 MATLAB LwDmSRRafXWUZP9gVerVN8czuw9W7Hqs
files/code/mouse/readme.txt 1426 Text 1fK8NjGsB25ONTaM6jThrSWdQ0i9fWzg
files/code/mouse/yfin_WT_1Hz.mat 1536 MAT URqpYFr7MKtfefumjMbby57IW5v5Z.H4
files/code/mouse/yfin_WT_3Hz.mat 1541 MAT d2MXIMSYbZHqaBW0ECSk89SPBfU22dEN
files/code/mouse/yfin_WT_5Hz.mat 1541 MAT XiRaqEZQt87K_P3n1odIdqEkGY.zcxFu
files/code/rabbit/AP_2Hz.mat 10039 MAT YppHUldWtrGTLRvGFShm8txfErL1yV43
files/code/rabbit/instructions_rabbit.txt 1690 Text ic9pRr4RuJrSLER_Po.5dOBtJM12jVd3
files/code/rabbit/manifest.xlsx 11974 MSExcel BiwNnMqfMwzYJBJ9AAePWOsp4gE9dbxZ
files/code/rabbit/masterCompute_globalVariables.m 1013 MATLAB Sfn893yCrm1NeMyQu1uTb0QSydG42ZZq
files/code/rabbit/masterCompute_outputVariables.m 815 MATLAB 7TUGDa6yv8aN2IS08fm9T0IJ3Hhl3dnK
files/code/rabbit/rabbit_myofilament_barODEfile.m 13521 MATLAB afy1zU_PFmUlMCe2FcN4O3mlbSPAeB8v
files/code/rabbit/rabbit_myofilament_camODEfile.m 6392 MATLAB 1CsNH5PLXEpY_BTHd00Id9Y3oS0b1qyg
files/code/rabbit/rabbit_myofilament_camkiiODEfile.m 4997 MATLAB 0etvX1ATBVIB4TlO0QwayjzXnV9664r5
files/code/rabbit/rabbit_myofilament_eccODEfile.m 57664 MATLAB 1G.pQTCe66K.2hWtMfMa1inlwpVI3dRE
files/code/rabbit/rabbit_myofilament_masterCompute.m 11566 MATLAB ALEWz4D6qgSuMbzP5g05ElzA.y.HI8Vv
files/code/rabbit/rabbit_myofilament_masterODEfile.m 8290 MATLAB d71AzC1WNcp5chwnc2G88WxzAT4BcFXv
files/code/rabbit/readme.txt 1848 Text a3ra9_7Pkq8GzFq_8WQNNEisrnTUDB9e
files/code/rabbit/yfin_iks_isometric_0p2Hz.mat 1381 MAT ATuhOLNWaTbahQSyDG6LKL38hn3Jtt75
files/code/rabbit/yfin_iks_isometric_1Hz.mat 1386 MAT 0alX_sqAZGnT12rfja07KGaT5FSz62D8
files/code/rabbit/yfin_iks_isometric_2Hz.mat 1390 MAT DwORXZGXYbgoyCPhxYYlR0lS5YUdxJvw
files/code/rabbit/yfin_iks_isometric_2p5Hz.mat 1385 MAT UTr1sG9y7USdI.mZKLguxexS_gpin.OU
files/dataset_description.xlsx 23200 MSExcel Zq1pF_8tg4AXDdT_mvd5SO7jlzPB3s3m
files/derivative/Effects_of_SNS_on_CaT_Amplitude_in_mouse.csv 246 CSV rQeB4d.lYj3bL03k33JtL_HCGx3S9IFv
files/derivative/Effects_of_SNS_on_CaT_Amplitude_in_mouse_thumbnail.jpg 79552 JPEG xKcUq2wo9XXFXcufAfSzaTIZ_DkQtFx3
files/derivative/Effects_of_SNS_on_CaT_Amplitude_in_rabbit.csv 249 CSV kcaTudZZT.1W05AKN3XvHZgucU77FBko
files/derivative/Effects_of_SNS_on_CaT_Amplitude_in_rabbit_thumbnail.jpg 79898 JPEG 60YAmEdY1WUG7W17X52BvkgiM9CzMLcM
files/derivative/Effects_of_SNS_on_heart_rate_APD_and_CaTD_in_mouse.csv 791 CSV 4QeEewSsFygnA7R2m3tqm02yxQcg88oM
files/derivative/Effects_of_SNS_on_heart_rate_APD_and_CaTD_in_mouse_thumbnail.jpg 96462 JPEG f55GcG1MWkz7aUFV43LU0WHp7O4_stDR
files/derivative/Effects_of_SNS_on_heart_rate_APD_and_CaTD_in_rabbit.csv 718 CSV m7gjGOcNzBJ6N5WckTo1N1VqKGcCyRWj
files/derivative/Effects_of_SNS_on_heart_rate_APD_and_CaTD_in_rabbit_thumbnail.jpg 109018 JPEG FNYNqjjnVKuBWLt7205Nse.fXcYUMUim
files/derivative/exp_data_Wang_et_al.xlsx 32876 MSExcel bZA9Zrhc6JzyfUB7OGCcHHlnfmH2iNd8
files/derivative/manifest.xlsx 10588 MSExcel Nmz3oPDl114LlIbeR.HmOdwU4qvsj16F
files/docs/2019-J_Physiol-Wang_et_al.pdf 2658841 PDF wWm3l4RYsqSwJJL4RzVSQqBrHqdoYuhI
files/docs/manifest.xlsx 11165 MSExcel Sb5JsqhqoWRlnZ9idqpfjuUxMQz4ojkK
manifest.json 23982 Json NaN
metadata/records/award.csv 2795 CSV EYFR2XEw_H.rCjFa_TLLw785zpRAk8u3
metadata/records/file.csv 5827 CSV 49KiDXp6p73RuqRP7LeThZTpGM5xlsa7
metadata/records/protocol.csv 95 CSV dhXd5MckhJg.XU2RQ0xZkENhU43ALoLf
metadata/records/researcher.csv 730 CSV 6cSY7EbSZ7aRc4yHtGOMBqm17jN_20kl
metadata/records/sample.csv 185 CSV f49shgrkDqkL813nm314J886XumNlAkM
metadata/records/subject.csv 12 CSV yNxeoHj._PI1SlUj3rO248WoEOm4fBtc
metadata/records/summary.csv 1016 CSV GSAJttl1K1PFjPI7ReNmyi9JbV_TNL2D
metadata/records/term.csv 86 CSV qK0aNPjwumGdOtdWVI.ZKyRYgxclSCWF
metadata/relationships/hasContactPerson.csv 114 CSV aDbUyl427R1v.E5ZGhVlMAJHaJYEB0t7
metadata/relationships/hasResponsiblePrincipalInvestigator.csv 244 CSV 9vCOy12suFa_f3Wz2Xeu6I65bXwCbyDF
metadata/schema.json 19954 Json ZkFMGEgxb8zguVQzb3T5MluWqz.ECEKU
readme.md 1439 Markdown LP7E4DrHNP51DJ2O._ZhEayYp9FiEkld
Data check¶
The SPARC metadata files are read first, then each table of the workbook is checked against the counts and units the paper gives.
for path in ["readme.md", "files/README.txt", "metadata/records/subject.csv", "metadata/records/sample.csv"]:
print(f"--- {path}")
print(sns.read_file(man, path).decode("utf8", "replace").strip())
desc = sns.read_excel_sheets(man, "files/dataset_description.xlsx")["Sheet1"]
print("--- files/dataset_description.xlsx (element, value)")
for _, row in desc[[0, 3]].dropna(how="all").iterrows():
print(f" {row[0]}: {str(row[3])[:120]}")
for path in sorted(p for p in files.path if p.endswith("manifest.xlsx")):
m = sns.read_excel_sheets(man, path)["Sheet1"]
print(f"--- {path}")
print(m.iloc[1:, [0, 2]].to_string(index=False, header=False))
--- readme.md **Study Purpose:** We performed physiological sympathetic nerve stimulation while optically mapping cardiac action potentials and intracellular calcium transients in innervated mouse and rabbit hearts. **Data Collected:** This package includes experimental optical mapping data (derived from https://doi.org/10.1113/JP278016) and mathematical models of mouse and rabbit ventricular myocytes. **Primary Conclusion:** We found notable differences in spatio-temporal repolarization dynamics, and used species-specific computational models to investigate the underlying mechanisms. --- **Curator's Notes** **Experimental Design:** A computation model. Experimental data derived from https://doi.org/10.1113/JP278016 **Completeness:** This dataset is complete. **Subjects & Samples:** N/A (computational modeling dataset) **Primary vs derivative data:** There is no primary data, only a derivative folder containing experimental optical mapping data summarized in the multi spreadsheet excel table. **Code Availability** Matlab codes (and instructions) for simulating the model of mouse and rabit ventricular myocytealong with simulations are contained in the code folder. Each code folder contains detailed instructions on how to use the code and reproduce simulations. Model codes are also available for download at: https://somapp.ucdmc.ucdavis.edu/Pharmacology/bers/, or http://elegrandi.wixsite.com/grandilab/downloads. --- files/README.txt We performed physiological sympathetic nerve stimulation while optically mapping cardiac action potentials and intracellular calcium transients in innervated mouse and rabbit hearts. We found notable differences in spatio-temporal repolarization dynamics, and used species-specific computational models to investigate the underlying mechanisms. This package includes experimental optical mapping data and mathematical models of mouse and rabbit ventricular myocytes. --- metadata/records/subject.csv id,localId --- metadata/records/sample.csv
id,label,id,description,hasAssignedGroup,extractedFrom,hasDigitalArtifactThatIsAboutIt,localExecutionNumber,providerNote,recordHash,wasDerivedFromSubject,wasDerivedFromSubject:display
--- files/dataset_description.xlsx (element, value)
Metadata element: Value
Name: Sympathetic nerve stimulation of mouse and rabbit hearts
Description: We performed physiological sympathetic nerve stimulation while optically mapping cardiac action potentials and intracell
Keywords: Cardiac Electrophysiology
Contributors: Ripplingerm, Crystal M.
Contributor ORCID ID: https://orcid.org/0000-0002-9908-4106
Contributor Affiliation: UC Davis
Contributor Role: PrincipleInvestigator
Is Contact Person: No
Acknowledgements: nan
Funding: OT2OD026580
Originating Article DOI: https://doi.org/10.1113/JP278016
Protocol URL or DOI: nan
Additional Links: nan
Link Description: nan
Number of subjects: 0
Number of samples: 0
Completeness of data set: nan
Parent dataset ID: nan
Title for complete data set: Sympathetic nerve stimulation of mouse and rabbit hearts
Metadata Version DO NOT CHANGE: 1.2.3
--- files/code/manifest.xlsx
mouse Matlab codes (and instructions) for simulating the model of mouse ventricular myocyte.
rabbit Matlab codes (and instructions) for simulating the model of rabbit ventricular myocyte.
--- files/code/mouse/manifest.xlsx
exp_APc_data_5Hz.mat voltage signal used in action potential-clamp simulations
instructions_mouse.txt instructions for reproducing paper results in Wang et al J Physiol 2019 (Figure 8)
morotti_et_al_mouse_barODEfile.m model - code for beta-adrenergic signaling module
morotti_et_al_mouse_camkiiODEfile.m model - code for CaMKII signaling module
morotti_et_al_mouse_camODEfile.m model - code for Ca-CaM module
morotti_et_al_mouse_eccODEfile.m model - code for excitation-contraction module
morotti_et_al_mouse_masterCompute.m model - file that loads initial conditions and runs the simulation
morotti_et_al_mouse_masterODEfile.m model - file that integrates the other ODE modules
readme.txt readme
yfin_WT_1Hz.mat model - initial conditions at 1-Hz pacing (WT)
yfin_WT_3Hz.mat model - initial conditions at 3-Hz pacing (WT)
yfin_WT_5Hz.mat model - initial conditions at 5-Hz pacing (WT)
--- files/code/rabbit/manifest.xlsx
AP_2Hz.mat voltage signal used in action potential-clamp simulations
instructions_rabbit.txt instructions for reproducing paper results in Wang et al J Physiol 2019 (Figure 8)
masterCompute_globalVariables.m model - code for definition of global variables
masterCompute_outputVariables.m model - code for definition of output variables
rabbit_myofilament_barODEfile.m model - code for beta-adrenergic signaling module
rabbit_myofilament_camkiiODEfile.m model - code for CaMKII signaling module
rabbit_myofilament_camODEfile.m model - code for Ca-CaM module
rabbit_myofilament_eccODEfile.m model - code for excitation-contraction module
rabbit_myofilament_masterCompute.m model - file that loads initial conditions and runs the simulation
rabbit_myofilament_masterODEfile.m model - file that integrates the other ODE modules
readme.txt readme
yfin_iks_isometric_0p2Hz.mat model - initial conditions at 0.2-Hz pacing (WT)
yfin_iks_isometric_1Hz.mat model - initial conditions at 1-Hz pacing (WT)
yfin_iks_isometric_2Hz.mat model - initial conditions at 2-Hz pacing (WT)
yfin_iks_isometric_2p5Hz.mat model - initial conditions at 2.5-Hz pacing (WT)
--- files/derivative/manifest.xlsx
exp_data_Wang_et_al.xlsx Experimental data from our published paper
Effects_of_SNS_on_CaT_Amplitude_in_mouse.csv SNS effect on CaT amplitude in mouse
Effects_of_SNS_on_CaT_Amplitude_in_rabbit.csv SNS effect on CaT amplitude in rabbit
Effects_of_SNS_on_heart_rate_APD_and_CaTD_in_mouse.csv SNS effect on heart rate, APD, and CaTD in mouse
Effects_of_SNS_on_heart_rate_APD_and_CaTD_in_rabbit.csv SNS effect on heart rate, APD, and CaTD in rabbit
Effects_of_SNS_on_CaT_Amplitude_in_mouse_thumbnail.jpg Thumbnail of plot from corresponding data
Effects_of_SNS_on_CaT_Amplitude_in_rabbit_thumbnail.jpg Thumbnail of plot from corresponding data
Effects_of_SNS_on_heart_rate_APD_and_CaTD_in_mouse_thumbnail.jpg Thumbnail of plot from corresponding data
Effects_of_SNS_on_heart_rate_APD_and_CaTD_in_rabbit_thumbnail.jpg Thumbnail of plot from corresponding data
--- files/docs/manifest.xlsx
2019-J_Physiol-Wang_et_al.pdf Published paper
# The archive lists 61 files for version 1 against the manifest's 58; the other files are under
# revisions/, listed here from the Pennsieve discover API.
import requests
def browse(path):
r = requests.get(f"https://api.pennsieve.io/discover/datasets/{sns.DATASET_ID}/versions/{sns.VERSION}/files/browse",
params={"path": path, "limit": 100}, timeout=60)
r.raise_for_status()
return r.json()["files"]
info = requests.get(f"https://api.pennsieve.io/discover/datasets/{sns.DATASET_ID}/versions/{sns.VERSION}", timeout=60).json()
print("archive fileCount:", info["fileCount"], "; manifest files:", len(man["files"]))
for f in browse("revisions/1"):
print(f" {f['path']} {f.get('size')} bytes {f.get('fileType', f['type'])}")
archive fileCount: 61 ; manifest files: 58 revisions/1/banner.jpg 30290 bytes JPEG revisions/1/manifest.json 1556 bytes Json revisions/1/readme.md 1441 bytes Markdown
The dataset declares 0 subjects and 0 samples (dataset_description.xlsx, and empty subject.csv
and sample.csv), and the curator's note calls it a computational modelling dataset. The workbook
holds measurements from hearts, but no table says which animal a column is, so hearts cannot be
followed across figures.
sheets = tables["sheets"]
for name, sheet in sheets.items():
print(f"=== sheet {name}: {sheet.shape[0]} rows x {sheet.shape[1]} columns; its text cells:")
for (i, j), v in sheet.stack().items():
if isinstance(v, str):
print(f" row {i + 1}, column {j + 1}: {v.strip()}")
=== sheet Fig1: 19 rows x 2 columns; its text cells: row 1, column 1: Effects of sympathetic nerve stimulation (SNS) on heart rate in the innervated heart row 3, column 1: Mouse row 4, column 1: Baseline row 4, column 2: SNS row 11, column 1: Rabbit row 12, column 1: Baseline row 12, column 2: SNS row 19, column 1: Sympathetic nerve stimulation (SNS) was performed uisng an electrophysiology catheter inserted in the spinal canal to stimulate cardiac sympathetic outflow === sheet Fig2: 50 rows x 17 columns; its text cells: row 1, column 1: Effects of sympathetic nerve stimulation (SNS) on heart rate, APD and CaTD in the mouse and the rabbit row 3, column 1: Mouse row 4, column 1: SNS Time (sec) row 4, column 3: CaTD80 (ms) row 4, column 8: APD80 (ms) row 4, column 13: Heart Rate (BPM) row 17, column 1: Rabbit row 18, column 1: SNS Time (sec) row 18, column 3: CaTD80 (ms) row 18, column 8: APD80 (ms) row 18, column 13: Heart Rate (BPM) row 31, column 1: Mouse row 32, column 1: SNS Time (sec) row 32, column 3: CaT Amplitude row 42, column 1: Rabbit row 43, column 1: SNS Time (sec) row 43, column 3: CaT Amplitude === sheet Fig3: 62 rows x 16 columns; its text cells: row 1, column 1: Effects of tyramine on heart rate, APD and CaTD in the mouse row 3, column 1: Mouse row 4, column 1: SNS Time (sec) row 4, column 3: CaTD80 (ms) row 4, column 8: APD80 (ms) row 4, column 13: Heart Rate (BPM) row 12, column 1: Effects of Noradrenaline on heart rate, APD and CaTD in the mouse row 14, column 1: Mouse row 15, column 1: SNS Time (sec) row 15, column 3: CaTD80 (ms) row 15, column 8: APD80 (ms) row 15, column 13: Heart Rate (BPM) row 23, column 1: Effects of propranolol on heart rate, APD and CaTD in the mouse during SNS in the mouse row 25, column 1: Mouse row 26, column 1: SNS Time (sec) row 26, column 3: CaTD80 (ms) row 26, column 8: APD80 (ms) row 26, column 13: Heart Rate (BPM) row 39, column 1: APD in response to a step‐wise increase in pacing frequency/heart rate (red), without (black) and with (blue) concomitant SNS in the mouse row 41, column 1: Time (sec) row 41, column 3: Baseline row 41, column 8: SNS row 41, column 13: Heart Rate (bpm) row 52, column 1: APD over 60 s of constant pacing at a cycle length (CL) of 100 ms without (black) and with (blue) 60 s of SNS in the mouse row 53, column 1: Time (sec) row 53, column 3: Baseline row 53, column 8: SNS === sheet Fig5: 7 rows x 2 columns; its text cells: row 1, column 1: Change (ms) in APD at 15 s of SNS in base and apex regions in the rabbit heart row 3, column 1: Base row 3, column 2: Apex === sheet Fig7: 8 rows x 2 columns; its text cells: row 1, column 1: Change (ms) in APD at 15 s of SNS in base and apex regions in the mouse heart row 3, column 1: Base row 3, column 2: Apex
# The numeric blocks behind each table, as the workbook holds them (all columns, so that the
# heart columns, the empty no-SNS column of Figure 3F and the unlabelled column B can be seen).
def block(sheet, title, header):
s = sheets[sheet]
h = sns._find(s, header, sns._find(s, title))
b = sns._numeric_block(s, h + 1)
return b.loc[:, b.notna().any()]
print("=== Fig1, whole sheet"); print(sheets["Fig1"].fillna("").to_string())
for title, header in (("Effects of tyramine", "SNS Time"), ("Effects of Noradrenaline", "SNS Time"),
("Effects of propranolol", "SNS Time"), ("APD in response to a step", "Time (sec)"),
("APD over 60", "Time (sec)")):
print(f"=== Fig3, '{title}' (columns numbered from 0, header row {sns._find(sheets['Fig3'], header, sns._find(sheets['Fig3'], title)) + 1})")
print(sheets["Fig3"].iloc[sns._find(sheets["Fig3"], header, sns._find(sheets["Fig3"], title))].dropna().to_dict())
print(block("Fig3", title, header).to_string())
=== Fig1, whole sheet
0 1
0 Effects of sympathetic nerve stimulation (SNS) on heart rate in the innervated heart
1
2 Mouse
3 Baseline SNS
4 401 572
5 322 481
6 376 496
7 372 476
8 353 415
9
10 Rabbit
11 Baseline SNS
12 157 273
13 128 260
14 147 229
15 138 208
16 131 216
17
18 Sympathetic nerve stimulation (SNS) was performed uisng an electrophysiology catheter inserted in the spinal canal to stimulate cardiac sympathetic outflow
=== Fig3, 'Effects of tyramine' (columns numbered from 0, header row 4)
{0: 'SNS Time (sec)', 2: 'CaTD80 (ms)', 7: 'APD80 (ms)', 12: 'Heart Rate (BPM)'}
0 1 2 3 4 5 7 8 9 10 12 13 14 15
4 0 0.000 83.9 81.0 83.5 78.7 53.5 49.5 46.7 54.2 235 261.0 280.0 251.0
5 6.75 3.500 82.1 75.5 78.2 73.2 56.8 58.6 57.5 64.5 280 380.0 368.0 377.0
6 17.75 3.403 77 72.1 73.8 70.0 63.2 59.4 58.7 66.6 377 423.0 414.0 423.0
7 28.5 4.435 71.9 70.0 72.0 69.8 61.7 58.4 58.5 62.7 441 444.0 426.0 476.0
8 59.5 9.469 67.2 67.4 66.4 63.2 56.1 53.8 47.5 55.0 476 455.0 429.0 435.0
=== Fig3, 'Effects of Noradrenaline' (columns numbered from 0, header row 15)
{0: 'SNS Time (sec)', 2: 'CaTD80 (ms)', 7: 'APD80 (ms)', 12: 'Heart Rate (BPM)'}
0 1 2 3 4 5 7 8 9 10 12 13 14 15
15 0 0.000 81 72.3 81.3 72.2 55.2 50.5 51.0 51.4 259 335.0 328.0 239.0
16 6.25 1.708 73.5 64.4 74.0 62.5 69.6 58.1 59.7 58.8 343 385.0 382.0 331.0
17 12.33 3.215 64.5 59.6 59.3 NaN 72 59.4 60.8 NaN 366 411.0 400.0 NaN
18 29.75 3.403 59.9 59.3 56.9 57.2 62.8 55.0 51.2 50.8 368 414.0 408.0 408.0
19 59.75 3.500 54.3 58.7 56.3 55.5 49.9 47.3 47.3 50.8 319 390.0 405.0 377.0
=== Fig3, 'Effects of propranolol' (columns numbered from 0, header row 26)
{0: 'SNS Time (sec)', 2: 'CaTD80 (ms)', 7: 'APD80 (ms)', 12: 'Heart Rate (BPM)'}
0 2 3 4 7 8 9 12 13 14
26 0 74.4 70.4 73.8 44.8 32.8 35.2 226 343.0 233.0
27 5 74.1 70.3 73.7 44.5 33.0 36.1 227 361.0 241.0
28 10 74.6 69.5 73.5 46 34.2 36.9 226 361.0 244.0
29 15 74.8 69.6 73.3 45.5 35.5 38.1 227 361.0 243.0
30 20 74.3 70.3 74.0 45.5 36.4 38.4 226 364.0 245.0
31 25 74.4 70.0 73.3 45.4 37.7 40.3 227 364.0 244.0
32 30 74 69.3 73.1 45.2 34.4 38.8 226 368.0 246.0
33 40 74.4 69.4 73.2 45.7 35.9 38.5 226 370.0 249.0
34 50 74.5 69.1 73.1 45.7 31.2 39.3 225 373.0 251.0
35 60 75 68.7 72.7 46.3 32.7 39.5 224 375.0 253.0
=== Fig3, 'APD in response to a step' (columns numbered from 0, header row 41)
{0: 'Time (sec)', 2: 'Baseline', 7: 'SNS', 12: 'Heart Rate (bpm)'}
0 2 3 4 7 8 9 12
41 0 56.9 56.02 57.3 56.9 56.02 57.3 333.3333
42 5 56.9 56.02 57.3 62.43 60.35 65.3 400
43 10 65.9 65.06 67.1 67.6 74.30 72.8 461.5385
44 15 63.6 65.90 62.7 65.5 73.70 70.1 480
45 20 59.6 64.30 59.0 60.5 71.35 67.2 500
46 25 56 61.20 58.1 57.9 68.90 64.1 521.7391
47 30 52.7 60.00 54.2 56.6 65.00 61.7 545.4545
48 35 50.5 57.10 53.9 51.7 63.00 57.1 545.4545
=== Fig3, 'APD over 60' (columns numbered from 0, header row 53)
{0: 'Time (sec)', 2: 'Baseline', 7: 'SNS'}
0 2 4 5 6 7 8 9 10 11
53 0 57.191 46.007 47.089 46.409 58.837 58.986 50.845 48.889 48.871
54 5 53.032 45.531 46.271 46.969 57.365 57.169 49.780 50.671 48.546
55 10 50.717 41.765 44.365 44.951 54.757 54.174 46.611 48.465 47.452
56 15 49.119 41.417 43.768 42.729 52.791 51.507 44.652 47.368 47.782
57 20 47.487 37.884 43.084 41.812 51.628 49.393 43.776 47.184 43.197
58 25 42.998 41.101 41.191 40.898 47.837 47.157 40.133 45.791 43.906
59 30 43.952 37.112 40.650 39.376 46.995 45.593 38.956 43.750 38.886
60 40 40.956 38.914 40.449 38.450 43.337 44.384 37.054 42.849 37.604
61 60 37.283 36.998 39.756 36.470 39.954 41.838 35.538 42.456 37.750
legend_n = { # n in the paper's figure legends (claims file)
"fig1_rabbit_hr": 5, "fig1_mouse_hr": 5, "fig2_rabbit": 4, "fig2_mouse": 5, "fig2_rabbit_cat": 6,
"fig2_mouse_cat": 6, "fig3_tyramine": 4, "fig3_na": 4, "fig3_propranolol": 3, "fig3e": 3, "fig3f": 5,
"fig5f_rabbit": 4, "fig7f_mouse": 5}
rows = []
for key, n in legend_n.items():
tab = tables[key]
if "variable" in tab:
for var in tab.variable.unique():
if var in ("unlabelled column B", "pacing rate (bpm)"):
continue
w = sns.wide(tab, var)
rows.append({"table": key, "variable": var, "hearts": w.shape[1], "legend_n": n,
"times": ", ".join(f"{t:g}" for t in w.index), "missing": int(w.isna().sum().sum()),
"min": w.min().min(), "max": w.max().max()})
else:
cols = [c for c in tab.columns if c != "heart"]
rows.append({"table": key, "variable": "/".join(cols), "hearts": len(tab), "legend_n": n, "times": "",
"missing": int(tab[cols].isna().sum().sum()), "min": tab[cols].min().min(),
"max": tab[cols].max().max()})
print(pd.DataFrame(rows).to_string(index=False))
table variable hearts legend_n times missing min max
fig1_rabbit_hr baseline/sns 5 5 0 128.000 273.000
fig1_mouse_hr baseline/sns 5 5 0 322.000 572.000
fig2_rabbit CaTD80 4 4 0, 5, 10, 15, 20, 25, 30, 40, 50, 60 0 122.500 220.400
fig2_rabbit APD80 4 4 0, 5, 10, 15, 20, 25, 30, 40, 50, 60 0 134.300 194.400
fig2_rabbit HR 4 4 0, 5, 10, 15, 20, 25, 30, 40, 50, 60 0 122.000 220.000
fig2_mouse CaTD80 5 5 0, 5, 10, 15, 20, 25, 30, 40, 50, 60 0 64.500 78.300
fig2_mouse APD80 5 5 0, 5, 10, 15, 20, 25, 30, 40, 50, 60 0 43.900 66.700
fig2_mouse HR 5 5 0, 5, 10, 15, 20, 25, 30, 40, 50, 60 0 249.000 414.000
fig2_rabbit_cat CaT amplitude 6 6 0, 5, 10, 15, 20, 30, 60 0 1.000 1.200
fig2_mouse_cat CaT amplitude 6 6 0, 5, 10, 15, 20, 30, 60 0 0.970 1.170
fig3_tyramine CaTD80 4 4 0, 6.75, 17.75, 28.5, 59.5 0 63.200 83.900
fig3_tyramine APD80 4 4 0, 6.75, 17.75, 28.5, 59.5 0 46.700 66.600
fig3_tyramine HR 4 4 0, 6.75, 17.75, 28.5, 59.5 0 235.000 476.000
fig3_na CaTD80 4 4 0, 6.25, 12.33, 29.75, 59.75 1 54.300 81.300
fig3_na APD80 4 4 0, 6.25, 12.33, 29.75, 59.75 1 47.300 72.000
fig3_na HR 4 4 0, 6.25, 12.33, 29.75, 59.75 1 239.000 414.000
fig3_propranolol CaTD80 3 3 0, 5, 10, 15, 20, 25, 30, 40, 50, 60 0 68.700 75.000
fig3_propranolol APD80 3 3 0, 5, 10, 15, 20, 25, 30, 40, 50, 60 0 31.200 46.300
fig3_propranolol HR 3 3 0, 5, 10, 15, 20, 25, 30, 40, 50, 60 0 224.000 375.000
fig3e no SNS 3 3 0, 5, 10, 15, 20, 25, 30, 35 0 50.500 67.100
fig3e SNS 3 3 0, 5, 10, 15, 20, 25, 30, 35 0 51.700 74.300
fig3f no SNS 4 5 0, 5, 10, 15, 20, 25, 30, 40, 60 0 36.470 57.191
fig3f SNS 5 5 0, 5, 10, 15, 20, 25, 30, 40, 60 0 35.538 58.986
fig5f_rabbit base/apex 4 4 0 -62.900 -7.400
fig7f_mouse base/apex 5 5 0 4.700 16.700
Every table has the number of hearts its figure legend gives, except Figure 3F, whose "no SNS" (baseline) series has 4 hearts while the SNS series and the legend have 5 (the second column of the baseline block is empty). One noradrenaline heart has no value at 12.33 s. Ranges are consistent with the stated units: heart rate in beats per minute (rabbit 122 to 273, mouse 224 to 572), APD80 and CaTD80 in ms (rabbit 122 to 221, mouse 31 to 84), CaT amplitude relative to time 0 (0.97 to 1.20).
# The four CSV files in files/derivative against the Fig2 sheet.
for species in ("mouse", "rabbit"):
csv = pd.read_csv(pd.io.common.BytesIO(sns.read_file(
man, f"files/derivative/Effects_of_SNS_on_heart_rate_APD_and_CaTD_in_{species}.csv")), header=0)
k = csv.shape[1] // 3
long = tables[f"fig2_{species}"]
same = all(np.allclose(csv.iloc[:, 1 + i * k:1 + (i + 1) * k].values, sns.wide(long, var).T.values.T)
for i, var in enumerate(["CaTD80", "APD80", "HR"]))
print(f"{species} HR/APD/CaTD csv: {csv.shape[0]} times x {csv.shape[1] - 1} columns; identical to the Fig2 sheet: {same}")
csv = pd.read_csv(pd.io.common.BytesIO(sns.read_file(
man, f"files/derivative/Effects_of_SNS_on_CaT_Amplitude_in_{species}.csv")), header=0)
same = np.allclose(csv.iloc[:, 1:].values, sns.wide(tables[f"fig2_{species}_cat"], "CaT amplitude").values)
print(f"{species} CaT amplitude csv: identical to the Fig2 sheet: {same}")
# Any heart's series repeated within or across tables (the same recording deposited twice).
series = []
for key in ["fig2_rabbit", "fig2_mouse", "fig3_tyramine", "fig3_na", "fig3_propranolol", "fig3e", "fig3f",
"fig2_rabbit_cat", "fig2_mouse_cat"]:
tab = tables[key]
for var in tab.variable.unique():
if var in ("unlabelled column B", "pacing rate (bpm)"):
continue
w = sns.wide(tab, var)
for h in w.columns:
series.append((f"{key}/{var}/heart {h}", tuple(np.round(w[h].dropna().values, 3))))
dups = [(a[0], b[0]) for i, a in enumerate(series) for b in series[i + 1:] if a[1] == b[1]]
print("identical series:", dups or "none")
# Repeated adjacent values within a series.
for name, vals in series:
rep = [i for i in range(1, len(vals)) if vals[i] == vals[i - 1]]
if len(rep) and "propranolol" not in name and "cat" not in name.lower():
print(f"{name}: value repeated at consecutive time points (index {rep}): {vals[:3]}")
fig3e = sns.wide(tables["fig3e"], "no SNS"), sns.wide(tables["fig3e"], "SNS")
print("Fig. 3E: time 0 of the SNS series equals time 0 of the no-SNS series in every heart:",
bool((fig3e[0].loc[0] == fig3e[1].loc[0]).all()))
mouse HR/APD/CaTD csv: 10 times x 15 columns; identical to the Fig2 sheet: True mouse CaT amplitude csv: identical to the Fig2 sheet: True
rabbit HR/APD/CaTD csv: 10 times x 12 columns; identical to the Fig2 sheet: True
rabbit CaT amplitude csv: identical to the Fig2 sheet: True identical series: none fig2_rabbit/HR/heart 1: value repeated at consecutive time points (index [3, 6]): (np.float64(131.0), np.float64(189.0), np.float64(220.0)) fig2_rabbit/HR/heart 4: value repeated at consecutive time points (index [5]): (np.float64(125.0), np.float64(182.0), np.float64(194.0)) fig2_mouse/HR/heart 3: value repeated at consecutive time points (index [9]): (np.float64(259.0), np.float64(288.0), np.float64(291.0)) fig2_mouse/HR/heart 4: value repeated at consecutive time points (index [4, 5, 8]): (np.float64(353.0), np.float64(375.0), np.float64(377.0)) fig2_mouse/HR/heart 5: value repeated at consecutive time points (index [4]): (np.float64(249.0), np.float64(294.0), np.float64(296.0)) fig3_na/APD80/heart 4: value repeated at consecutive time points (index [3]): (np.float64(51.4), np.float64(58.8), np.float64(50.8)) fig3e/no SNS/heart 1: value repeated at consecutive time points (index [1]): (np.float64(56.9), np.float64(56.9), np.float64(65.9)) fig3e/no SNS/heart 2: value repeated at consecutive time points (index [1]): (np.float64(56.02), np.float64(56.02), np.float64(65.06)) fig3e/no SNS/heart 3: value repeated at consecutive time points (index [1]): (np.float64(57.3), np.float64(57.3), np.float64(67.1)) Fig. 3E: time 0 of the SNS series equals time 0 of the no-SNS series in every heart: True
The four CSV files repeat the Fig2 sheet, value for value; each recording is counted once, from the workbook. No heart's series is repeated in another table. In the Figure 3E table every heart's "no SNS" APD is the same at 0 s and 5 s (56.9, 56.02, 57.3 ms), and the SNS series starts from those same values; the first is consistent with a value carried over from 0 s, not a measurement at 5 s.
# Abstract: mouse APD80 50.9 +- 5.1 ms at 0 s, 60.6 +- 4.1 at 15 s, 46.5 +- 9.1 at 60 s (mean +- SD).
apd = sns.wide(tables["fig2_mouse"], "APD80")
print(sns.mean_sd(apd).loc[[0, 15, 60]].round(2).to_string())
# Fig1 (20 s SNS) against Fig2 time 0: are these the same hearts?
for species in ("rabbit", "mouse"):
f1 = tables[f"fig1_{species}_hr"]
f2 = sns.wide(tables[f"fig2_{species}"], "HR")
print(f"{species}: Fig1 baseline HR {sorted(f1.baseline.tolist())}; Fig2 HR at 0 s {sorted(f2.loc[0].tolist())}")
# Fig5F/7F base and apex change at 15 s against the whole-field APD change at 15 s in Fig2.
for species, key in (("rabbit", "fig5f_rabbit"), ("mouse", "fig7f_mouse")):
a = sns.wide(tables[f"fig2_{species}"], "APD80")
print(f"{species}: whole-field APD change at 15 s (Fig2) {sorted((a.loc[15] - a.loc[0]).round(1).tolist())}; "
f"base {sorted(tables[key].base.tolist())}; apex {sorted(tables[key].apex.tolist())}")
n mean sd time 0.0 5 50.52 4.52 15.0 5 61.18 3.24 60.0 5 49.54 4.94 rabbit: Fig1 baseline HR [128.0, 131.0, 138.0, 147.0, 157.0]; Fig2 HR at 0 s [122.0, 125.0, 131.0, 138.0] mouse: Fig1 baseline HR [322.0, 353.0, 372.0, 376.0, 401.0]; Fig2 HR at 0 s [249.0, 259.0, 276.0, 282.0, 353.0] rabbit: whole-field APD change at 15 s (Fig2) [-54.0, -12.7, -11.6, -6.6]; base [-62.9, -21.9, -15.3, -13.5]; apex [-43.7, -12.3, -9.6, -7.4] mouse: whole-field APD change at 15 s (Fig2) [8.7, 9.7, 10.6, 10.6, 13.7]; base [12.6, 13.4, 13.9, 15.7, 16.7]; apex [4.7, 5.2, 6.0, 7.0, 12.3]
The mouse APD80 table gives 50.52 +- 4.52 ms at 0 s and 61.18 +- 3.24 at 15 s, close to the Abstract's 50.9 +- 5.1 and 60.6 +- 4.1, but 49.54 +- 4.94 at 60 s against the Abstract's 46.5 +- 9.1: the deposited values are not exactly those the paper summarises. The Figure 1 heart rates are not those of the Figure 2 hearts at time 0, so Figure 1 and Figure 2 are separate recordings, or the Figure 1 baseline is taken differently. In the mouse every whole-field change in APD at 15 s lies in the range spanned by the base and apex changes (4.7 to 16.7 ms); in the rabbit three of the four do, and one (-6.6 ms) is smaller than every base and apex change (-62.9 to -7.4 ms). This is roughly consistent with Figures 5F and 7F coming from the same experiments as Figure 2, but no identifier links them.
The workbook gives values at stated time points only; there are no traces, frames or event times, so no clock can be checked between data streams.
Units and labels: Figure 1 has no units for heart rate. The Fig3 tables for tyramine and noradrenaline label time as "SNS Time (sec)" although these hearts were not stimulated (bolus infusion; Methods), their time points are not round (6.75, 17.75, 28.5, 59.5 s), and column B of each holds unlabelled values (0, 3.5, 3.403, 4.435, 9.469 for tyramine) that are consistent with the spread of the time points across hearts but are not described anywhere.
fig1a-rabbit-hr-increase and fig1d-mouse-hr-increase¶
In innervated rabbit (mouse) hearts, 20 s of SNS increased heart rate over baseline.
The Fig1 sheet gives one baseline and one SNS heart rate per heart. Which window of the 20 s it is (the claims file's readings: at 20 s, the mean over the 20 s, or the peak) is not stated in the dataset, so the three readings cannot be told apart: the one value is tested.
res_fig1 = {}
for species in ("rabbit", "mouse"):
t = tables[f"fig1_{species}_hr"]
r = sns.paired(t.baseline, t.sns)
res_fig1[species] = r
print(f"{species}: n = {len(t)}; baseline {t.baseline.mean():.1f} +- {t.baseline.std():.1f} bpm, "
f"SNS {t.sns.mean():.1f} +- {t.sns.std():.1f}; change per heart {(t.sns - t.baseline).tolist()}")
print(f" paired t-test, two-sided: t = {r['t']:.2f}, p = {r['p']:.2g}; hearts higher with SNS {(t.sns > t.baseline).sum()} of {len(t)}")
rabbit: n = 5; baseline 140.2 +- 11.9 bpm, SNS 237.2 +- 28.2; change per heart [116.0, 132.0, 82.0, 70.0, 85.0] paired t-test, two-sided: t = 8.37, p = 0.0011; hearts higher with SNS 5 of 5 mouse: n = 5; baseline 364.8 +- 29.4 bpm, SNS 488.0 +- 56.2; change per heart [171.0, 159.0, 120.0, 104.0, 62.0] paired t-test, two-sided: t = 6.28, p = 0.0033; hearts higher with SNS 5 of 5
Result: Reproduced in both species. Rabbit heart rate rose from 140.2 to 237.2 bpm (all 5 hearts, paired t-test p = 0.0011) and mouse heart rate from 364.8 to 488.0 bpm (all 5 hearts, p = 0.0033). The window the SNS value stands for is not stated.
fig1bc-rabbit-ap-cat-response and fig1ef-mouse-ap-cat-response¶
In the rabbit heart SNS shortened APD and CaTD and increased the normalized CaT amplitude. In the mouse heart SNS increased heart rate and CaT amplitude and shortened CaTD, but prolonged APD.
The dataset holds no APD, CaTD or CaT amplitude for the 20 s SNS hearts of Figure 1. They are tested on the first 20 s of the 60 s SNS series of Figure 2 (rabbit APD and CaTD 4 hearts, mouse 5; CaT amplitude 6 hearts each), a deviation from the paper's data. Windows, as the claims file reads "during SNS": (a) the value at 20 s; (b) the mean of 5, 10, 15 and 20 s; (c) the peak, the most extreme value in the stated direction from 5 to 20 s. Tests: (1) paired t-test against time 0 (amplitude: against 1, its value at time 0); (2) the stated direction in the majority of hearts.
def window_values(w, reading, direction):
span = w.loc[[5, 10, 15, 20]]
if reading == "a: at 20 s":
return w.loc[20]
if reading == "b: mean 5-20 s":
return span.mean()
return span.max() if direction > 0 else span.min()
def direction_table(species, wanted):
rows = []
for var, direction in wanted.items():
key = f"fig2_{species}_cat" if var == "CaT amplitude" else f"fig2_{species}"
w = sns.wide(tables[key], var)
for reading in ("a: at 20 s", "b: mean 5-20 s", "c: peak 5-20 s"):
v = window_values(w, reading, direction)
r = sns.paired(w.loc[0], v)
n_dir = int((np.sign(v - w.loc[0]) == direction).sum())
rows.append({"variable": var, "direction": "up" if direction > 0 else "down", "window": reading,
"n": r["n"], "baseline": w.loc[0].mean(), "SNS": v.mean(), "mean change": r["mean_diff"],
"t": r["t"], "p": r["p"], "hearts in direction": n_dir,
"test holds": (r["p"] < 0.05) and np.sign(r["mean_diff"]) == direction,
"majority holds": n_dir > len(v) / 2})
return pd.DataFrame(rows)
fig1bc = direction_table("rabbit", {"APD80": -1, "CaTD80": -1, "CaT amplitude": 1})
print("Rabbit"); print(fig1bc.round(4).to_string(index=False))
Rabbit
variable direction window n baseline SNS mean change t p hearts in direction test holds majority holds
APD80 down a: at 20 s 4 173.2 148.5750 -24.6250 -2.0836 0.1286 4 False True
APD80 down b: mean 5-20 s 4 173.2 156.4938 -16.7063 -1.9941 0.1401 4 False True
APD80 down c: peak 5-20 s 4 173.2 148.5750 -24.6250 -2.0836 0.1286 4 False True
CaTD80 down a: at 20 s 4 199.4 159.8750 -39.5250 -4.5302 0.0201 4 True True
CaTD80 down b: mean 5-20 s 4 199.4 168.0250 -31.3750 -4.9190 0.0161 4 True True
CaTD80 down c: peak 5-20 s 4 199.4 159.8750 -39.5250 -4.5302 0.0201 4 True True
CaT amplitude up a: at 20 s 6 1.0 1.1217 0.1217 7.8085 0.0006 6 True True
CaT amplitude up b: mean 5-20 s 6 1.0 1.0817 0.0817 5.7409 0.0022 6 True True
CaT amplitude up c: peak 5-20 s 6 1.0 1.1217 0.1217 7.8085 0.0006 6 True True
Result: Reproduced, on the 60 s series. In the rabbit, under every window, APD80 and CaTD80 are lower than at time 0 in all 4 hearts and the CaT amplitude is above 1 in all 6 hearts; by paired t-test the shortening of APD80 at 20 s (-24.6 ms) has p = 0.13 (the mean of 5 to 20 s, p = 0.14), CaTD80 at 20 s (-39.5 ms) p = 0.020 and the amplitude at 20 s (1.122) p = 0.0006. The claim holds under the majority reading for all three, and under the paired t-test reading for CaTD80 and amplitude only. These hearts are those of Figure 2, not Figure 1.
fig1ef = direction_table("mouse", {"HR": 1, "CaT amplitude": 1, "CaTD80": -1, "APD80": 1})
print("Mouse"); print(fig1ef.round(4).to_string(index=False))
Mouse
variable direction window n baseline SNS mean change t p hearts in direction test holds majority holds
HR up a: at 20 s 5 283.80 344.6000 60.8000 4.5426 0.0105 5 True True
HR up b: mean 5-20 s 5 283.80 335.6000 51.8000 4.9802 0.0076 5 True True
HR up c: peak 5-20 s 5 283.80 344.6000 60.8000 4.5426 0.0105 5 True True
CaT amplitude up a: at 20 s 6 1.00 1.1067 0.1067 5.4880 0.0027 6 True True
CaT amplitude up b: mean 5-20 s 6 1.00 1.0592 0.0592 7.7010 0.0006 6 True True
CaT amplitude up c: peak 5-20 s 6 1.00 1.1067 0.1067 5.4880 0.0027 6 True True
CaTD80 down a: at 20 s 5 76.70 73.3400 -3.3600 -2.9599 0.0416 5 True True
CaTD80 down b: mean 5-20 s 5 76.70 73.9350 -2.7650 -3.1845 0.0334 5 True True
CaTD80 down c: peak 5-20 s 5 76.70 73.2800 -3.4200 -3.0683 0.0374 5 True True
APD80 up a: at 20 s 5 50.52 60.0400 9.5200 13.6925 0.0002 5 True True
APD80 up b: mean 5-20 s 5 50.52 59.0750 8.5550 9.3324 0.0007 5 True True
APD80 up c: peak 5-20 s 5 50.52 61.1800 10.6600 12.7357 0.0002 5 True True
Result: Reproduced, on the 60 s series. In the mouse, under every window and both tests, heart rate and CaT amplitude rise, CaTD80 falls and APD80 rises (APD80 at 20 s: +9.5 ms, 5 of 5 hearts, p = 0.0002; CaTD80 at 20 s: -3.4 ms, 5 of 5, p = 0.042; amplitude at 20 s: 1.107, 6 of 6, p = 0.0027; heart rate at 20 s: +60.8 bpm, 5 of 5, p = 0.011). These hearts are those of Figure 2, not Figure 1.
fig2a-rabbit-monotonic¶
Over 60 s of SNS in the rabbit, heart rate increased monotonically while APD and CaTD decreased monotonically, with significant changes from time 0.
Readings of "monotonic": (a) the mean over hearts moves in the stated direction at every successive time point; (b) no successive pair differs in the opposite direction by paired t-test at p < 0.05. Significance against time 0 at 60 s: (i) paired t-test; (ii) repeated measures ANOVA, then comparisons against time 0 with the Holm-Sidak adjustment (the adjustment is this attempt's assumption).
def time_course_report(long, wanted, label):
out = {}
for var, direction in wanted.items():
w = sns.wide(long, var)
ms = sns.mean_sd(w)
mono = sns.monotonic(w, direction)
tests = sns.against_time0(w)
out[var] = (w, ms, mono, tests)
print(f"--- {label}: {var} (expected {({1: 'up', -1: 'down', 0: 'biphasic'})[direction]})")
print(pd.concat([ms.round(2), tests.round(4)], axis=1).to_string())
print(" " + sns.anova_line(tests))
if direction == 0:
continue
print(f" monotonic (a) mean at every step: {mono['a']}; steps against: {[(a, b, round(d, 2)) for a, b, d in mono['a_broken']]}")
print(f" monotonic (b) no significant step against: {mono['b']}; significant steps against: "
f"{[(a, b, round(d, 2), round(p, 4)) for a, b, d, p in mono['b_broken']]}")
return out
fig2a = time_course_report(tables["fig2_rabbit"], {"HR": 1, "APD80": -1, "CaTD80": -1}, "rabbit")
--- rabbit: HR (expected up)
n mean sd n mean_diff t p p_rm_holm_sidak p_rm_pooled_holm_sidak
time
0.0 4 129.00 7.07 NaN NaN NaN NaN NaN NaN
5.0 4 185.75 2.99 4.0 56.75 15.3159 0.0006 0.0015 0.0
10.0 4 203.50 11.39 4.0 74.50 13.2565 0.0009 0.0015 0.0
15.0 4 206.25 9.88 4.0 77.25 16.6360 0.0005 0.0015 0.0
20.0 4 206.50 7.33 4.0 77.50 22.9368 0.0002 0.0009 0.0
25.0 4 204.50 4.80 4.0 75.50 38.9880 0.0000 0.0003 0.0
30.0 4 204.25 5.68 4.0 75.25 45.5503 0.0000 0.0002 0.0
40.0 4 201.75 5.85 4.0 72.75 40.4844 0.0000 0.0003 0.0
50.0 4 198.75 7.04 4.0 69.75 26.8883 0.0001 0.0007 0.0
60.0 4 194.75 8.77 4.0 65.75 18.0771 0.0004 0.0015 0.0
repeated measures ANOVA over 4 hearts: F(9, 27) = 83.66, p = 2.25e-17; Greenhouse-Geisser epsilon 0.16, corrected p = 0.000467
monotonic (a) mean at every step: False; steps against: [(20.0, 25.0, -2.0), (25.0, 30.0, -0.25), (30.0, 40.0, -2.5), (40.0, 50.0, -3.0), (50.0, 60.0, -4.0)]
monotonic (b) no significant step against: False; significant steps against: [(50.0, 60.0, -4.0, 0.0469)]
--- rabbit: APD80 (expected down)
n mean sd n mean_diff t p p_rm_holm_sidak p_rm_pooled_holm_sidak
time
0.0 4 173.20 15.00 NaN NaN NaN NaN NaN NaN
5.0 4 167.42 10.30 4.0 -5.775 -2.3634 0.0991 0.4065 0.3151
10.0 4 158.00 5.45 4.0 -15.200 -1.8292 0.1648 0.4065 0.0238
15.0 4 151.98 9.77 4.0 -21.225 -1.9286 0.1494 0.4065 0.0025
20.0 4 148.57 11.13 4.0 -24.625 -2.0836 0.1286 0.4065 0.0007
25.0 4 146.82 10.42 4.0 -26.375 -2.3240 0.1027 0.4065 0.0004
30.0 4 145.88 9.08 4.0 -27.325 -2.6258 0.0786 0.3881 0.0003
40.0 4 143.70 6.30 4.0 -29.500 -3.2846 0.0463 0.2822 0.0001
50.0 4 141.92 4.66 4.0 -31.275 -3.9905 0.0282 0.2044 0.0001
60.0 4 141.88 4.25 4.0 -31.325 -4.4313 0.0214 0.1766 0.0001
repeated measures ANOVA over 4 hearts: F(9, 27) = 7.49, p = 2.07e-05; Greenhouse-Geisser epsilon 0.12, corrected p = 0.0662
monotonic (a) mean at every step: True; steps against: []
monotonic (b) no significant step against: True; significant steps against: []
--- rabbit: CaTD80 (expected down)
n mean sd n mean_diff t p p_rm_holm_sidak p_rm_pooled_holm_sidak
time
0.0 4 199.40 18.98 NaN NaN NaN NaN NaN NaN
5.0 4 181.22 15.28 4.0 -18.175 -6.4743 0.0075 0.0440 0.0003
10.0 4 168.50 23.89 4.0 -30.900 -4.5955 0.0194 0.0570 0.0000
15.0 4 162.50 28.35 4.0 -36.900 -4.2857 0.0233 0.0570 0.0000
20.0 4 159.88 28.59 4.0 -39.525 -4.5302 0.0201 0.0570 0.0000
25.0 4 159.75 26.34 4.0 -39.650 -5.2624 0.0134 0.0524 0.0000
30.0 4 160.25 23.93 4.0 -39.150 -6.1619 0.0086 0.0440 0.0000
40.0 4 161.57 22.01 4.0 -37.825 -7.4631 0.0050 0.0344 0.0000
50.0 4 163.60 20.49 4.0 -35.800 -8.1374 0.0039 0.0306 0.0000
60.0 4 165.65 20.16 4.0 -33.750 -9.1492 0.0028 0.0246 0.0000
repeated measures ANOVA over 4 hearts: F(9, 27) = 17.24, p = 5.05e-09; Greenhouse-Geisser epsilon 0.12, corrected p = 0.0202
monotonic (a) mean at every step: False; steps against: [(25.0, 30.0, 0.5), (30.0, 40.0, 1.32), (40.0, 50.0, 2.03), (50.0, 60.0, 2.05)]
monotonic (b) no significant step against: True; significant steps against: []
summary = []
for var, (w, ms, mono, tests) in fig2a.items():
d = 1 if var == "HR" else -1
sig_i = tests.loc[60, "p"] < 0.05 and np.sign(tests.loc[60, "mean_diff"]) == d
sig_ii = tests.attrs["anova_p"] < 0.05 and tests.loc[60, "p_rm_holm_sidak"] < 0.05 and np.sign(tests.loc[60, "mean_diff"]) == d
sig_iip = tests.attrs["anova_p"] < 0.05 and tests.loc[60, "p_rm_pooled_holm_sidak"] < 0.05 and np.sign(tests.loc[60, "mean_diff"]) == d
peak_t = ms["mean"].idxmax() if d > 0 else ms["mean"].idxmin()
summary.append({"variable": var, "mono (a)": mono["a"], "mono (b)": mono["b"], "60 s sig (i)": sig_i,
"60 s sig (ii)": sig_ii, "60 s sig (ii pooled)": sig_iip, "time of extreme mean": peak_t,
"change 0 to extreme": ms["mean"][peak_t] - ms["mean"][0],
"change 0 to 60 s": ms["mean"][60] - ms["mean"][0]})
summary = pd.DataFrame(summary)
print(summary.round(2).to_string(index=False))
combos = {(m, s): all(summary[f"mono ({m})"] & summary[f"60 s sig ({s})"]) for m in "ab" for s in ("i", "ii", "ii pooled")}
print("all three variables hold under (monotonic, significance) reading:", combos)
# Per heart: does each heart's series move in the stated direction at every step?
for var, (w, *_ ) in fig2a.items():
d = 1 if var == "HR" else -1
print(var, "hearts monotonic at every step:", [bool((np.sign(np.diff(w[h].values)) == d).all()) for h in w.columns])
variable mono (a) mono (b) 60 s sig (i) 60 s sig (ii) 60 s sig (ii pooled) time of extreme mean change 0 to extreme change 0 to 60 s
HR False False True True True 20.0 77.50 65.75
APD80 True True True False True 60.0 -31.32 -31.32
CaTD80 False True True True True 25.0 -39.65 -33.75
all three variables hold under (monotonic, significance) reading: {('a', 'i'): False, ('a', 'ii'): False, ('a', 'ii pooled'): False, ('b', 'i'): False, ('b', 'ii'): False, ('b', 'ii pooled'): False}
HR hearts monotonic at every step: [False, False, False, False]
APD80 hearts monotonic at every step: [False, True, True, True]
CaTD80 hearts monotonic at every step: [False, False, False, False]
Result: Not reproduced. At 60 s every variable differs from time 0 in the stated direction by paired t-test (HR +65.75 bpm, p = 0.0004; APD80 -31.3 ms, p = 0.021; CaTD80 -33.75 ms, p = 0.0028). After the repeated measures ANOVA, Holm-Sidak adjusted paired t-tests find HR and CaTD80 at 60 s (p = 0.0015 and 0.0246) but not APD80 (p = 0.18); Holm-Sidak comparisons on the ANOVA's pooled error, a variant, find all three at 60 s (APD80 p < 0.0001). With the Greenhouse-Geisser correction the APD80 ANOVA is not significant (p = 0.066), while the HR and CaTD80 ANOVAs are (p = 0.0005 and 0.020). APD80 falls at every step of the mean. Heart rate is not monotonic: the mean peaks at 20 s and falls by 11.75 bpm to 60 s, and the fall from 50 to 60 s is significant (paired t-test p = 0.047). CaTD80 is monotonic under reading (b) but not (a): its mean is lowest at 25 s and rises by 5.9 ms to 60 s without a significant step. No combination of readings has all three variables monotonic and significant at 60 s (the table above), and the criterion states no partial result, so the claim is not reproduced. Under reading (b) heart rate fails only on one unadjusted step test of 9, at p = 0.047; were that step not significant, reading (b) with (i) would hold for all three variables. Under reading (a) heart rate fails whatever the tests, as 5 of 9 steps of the mean go the wrong way. What holds is the direction of the change from time 0 at 60 s for all three variables under reading (i), and the monotonic fall of APD80.
fig2d-mouse-biphasic-apd¶
In the mouse, over 60 s of SNS, heart rate increased monotonically and CaTD decreased monotonically, but APD was biphasic, prolonging to a maximum near 15 s (50.9 +- 5.1 ms at 0 s, 60.6 +- 4.1 ms at 15 s, p < 0.05) and shortening to near control by 60 s (46.5 +- 9.1 ms, not different from 0 s).
fig2d = time_course_report(tables["fig2_mouse"], {"APD80": 0, "HR": 1, "CaTD80": -1}, "mouse")
--- mouse: APD80 (expected biphasic)
n mean sd n mean_diff t p p_rm_holm_sidak p_rm_pooled_holm_sidak
time
0.0 5 50.52 4.52 NaN NaN NaN NaN NaN NaN
5.0 5 55.58 2.36 5.0 5.06 3.5335 0.0242 0.0932 0.0000
10.0 5 59.50 3.20 5.0 8.98 11.1093 0.0004 0.0026 0.0000
15.0 5 61.18 3.24 5.0 10.66 12.7357 0.0002 0.0018 0.0000
20.0 5 60.04 3.80 5.0 9.52 13.6925 0.0002 0.0015 0.0000
25.0 5 58.10 4.18 5.0 7.58 10.8798 0.0004 0.0026 0.0000
30.0 5 56.28 4.38 5.0 5.76 5.4830 0.0054 0.0267 0.0000
40.0 5 52.60 5.36 5.0 2.08 1.8289 0.1414 0.3671 0.0939
50.0 5 51.24 4.91 5.0 0.72 0.5116 0.6359 0.7234 0.5117
60.0 5 49.54 4.94 5.0 -0.98 -0.7893 0.4741 0.7234 0.5117
repeated measures ANOVA over 5 hearts: F(9, 36) = 41.53, p = 2.3e-16; Greenhouse-Geisser epsilon 0.22, corrected p = 6.84e-05
--- mouse: HR (expected up)
n mean sd n mean_diff t p p_rm_holm_sidak p_rm_pooled_holm_sidak
time
0.0 5 283.8 40.86 NaN NaN NaN NaN NaN NaN
5.0 5 321.4 36.32 5.0 37.6 5.7635 0.0045 0.0398 0.0001
10.0 5 335.0 39.39 5.0 51.2 4.6102 0.0100 0.0514 0.0000
15.0 5 341.4 41.08 5.0 57.6 4.7321 0.0091 0.0514 0.0000
20.0 5 344.6 42.03 5.0 60.8 4.5426 0.0105 0.0514 0.0000
25.0 5 348.4 42.06 5.0 64.6 4.4959 0.0109 0.0514 0.0000
30.0 5 356.6 44.44 5.0 72.8 4.8812 0.0082 0.0514 0.0000
40.0 5 361.6 44.10 5.0 77.8 5.2821 0.0062 0.0482 0.0000
50.0 5 367.2 45.92 5.0 83.4 4.9615 0.0077 0.0514 0.0000
60.0 5 371.2 48.78 5.0 87.4 4.9950 0.0075 0.0514 0.0000
repeated measures ANOVA over 5 hearts: F(9, 36) = 19.43, p = 2.62e-11; Greenhouse-Geisser epsilon 0.13, corrected p = 0.00802
monotonic (a) mean at every step: True; steps against: []
monotonic (b) no significant step against: True; significant steps against: []
--- mouse: CaTD80 (expected down)
n mean sd n mean_diff t p p_rm_holm_sidak p_rm_pooled_holm_sidak
time
0.0 5 76.70 2.01 NaN NaN NaN NaN NaN NaN
5.0 5 74.58 2.07 5.0 -2.12 -4.0545 0.0154 0.1305 0.0207
10.0 5 74.00 2.77 5.0 -2.70 -3.2294 0.0320 0.1405 0.0078
15.0 5 73.82 3.03 5.0 -2.88 -2.7798 0.0498 0.1405 0.0068
20.0 5 73.34 3.19 5.0 -3.36 -2.9599 0.0416 0.1405 0.0019
25.0 5 72.74 3.59 5.0 -3.96 -2.9811 0.0407 0.1405 0.0003
30.0 5 71.98 3.64 5.0 -4.72 -3.4158 0.0269 0.1405 0.0000
40.0 5 70.80 4.26 5.0 -5.90 -3.6696 0.0214 0.1405 0.0000
50.0 5 69.88 4.27 5.0 -6.82 -3.8902 0.0177 0.1330 0.0000
60.0 5 69.50 4.72 5.0 -7.20 -3.6699 0.0214 0.1405 0.0000
repeated measures ANOVA over 5 hearts: F(9, 36) = 13.09, p = 5.94e-09; Greenhouse-Geisser epsilon 0.12, corrected p = 0.0182
monotonic (a) mean at every step: True; steps against: []
monotonic (b) no significant step against: True; significant steps against: []
w, ms, _, tests = fig2d["APD80"]
expected = {0: (50.9, 5.1), 15: (60.6, 4.1), 60: (46.5, 9.1)}
for t, (v, tol) in expected.items():
print(f"APD80 at {t:>2} s: measured {ms['mean'][t]:.2f} ms, expected {v} +- {tol}: within tolerance {abs(ms['mean'][t] - v) <= tol}")
print(f"time of the largest mean APD80: {ms['mean'].idxmax():g} s")
for t in (15, 60):
print(f"{t} s against 0 s: (i) paired t p = {tests.loc[t, 'p']:.4f}; (ii) RM ANOVA p = {tests.attrs['anova_p']:.2g}, "
f"Holm-Sidak p = {tests.loc[t, 'p_rm_holm_sidak']:.4f} (pooled error {tests.loc[t, 'p_rm_pooled_holm_sidak']:.4f}); mean change {tests.loc[t, 'mean_diff']:.2f} ms")
print("HR monotonic up (a, b):", fig2d["HR"][2]["a"], fig2d["HR"][2]["b"],
"; CaTD80 monotonic down (a, b):", fig2d["CaTD80"][2]["a"], fig2d["CaTD80"][2]["b"])
print("per heart, time of the largest APD80:", w.idxmax().tolist())
APD80 at 0 s: measured 50.52 ms, expected 50.9 +- 5.1: within tolerance True APD80 at 15 s: measured 61.18 ms, expected 60.6 +- 4.1: within tolerance True APD80 at 60 s: measured 49.54 ms, expected 46.5 +- 9.1: within tolerance True time of the largest mean APD80: 15 s 15 s against 0 s: (i) paired t p = 0.0002; (ii) RM ANOVA p = 2.3e-16, Holm-Sidak p = 0.0018 (pooled error 0.0000); mean change 10.66 ms 60 s against 0 s: (i) paired t p = 0.4741; (ii) RM ANOVA p = 2.3e-16, Holm-Sidak p = 0.7234 (pooled error 0.5117); mean change -0.98 ms HR monotonic up (a, b): True True ; CaTD80 monotonic down (a, b): True True per heart, time of the largest APD80: [15.0, 15.0, 15.0, 15.0, 15.0]
Result: Reproduced. Mean APD80 is 50.52 ms at 0 s, 61.18 at 15 s and 49.54 at 60 s, each within the stated SD of the paper's value; it peaks at 15 s in the mean and in every heart. 15 s exceeds 0 s (+10.66 ms; paired t-test p = 0.0002, Holm-Sidak after the repeated measures ANOVA p = 0.0018) and 60 s does not differ from 0 s (-0.98 ms; p = 0.47 and 0.72). The pooled-error Holm-Sidak variant agrees (15 s p < 0.0001, 60 s p = 0.51). Heart rate rises and CaTD80 falls at every step of the mean. The 60 s SD (4.94 ms) is about half of the Abstract's 9.1.
fig2cf-cat-amplitude-similar¶
Both species increased relative CaT amplitude during 60 s of SNS, with similar magnitude and time course.
Increase: relative amplitude above 1 at p < 0.05 against time 0 (paired t-test, equal to a one-sample t-test against 1) at some time point. Similarity: (a) at each sampled time after 0 each species' mean within the other's SD; (b) unpaired two-sided t-test between species at each time, p >= 0.05. Time 0 is 1 by construction in both and is left out of the similarity readings.
rab = sns.wide(tables["fig2_rabbit_cat"], "CaT amplitude")
mou = sns.wide(tables["fig2_mouse_cat"], "CaT amplitude")
rows = []
for t in rab.index:
r_r, r_m = sns.paired(rab.loc[0], rab.loc[t]), sns.paired(mou.loc[0], mou.loc[t])
u = stats.ttest_ind(rab.loc[t], mou.loc[t]) if t > 0 else None
rows.append({"time": t, "rabbit mean": rab.loc[t].mean(), "rabbit sd": rab.loc[t].std(), "rabbit p vs 0": r_r["p"],
"mouse mean": mou.loc[t].mean(), "mouse sd": mou.loc[t].std(), "mouse p vs 0": r_m["p"],
"means within other's SD": (abs(rab.loc[t].mean() - mou.loc[t].mean()) <= min(rab.loc[t].std(), mou.loc[t].std())) if t > 0 else None,
"unpaired p": u.pvalue if u is not None else None})
cat = pd.DataFrame(rows).set_index("time")
print(cat.round(4).to_string())
for name, w in (("rabbit", rab), ("mouse", mou)):
tests = sns.against_time0(w)
print(f"{name}: {sns.anova_line(tests)}; Holm-Sidak p against time 0: {tests['p_rm_holm_sidak'].round(4).tolist()}")
c = cat.loc[cat.index > 0]
print("increase in rabbit:", bool(((c['rabbit p vs 0'] < 0.05) & (c['rabbit mean'] > 1)).any()),
"; in mouse:", bool(((c['mouse p vs 0'] < 0.05) & (c['mouse mean'] > 1)).any()))
print("similar (a) at every time:", bool(c["means within other's SD"].all()), "; (b) at every time:", bool((c["unpaired p"] >= 0.05).all()))
print("time of the largest mean: rabbit", cat["rabbit mean"].idxmax(), "s, mouse", cat["mouse mean"].idxmax(), "s")
rabbit mean rabbit sd rabbit p vs 0 mouse mean mouse sd mouse p vs 0 means within other's SD unpaired p time 0.0 1.0000 0.0000 NaN 1.0000 0.0000 NaN None NaN 5.0 1.0267 0.0103 0.0015 1.0117 0.0248 0.3019 False 0.2018 10.0 1.0800 0.0498 0.0110 1.0467 0.0186 0.0017 False 0.1556 15.0 1.0983 0.0436 0.0026 1.0717 0.0183 0.0002 False 0.1970 20.0 1.1217 0.0382 0.0006 1.1067 0.0476 0.0027 True 0.5605 30.0 1.1233 0.0561 0.0030 1.0950 0.0586 0.0106 True 0.4121 60.0 1.1100 0.0663 0.0097 1.0667 0.0745 0.0798 True 0.3122 rabbit: repeated measures ANOVA over 6 hearts: F(6, 30) = 21.38, p = 1.35e-09; Greenhouse-Geisser epsilon 0.22, corrected p = 0.00211; Holm-Sidak p against time 0: [0.0073, 0.0193, 0.0106, 0.0033, 0.0106, 0.0193]
mouse: repeated measures ANOVA over 6 hearts: F(6, 30) = 7.53, p = 5.55e-05; Greenhouse-Geisser epsilon 0.22, corrected p = 0.0268; Holm-Sidak p against time 0: [0.3019, 0.0083, 0.0013, 0.0109, 0.0315, 0.1533] increase in rabbit: True ; in mouse: True similar (a) at every time: False ; (b) at every time: True time of the largest mean: rabbit 30.0 s, mouse 20.0 s
Result: Reproduced, under similarity reading (b). The relative amplitude rises above 1 in both species (rabbit 1.122 at 20 s, p = 0.0006; mouse 1.107 at 20 s, p = 0.0027; by paired t-test the rabbit is above 1 at every time from 5 s, the mouse from 10 to 30 s). The unpaired t-tests between species give p from 0.16 to 0.56 at every time point (reading b). Under reading (a) similarity fails at 5, 10 and 15 s, where the rabbit mean is higher than the mouse mean by more than the smaller SD (at 15 s, 1.098 against 1.072, mouse SD 0.018); from 20 s on it holds. The rabbit mean peaks at 30 s (1.123) and the mouse mean at 20 s (1.107).
fig3abc-tyramine-na-mimic-sns¶
In traditionally perfused mouse hearts, bolus tyramine (20 uM) or noradrenaline (50 nM) produced APD, CaTD and HR responses similar to those of SNS.
Read as the pattern of fig2d-mouse-biphasic-apd: HR rising and CaTD falling (monotonic as read in fig2a, readings a and b), APD above time 0 at an early time point by paired t-test at p < 0.05, and APD back toward time 0 at the last time point (the mean at the last time below the peak mean). The time points are those of the table (mean times across hearts; the bolus times are not round).
fig3 = {}
for agent, key in (("tyramine", "fig3_tyramine"), ("noradrenaline", "fig3_na")):
out = time_course_report(tables[key], {"HR": 1, "CaTD80": -1, "APD80": 1}, agent)
w, ms, _, tests = out["APD80"]
early = tests.index[0]
t_last = w.index.max()
hr, catd = out["HR"][2], out["CaTD80"][2]
pattern = {
"HR rising (a)": hr["a"], "HR rising (b)": hr["b"], "CaTD falling (a)": catd["a"], "CaTD falling (b)": catd["b"],
"APD up at an early time (p<0.05)": bool(((tests.p < 0.05) & (tests.mean_diff > 0) & (tests.index <= 20)).any()),
"peak APD time": ms["mean"].idxmax(),
"APD last below peak": bool(ms["mean"][t_last] < ms["mean"].max()),
"APD last minus time 0": round(ms["mean"][t_last] - ms["mean"][0], 2),
"APD last vs 0 p": round(tests.loc[t_last, "p"], 4)}
fig3[agent] = pattern
print(agent, pattern, "\n")
--- tyramine: HR (expected up)
n mean sd n mean_diff t p p_rm_holm_sidak p_rm_pooled_holm_sidak
time
0.00 4 256.75 18.84 NaN NaN NaN NaN NaN NaN
6.75 4 351.25 47.77 4.0 94.5 5.1218 0.0144 0.0144 0.0004
17.75 4 409.25 21.91 4.0 152.5 17.3884 0.0004 0.0017 0.0000
28.50 4 446.75 21.03 4.0 190.0 11.1797 0.0015 0.0046 0.0000
59.50 4 448.75 21.30 4.0 192.0 10.1216 0.0021 0.0046 0.0000
repeated measures ANOVA over 4 hearts: F(4, 12) = 35.11, p = 1.55e-06; Greenhouse-Geisser epsilon 0.38, corrected p = 0.00198
monotonic (a) mean at every step: True; steps against: []
monotonic (b) no significant step against: True; significant steps against: []
--- tyramine: CaTD80 (expected down)
n mean sd n mean_diff t p p_rm_holm_sidak p_rm_pooled_holm_sidak
time
0.00 4 81.78 2.42 NaN NaN NaN NaN NaN NaN
6.75 4 77.25 3.82 4.0 -4.525 -4.9750 0.0156 0.0156 0.0006
17.75 4 73.22 2.96 4.0 -8.550 -14.4694 0.0007 0.0016 0.0000
28.50 4 70.92 1.19 4.0 -10.850 -15.9255 0.0005 0.0016 0.0000
59.50 4 66.05 1.95 4.0 -15.725 -20.0145 0.0003 0.0011 0.0000
repeated measures ANOVA over 4 hearts: F(4, 12) = 76.35, p = 1.98e-08; Greenhouse-Geisser epsilon 0.41, corrected p = 0.000241
monotonic (a) mean at every step: True; steps against: []
monotonic (b) no significant step against: True; significant steps against: []
--- tyramine: APD80 (expected up)
n mean sd n mean_diff t p p_rm_holm_sidak p_rm_pooled_holm_sidak
time
0.00 4 50.97 3.52 NaN NaN NaN NaN NaN NaN
6.75 4 59.35 3.51 4.0 8.375 4.8442 0.0168 0.0333 0.0001
17.75 4 61.98 3.66 4.0 11.000 15.7411 0.0006 0.0022 0.0000
28.50 4 60.32 2.20 4.0 9.350 11.2765 0.0015 0.0045 0.0000
59.50 4 53.10 3.85 4.0 2.125 2.5297 0.0854 0.0854 0.1414
repeated measures ANOVA over 4 hearts: F(4, 12) = 25.44, p = 8.76e-06; Greenhouse-Geisser epsilon 0.44, corrected p = 0.00219
monotonic (a) mean at every step: False; steps against: [(17.75, 28.5, -1.65), (28.5, 59.5, -7.23)]
monotonic (b) no significant step against: False; significant steps against: [(28.5, 59.5, -7.23, 0.0145)]
tyramine {'HR rising (a)': True, 'HR rising (b)': True, 'CaTD falling (a)': True, 'CaTD falling (b)': True, 'APD up at an early time (p<0.05)': True, 'peak APD time': np.float64(17.75), 'APD last below peak': True, 'APD last minus time 0': np.float64(2.13), 'APD last vs 0 p': np.float64(0.0854)}
--- noradrenaline: HR (expected up)
n mean sd n mean_diff t p p_rm_holm_sidak p_rm_pooled_holm_sidak
time
0.00 4 290.25 48.41 NaN NaN NaN NaN NaN NaN
6.25 4 360.25 27.32 4.0 70.00 6.6342 0.0070 0.0419 0.0004
12.33 3 392.33 23.46 3.0 85.00 7.6850 0.0165 0.0419 0.0001
29.75 4 399.50 21.19 4.0 109.25 5.1786 0.0140 0.0419 0.0001
59.75 4 372.75 37.62 4.0 82.50 4.3217 0.0228 0.0419 0.0004
repeated measures ANOVA over 3 hearts: F(4, 8) = 26.10, p = 0.000121; Greenhouse-Geisser epsilon 0.30, corrected p = 0.0246
monotonic (a) mean at every step: False; steps against: [(29.75, 59.75, -26.75)]
monotonic (b) no significant step against: True; significant steps against: []
--- noradrenaline: CaTD80 (expected down)
n mean sd n mean_diff t p p_rm_holm_sidak p_rm_pooled_holm_sidak
time
0.00 4 76.70 5.14 NaN NaN NaN NaN NaN NaN
6.25 4 68.60 6.00 4.0 -8.1000 -14.7885 0.0007 0.0022 0.0335
12.33 3 61.13 2.92 3.0 -17.0667 -6.3220 0.0241 0.0706 0.0008
29.75 4 58.32 1.50 4.0 -18.3750 -6.9448 0.0061 0.0706 0.0005
59.75 4 56.20 1.86 4.0 -20.5000 -6.4628 0.0075 0.0706 0.0003
repeated measures ANOVA over 3 hearts: F(4, 8) = 19.17, p = 0.000368; Greenhouse-Geisser epsilon 0.34, corrected p = 0.0255
monotonic (a) mean at every step: True; steps against: []
monotonic (b) no significant step against: True; significant steps against: []
--- noradrenaline: APD80 (expected up)
n mean sd n mean_diff t p p_rm_holm_sidak p_rm_pooled_holm_sidak
time
0.00 4 52.02 2.15 NaN NaN NaN NaN NaN NaN
6.25 4 61.55 5.41 4.0 9.5250 5.7729 0.0103 0.1150 0.0040
12.33 3 64.07 6.91 3.0 11.8333 4.7392 0.0418 0.1150 0.0021
29.75 4 54.95 5.57 4.0 2.9250 1.5243 0.2248 0.1962 0.1721
59.75 4 48.82 1.80 4.0 -3.2000 -3.2803 0.0464 0.0904 0.1721
repeated measures ANOVA over 3 hearts: F(4, 8) = 19.93, p = 0.000321; Greenhouse-Geisser epsilon 0.35, corrected p = 0.0227
monotonic (a) mean at every step: False; steps against: [(12.33, 29.75, -9.12), (29.75, 59.75, -6.12)]
monotonic (b) no significant step against: False; significant steps against: [(12.33, 29.75, -7.73, 0.0436)]
noradrenaline {'HR rising (a)': False, 'HR rising (b)': True, 'CaTD falling (a)': True, 'CaTD falling (b)': True, 'APD up at an early time (p<0.05)': True, 'peak APD time': np.float64(12.33), 'APD last below peak': True, 'APD last minus time 0': np.float64(-3.2), 'APD last vs 0 p': np.float64(0.0464)}
ok = {}
for agent, p in fig3.items():
ok[agent] = {"a": p["HR rising (a)"] and p["CaTD falling (a)"], "b": p["HR rising (b)"] and p["CaTD falling (b)"]}
ok[agent] = {k: v and p["APD up at an early time (p<0.05)"] and p["APD last below peak"] for k, v in ok[agent].items()}
print("pattern holds, by monotonic reading:", ok)
pattern holds, by monotonic reading: {'tyramine': {'a': True, 'b': True}, 'noradrenaline': {'a': False, 'b': True}}
Result: Reproduced, for noradrenaline under monotonic reading (b) only. Tyramine reproduces the SNS pattern under both readings: heart rate rises and CaTD80 falls at every step of the mean, APD80 is above time 0 from 6.75 s (+8.38 ms, p = 0.017), peaks at 17.75 s and returns toward time 0 by 59.5 s (+2.13 ms, p = 0.085). Noradrenaline gives the APD response (above time 0 at 6.25 s, +9.53 ms, p = 0.010; peak at 12.33 s; 3.20 ms below time 0 at 59.75 s, p = 0.046) and CaTD80 falls at every step, but its heart rate falls from 29.75 to 59.75 s in all 4 hearts (mean -26.75 bpm), so heart rate is not monotonic under reading (a); under reading (b) that fall is not significant at p < 0.05 and the pattern holds. One noradrenaline heart has no value at 12.33 s. The claim holds for both agents under reading (b) and for tyramine alone under reading (a). The criterion asks for heart rate rising, and the noradrenaline heart rate stays above time 0 throughout, so the outcome is reproduced. Reading (b) has little power with 3 or 4 hearts: the noradrenaline heart rate falls by 26.75 bpm in the mean from 29.75 to 59.75 s, in all 4 hearts, though it stays 82.5 bpm above time 0 (p = 0.023).
fig3d-propranolol-abolishes¶
Propranolol (10 uM) completely abolished the HR, APD and CaTD effects of SNS in the mouse heart.
A claim of absence. The paper's test, repeated measures ANOVA or paired t-tests against time 0 at p < 0.05, is run both ways on n = 3. Reproduced when no time point of HR, APD80 or CaTD80 differs from time 0 under either test.
prop = time_course_report(tables["fig3_propranolol"], {"HR": 1, "APD80": 1, "CaTD80": -1}, "propranolol + SNS")
rows = []
for var, (w, ms, _, tests) in prop.items():
biggest = tests.mean_diff.abs().idxmax()
rows.append({"variable": var, "min paired p": tests.p.min(), "at": tests.p.idxmin(),
"RM ANOVA p": tests.attrs["anova_p"], "RM ANOVA p (GG)": tests.attrs["anova_p_gg"],
"min Holm-Sidak p": tests.p_rm_holm_sidak.min(),
"min pooled Holm-Sidak p": tests.p_rm_pooled_holm_sidak.min(),
"at (pooled)": tests.p_rm_pooled_holm_sidak.idxmin(),
# comparisons after the ANOVA follow only a significant ANOVA, as in fig2a
"pooled p after ANOVA p < 0.05": tests.p_rm_pooled_holm_sidak.min() if tests.attrs["anova_p"] < 0.05 else np.nan,
"largest mean change": tests.mean_diff[biggest], "at time": biggest,
"relative to time 0 (%)": 100 * tests.mean_diff[biggest] / ms["mean"][0]})
prop_sum = pd.DataFrame(rows)
print(prop_sum.round(4).to_string(index=False))
# SNS without propranolol (Fig. 2D), largest mean change, for scale.
for var in ("HR", "APD80", "CaTD80"):
w = sns.wide(tables["fig2_mouse"], var)
d = w.sub(w.loc[0]).mean(axis=1)
print(f"Fig2 mouse SNS without propranolol, {var}: largest mean change {d[d.abs().idxmax()]:.1f} at {d.abs().idxmax():g} s")
n_tests = sum(len(v[3]) for v in prop.values())
print(f"unadjusted paired t-tests against time 0: {n_tests}; if independent and with no effect, the chance that at least "
f"one reaches p < 0.05 is {1 - 0.95 ** n_tests:.2f}")
w = prop["APD80"][0]
print("APD80 per heart, change from time 0 at 10 s:", (w.loc[10] - w.loc[0]).round(2).tolist())
w = prop["HR"][0]
print("HR per heart (bpm) at 0 s:", w.loc[0].tolist(), "; at 60 s:", w.loc[60].tolist(),
"; change:", (w.loc[60] - w.loc[0]).tolist())
--- propranolol + SNS: HR (expected up)
n mean sd n mean_diff t p p_rm_holm_sidak p_rm_pooled_holm_sidak
time
0.0 3 267.33 65.62 NaN NaN NaN NaN NaN NaN
5.0 3 276.33 73.66 3.0 9.0000 1.8245 0.2096 0.8463 0.0739
10.0 3 277.00 73.30 3.0 9.6667 1.8452 0.2063 0.8463 0.0739
15.0 3 277.00 73.18 3.0 9.6667 1.9686 0.1878 0.8463 0.0739
20.0 3 278.33 74.80 3.0 11.0000 1.8084 0.2123 0.8463 0.0608
25.0 3 278.33 74.67 3.0 11.0000 1.9053 0.1970 0.8463 0.0608
30.0 3 280.00 76.86 3.0 12.6667 1.7547 0.2214 0.8463 0.0296
40.0 3 281.67 77.36 3.0 14.3333 1.8285 0.2090 0.8463 0.0137
50.0 3 283.00 79.02 3.0 15.6667 1.7360 0.2247 0.8463 0.0074
60.0 3 284.00 80.13 3.0 16.6667 1.6741 0.2361 0.8463 0.0048
repeated measures ANOVA over 3 hearts: F(9, 18) = 2.78, p = 0.0311; Greenhouse-Geisser epsilon 0.12, corrected p = 0.234
monotonic (a) mean at every step: False; steps against: [(10.0, 15.0, 0.0), (20.0, 25.0, 0.0)]
monotonic (b) no significant step against: True; significant steps against: []
--- propranolol + SNS: APD80 (expected up)
n mean sd n mean_diff t p p_rm_holm_sidak p_rm_pooled_holm_sidak
time
0.0 3 37.60 6.35 NaN NaN NaN NaN NaN NaN
5.0 3 37.87 5.95 3.0 0.2667 0.7663 0.5236 0.7730 0.8066
10.0 3 39.03 6.18 3.0 1.4333 9.8649 0.0101 0.0875 0.4849
15.0 3 39.70 5.19 3.0 2.1000 2.9898 0.0960 0.5172 0.3366
20.0 3 40.10 4.78 3.0 2.5000 2.7552 0.1104 0.5172 0.2272
25.0 3 41.13 3.92 3.0 3.5333 2.4072 0.1378 0.5235 0.0359
30.0 3 39.47 5.43 3.0 1.8667 2.0000 0.1835 0.5556 0.3884
40.0 3 40.03 5.08 3.0 2.4333 3.1650 0.0870 0.5172 0.2272
50.0 3 38.73 7.27 3.0 1.1333 0.6870 0.5630 0.7730 0.5170
60.0 3 39.50 6.80 3.0 1.9000 1.4777 0.2776 0.6229 0.3884
repeated measures ANOVA over 3 hearts: F(9, 18) = 1.95, p = 0.109; Greenhouse-Geisser epsilon 0.18, corrected p = 0.271
monotonic (a) mean at every step: False; steps against: [(25.0, 30.0, -1.67), (40.0, 50.0, -1.3)]
monotonic (b) no significant step against: True; significant steps against: []
--- propranolol + SNS: CaTD80 (expected down)
n mean sd n mean_diff t p p_rm_holm_sidak p_rm_pooled_holm_sidak
time
0.0 3 72.87 2.16 NaN NaN NaN NaN NaN NaN
5.0 3 72.70 2.09 3.0 -0.1667 -2.5000 0.1296 0.6706 0.8680
10.0 3 72.53 2.68 3.0 -0.3333 -1.0483 0.4045 0.8691 0.8680
15.0 3 72.57 2.68 3.0 -0.3000 -0.8321 0.4929 0.8691 0.8680
20.0 3 72.87 2.23 3.0 -0.0000 -0.0000 1.0000 1.0000 1.0000
25.0 3 72.57 2.29 3.0 -0.3000 -1.9640 0.1885 0.7682 0.8680
30.0 3 72.13 2.49 3.0 -0.7333 -3.6168 0.0687 0.4728 0.3207
40.0 3 72.33 2.61 3.0 -0.5333 -1.8353 0.2079 0.7682 0.5630
50.0 3 72.23 2.80 3.0 -0.6333 -1.5618 0.2587 0.7762 0.4204
60.0 3 72.13 3.19 3.0 -0.7333 -1.0647 0.3986 0.8691 0.3207
repeated measures ANOVA over 3 hearts: F(9, 18) = 1.36, p = 0.277; Greenhouse-Geisser epsilon 0.12, corrected p = 0.364
monotonic (a) mean at every step: False; steps against: [(10.0, 15.0, 0.03), (15.0, 20.0, 0.3), (30.0, 40.0, 0.2)]
monotonic (b) no significant step against: True; significant steps against: []
variable min paired p at RM ANOVA p RM ANOVA p (GG) min Holm-Sidak p min pooled Holm-Sidak p at (pooled) pooled p after ANOVA p < 0.05 largest mean change at time relative to time 0 (%)
HR 0.1878 15.0 0.0311 0.2336 0.8463 0.0048 60.0 0.0048 16.6667 60.0 6.2344
APD80 0.0101 10.0 0.1092 0.2705 0.0875 0.0359 25.0 NaN 3.5333 25.0 9.3972
CaTD80 0.0687 30.0 0.2766 0.3635 0.4728 0.3207 30.0 NaN -0.7333 30.0 -1.0064
Fig2 mouse SNS without propranolol, HR: largest mean change 87.4 at 60 s
Fig2 mouse SNS without propranolol, APD80: largest mean change 10.7 at 15 s Fig2 mouse SNS without propranolol, CaTD80: largest mean change -7.2 at 60 s unadjusted paired t-tests against time 0: 27; if independent and with no effect, the chance that at least one reaches p < 0.05 is 0.75 APD80 per heart, change from time 0 at 10 s: [1.2, 1.4, 1.7] HR per heart (bpm) at 0 s: [226.0, 343.0, 233.0] ; at 60 s: [224.0, 375.0, 253.0] ; change: [-2.0, 32.0, 20.0]
Result: Not reproduced. By paired t-tests against time 0 (unadjusted, reading (i)), APD80 differs at 10 s (+1.43 ms, p = 0.010), and the outcome rests on this test under the claims file's rule (either test, any time point). Its per-heart changes are 1.2, 1.4 and 1.7 ms. It is one of 27 unadjusted tests on 3 hearts, among which at least one p < 0.05 would arise by chance with probability 0.75 if the tests were independent and there were no effect. The repeated measures ANOVA is significant for heart rate (p = 0.031), not for APD80 (p = 0.11) or CaTD80 (p = 0.28); with the Greenhouse-Geisser correction none is significant (heart rate p = 0.23). After the ANOVA no Holm-Sidak adjusted paired t-test against time 0 reaches p < 0.05 (smallest 0.088, APD80 at 10 s). Holm-Sidak comparisons on the ANOVA's pooled error, a variant, are counted only after a significant ANOVA, so only for heart rate; they find it above time 0 at 30, 40, 50 and 60 s (smallest p = 0.0048, at 60 s, +16.7 bpm). This rests on the uncorrected ANOVA, which assumes sphericity, and on 3 hearts, of which heart rate rises from time 0 to 60 s in 2 (+32 and +20 bpm) and falls in 1 (-2 bpm). The changes are small: the largest mean changes are +16.7 bpm in heart rate (+6.2%), +3.5 ms in APD80 (+9.4%) and -0.73 ms in CaTD80, against +87.4 bpm, +10.7 ms and -7.2 ms with SNS alone (Figure 2D table).
fig3e-rate-step-biphasic¶
A step-wise increase in pacing rate mimicking the SNS heart rate change produced a biphasic APD response without SNS, to a lesser degree, and adding SNS prolonged APD and exaggerated the biphasic response.
Biphasic: a rise above time 0 followed by a fall below the peak by the end of the record. The table ends at 35 s (the claims file says 60 s; the record's last point is used). Exaggerated: (a) a larger peak rise of the mean above time 0 with SNS; (b) APD with SNS above APD without SNS at the time of the peak, by paired t-test at p < 0.05 (the peak time of each condition's mean is shown).
e0, e1 = sns.wide(tables["fig3e"], "no SNS"), sns.wide(tables["fig3e"], "SNS")
print("pacing rate (bpm):", sns.wide(tables["fig3e"], "pacing rate (bpm)").iloc[:, 0].round(1).tolist())
res = {}
for name, w in (("no SNS", e0), ("SNS", e1)):
ms = sns.mean_sd(w)
tests = sns.against_time0(w)
peak_t = ms["mean"].idxmax()
res[name] = {"peak time": peak_t, "peak rise": ms["mean"][peak_t] - ms["mean"][0],
"end minus peak": ms["mean"].iloc[-1] - ms["mean"][peak_t],
"biphasic": bool(ms["mean"][peak_t] > ms["mean"][0] and ms["mean"].iloc[-1] < ms["mean"][peak_t]),
"end minus time 0": ms["mean"].iloc[-1] - ms["mean"][0]}
print(f"--- {name}"); print(pd.concat([ms.round(2), tests.round(4)], axis=1).to_string()); print(" " + sns.anova_line(tests))
print(pd.DataFrame(res).T.to_string())
for name in res:
t = res[name]["peak time"]
r = sns.paired(e0.loc[t], e1.loc[t])
print(f"SNS minus no SNS at {t:g} s (peak of {name}): {r['mean_diff']:.2f} ms, paired t = {r['t']:.2f}, p = {r['p']:.4f}")
print("exaggerated (a):", res["SNS"]["peak rise"] > res["no SNS"]["peak rise"])
print("per heart, peak rise without / with SNS:", (e0.max() - e0.loc[0]).round(2).tolist(), (e1.max() - e1.loc[0]).round(2).tolist())
pacing rate (bpm): [333.3, 400.0, 461.5, 480.0, 500.0, 521.7, 545.5, 545.5]
--- no SNS
n mean sd n mean_diff t p p_rm_holm_sidak p_rm_pooled_holm_sidak
time
0.0 3 56.74 0.65 NaN NaN NaN NaN NaN NaN
5.0 3 56.74 0.65 3.0 0.0000 NaN NaN NaN 1.0000
10.0 3 66.02 1.03 3.0 9.2800 35.6572 0.0008 0.0055 0.0004
15.0 3 64.07 1.65 3.0 7.3267 5.5060 0.0314 0.1744 0.0029
20.0 3 60.97 2.90 3.0 4.2267 2.0647 0.1750 0.6178 0.0997
25.0 3 58.43 2.62 3.0 1.6933 0.9350 0.4485 0.8323 0.6777
30.0 3 55.63 3.86 3.0 -1.1067 -0.4318 0.7080 0.9147 0.7563
35.0 3 53.83 3.30 3.0 -2.9067 -1.3374 0.3129 0.7771 0.3288
repeated measures ANOVA over 3 hearts: F(7, 14) = 13.82, p = 2.61e-05; Greenhouse-Geisser epsilon 0.18, corrected p = 0.0448
--- SNS
n mean sd n mean_diff t p p_rm_holm_sidak p_rm_pooled_holm_sidak
time
0.0 3 56.74 0.65 NaN NaN NaN NaN NaN NaN
5.0 3 62.69 2.49 3.0 5.9533 5.5104 0.0314 0.1742 0.0554
10.0 3 71.57 3.52 3.0 14.8267 6.6971 0.0216 0.1416 0.0001
15.0 3 69.77 4.11 3.0 13.0267 4.9652 0.0383 0.1772 0.0003
20.0 3 66.35 5.47 3.0 9.6100 2.8354 0.1051 0.3587 0.0038
25.0 3 63.63 5.51 3.0 6.8933 2.0098 0.1822 0.4530 0.0325
30.0 3 61.10 4.23 3.0 4.3600 1.6275 0.2452 0.4530 0.1390
35.0 3 57.27 5.65 3.0 0.5267 0.1490 0.8952 0.8952 0.8176
repeated measures ANOVA over 3 hearts: F(7, 14) = 11.56, p = 7.27e-05; Greenhouse-Geisser epsilon 0.15, corrected p = 0.0695
peak time peak rise end minus peak biphasic end minus time 0
no SNS 10.0 9.28 -12.186667 True -2.906667
SNS 10.0 14.826667 -14.3 True 0.526667
SNS minus no SNS at 10 s (peak of no SNS): 5.55 ms, paired t = 2.55, p = 0.1258
SNS minus no SNS at 10 s (peak of SNS): 5.55 ms, paired t = 2.55, p = 0.1258
exaggerated (a): True
per heart, peak rise without / with SNS: [9.0, 9.88, 9.8] [10.7, 18.28, 15.5]
/home/runner/work/encore/encore/executed/wang-2019/.venv/lib/python3.13/site-packages/statsmodels/stats/multitest.py:229: RuntimeWarning: divide by zero encountered in log1p pvals_corrected_raw = -np.expm1(np.arange(ntests, 0, -1) * np.log1p(-pvals))
Result: Reproduced, under reading (a). Both conditions are biphasic: without SNS the mean APD80 rises from 56.74 to 66.02 ms at 10 s (+9.28) and falls to 53.83 at 35 s; with SNS it rises to 71.57 ms at 10 s (+14.83) and falls to 57.27 at 35 s. The peak rise is larger with SNS in the mean (reading a) and in each of the 3 hearts. By reading (b) SNS is above no SNS at 10 s by 5.55 ms, p = 0.13, so the claim holds under (a) only. The record ends at 35 s, not 60 s.
fig3f-constant-pacing-sns-prolongs¶
In the mouse at constant pacing (CL 100 ms), SNS eliminated the biphasic APD response and APD was prolonged compared to baseline; APD tended to shorten over 60 s of pacing both without and with SNS.
Prolonged compared to baseline: (a) APD with SNS above APD without SNS at the same time point by paired t-test at p < 0.05 at some point; (b) APD with SNS above its own time 0 at p < 0.05 at some point. Tended to shorten: mean at 60 s below the mean at the first time, in both. No biphasic response with SNS: the SNS mean does not rise above time 0 and then fall. The no-SNS series has 4 hearts (column 2 of its block is empty); pairing with the SNS series assumes the columns are the same hearts in the same order, which the table does not state. An unpaired Welch t-test over all hearts is shown as a variant.
f0, f1 = sns.wide(tables["fig3f"], "no SNS"), sns.wide(tables["fig3f"], "SNS")
print("no-SNS hearts (column positions):", f0.columns.tolist(), "; SNS hearts:", f1.columns.tolist())
rows = []
for t in f1.index:
r = sns.paired(f0.loc[t].reindex(f1.columns), f1.loc[t])
welch = stats.ttest_ind(f1.loc[t], f0.loc[t].dropna(), equal_var=False)
rows.append({"time": t, "no SNS mean": f0.loc[t].mean(), "SNS mean": f1.loc[t].mean(),
"paired n": r["n"], "SNS minus no SNS (paired)": r["mean_diff"], "paired p": r["p"],
"Welch p": welch.pvalue})
fig3f = pd.DataFrame(rows).set_index("time")
print(fig3f.round(4).to_string())
for name, w in (("no SNS", f0), ("SNS", f1)):
tests = sns.against_time0(w)
ms = sns.mean_sd(w)
print(f"--- {name}: {sns.anova_line(tests)}")
print(pd.concat([ms.round(2), tests.round(4)], axis=1).to_string())
print(f" 60 s minus 0 s: {ms['mean'][60] - ms['mean'][0]:.2f} ms; largest mean at {ms['mean'].idxmax():g} s; "
f"any time above time 0 at p<0.05: {bool(((tests.p < 0.05) & (tests.mean_diff > 0)).any())}")
sns_ms = sns.mean_sd(f1)["mean"]
biphasic_sns = bool(sns_ms.max() > sns_ms[0] and sns_ms.iloc[-1] < sns_ms.max())
print("SNS mean rises above time 0 and then falls (biphasic):", biphasic_sns)
print("reading (a) holds:", bool(((fig3f["paired p"] < 0.05) & (fig3f["SNS minus no SNS (paired)"] > 0)).any()),
"; variant, Welch:", bool(((fig3f["Welch p"] < 0.05) & (fig3f["SNS mean"] > fig3f["no SNS mean"])).any()))
# The pairing by column position. Per heart, the gap at time 0, and how close the paired series are
# against every other assignment of the 4 no-SNS columns to 4 of the 5 SNS columns.
import itertools
print("SNS minus no SNS at time 0, per column:", (f1.loc[0] - f0.loc[0]).dropna().round(2).to_dict())
def mismatch(assign):
return sum(float(((f1[s] - f0[b]) ** 2).sum()) for b, s in assign.items())
by_position = mismatch({b: b for b in f0.columns})
others = [mismatch(dict(zip(f0.columns, perm))) for perm in itertools.permutations(f1.columns, len(f0.columns))]
print(f"sum of squared differences over the 60 s, pairing by position: {by_position:.1f}; rank among all "
f"{len(others)} assignments: {sum(o < by_position for o in others) + 1}; smallest {min(others):.1f}")
# Variant: change from time 0, SNS against no SNS (removes the gap present at time 0).
c0, c1 = f0.sub(f0.loc[0]), f1.sub(f1.loc[0])
rows = []
for t in f1.index[1:]:
r = sns.paired(c0.loc[t].reindex(f1.columns), c1.loc[t])
rows.append({"time": t, "change no SNS": c0.loc[t].mean(), "change SNS": c1.loc[t].mean(),
"SNS minus no SNS (paired)": r["mean_diff"], "paired p": r["p"]})
print(pd.DataFrame(rows).set_index("time").round(4).to_string())
no-SNS hearts (column positions): [1, 3, 4, 5] ; SNS hearts: [1, 2, 3, 4, 5]
no SNS mean SNS mean paired n SNS minus no SNS (paired) paired p Welch p
time
0.0 49.1740 53.2856 4 2.6865 0.0358 0.2877
5.0 47.9508 52.7062 4 3.6398 0.0132 0.1053
10.0 45.4495 50.2918 4 3.8717 0.0043 0.1028
15.0 44.2583 48.8200 4 3.8900 0.0023 0.0847
20.0 42.5668 47.0356 4 3.8795 0.0251 0.1286
25.0 41.5470 44.9648 4 2.8697 0.1221 0.0675
30.0 40.2725 42.8360 4 1.8743 0.1118 0.2830
40.0 39.6922 41.0456 4 0.5187 0.6695 0.4491
60.0 37.6268 39.5072 4 1.2978 0.2761 0.2499
--- no SNS: repeated measures ANOVA over 4 hearts: F(8, 24) = 16.22, p = 5.96e-08; Greenhouse-Geisser epsilon 0.17, corrected p = 0.0129
n mean sd n mean_diff t p p_rm_holm_sidak p_rm_pooled_holm_sidak
time
0.0 4 49.17 5.36 NaN NaN NaN NaN NaN NaN
5.0 4 47.95 3.44 4.0 -1.2233 -1.1975 0.3171 0.3171 0.3763
10.0 4 45.45 3.77 4.0 -3.7245 -3.4525 0.0409 0.1186 0.0225
15.0 4 44.26 3.38 4.0 -4.9157 -4.5288 0.0201 0.1149 0.0041
20.0 4 42.57 3.96 4.0 -6.6072 -4.8039 0.0172 0.1142 0.0002
25.0 4 41.55 0.98 4.0 -7.6270 -3.4697 0.0404 0.1186 0.0000
30.0 4 40.27 2.86 4.0 -8.9015 -5.7894 0.0103 0.0791 0.0000
40.0 4 39.69 1.20 4.0 -9.4817 -4.1813 0.0249 0.1186 0.0000
60.0 4 37.63 1.46 4.0 -11.5472 -4.0680 0.0268 0.1186 0.0000
60 s minus 0 s: -11.55 ms; largest mean at 0 s; any time above time 0 at p<0.05: False
--- SNS: repeated measures ANOVA over 5 hearts: F(8, 32) = 44.05, p = 4.04e-15; Greenhouse-Geisser epsilon 0.20, corrected p = 0.000266
n mean sd n mean_diff t p p_rm_holm_sidak p_rm_pooled_holm_sidak
time
0.0 5 53.29 5.20 NaN NaN NaN NaN NaN NaN
5.0 5 52.71 4.23 5.0 -0.5794 -0.9046 0.4168 0.4168 0.5890
10.0 5 50.29 3.87 5.0 -2.9938 -3.4446 0.0262 0.0765 0.0163
15.0 5 48.82 3.30 5.0 -4.4656 -3.3935 0.0274 0.0765 0.0006
20.0 5 47.04 3.61 5.0 -6.2500 -4.8109 0.0086 0.0422 0.0000
25.0 5 44.96 3.09 5.0 -8.3208 -4.6609 0.0096 0.0422 0.0000
30.0 5 42.84 3.75 5.0 -10.4496 -7.2901 0.0019 0.0150 0.0000
40.0 5 41.05 3.44 5.0 -12.2400 -7.1876 0.0020 0.0150 0.0000
60.0 5 39.51 2.88 5.0 -13.7784 -6.1385 0.0036 0.0212 0.0000
60 s minus 0 s: -13.78 ms; largest mean at 0 s; any time above time 0 at p<0.05: False
SNS mean rises above time 0 and then falls (biphasic): False
reading (a) holds: True ; variant, Welch: False
SNS minus no SNS at time 0, per column: {1: 1.65, 3: 4.84, 4: 1.8, 5: 2.46}
sum of squared differences over the 60 s, pairing by position: 400.9; rank among all 120 assignments: 4; smallest 380.3
change no SNS change SNS SNS minus no SNS (paired) paired p
time
5.0 -1.2233 -0.5794 0.9532 0.4016
10.0 -3.7245 -2.9938 1.1852 0.1755
15.0 -4.9157 -4.4656 1.2035 0.2947
20.0 -6.6072 -6.2500 1.1930 0.2422
25.0 -7.6270 -8.3208 0.1832 0.9353
30.0 -8.9015 -10.4496 -0.8123 0.5615
40.0 -9.4817 -12.2400 -2.1678 0.3097
60.0 -11.5472 -13.7784 -1.3888 0.4769
Result: Reproduced, under reading (a) and resting on the column pairing. With SNS the mean APD80 is above the no-SNS mean at every time point (by 0.5 to 3.9 ms on the paired hearts) and the paired t-test reaches p < 0.05 at 0, 5, 10, 15 and 20 s (smallest p = 0.0023, at 15 s), on 4 hearts paired by column position. APD80 shortens over 60 s in both conditions (no SNS by 11.55 ms, SNS by 13.78 ms), and the SNS mean never rises above its time 0, so there is no biphasic response. Reading (b) fails: with SNS, APD80 is never above its own time 0. The unpaired Welch variant finds no time point at p < 0.05. The SNS series is already longer than the no-SNS series at time 0, in each of the 4 pairs (by 1.65 to 4.84 ms), so the difference is present at the onset of SNS. On the change from time 0, SNS and no SNS do not differ at any time (paired p from 0.18 to 0.94). The pairing by column position is the 4th closest of the 120 ways of assigning the 4 no-SNS columns to the 5 SNS columns (sum of squared differences 400.9 against a smallest 380.3), consistent with, but not proof of, the columns being the same hearts. The outcome rests on that pairing and on reading (a), which compares the two series at the same times without removing the gap at time 0.
fig4g-5f-rabbit-base-apex and fig7f-mouse-base-apex¶
In the rabbit, SNS shortened APD more at the base than at the apex ... at 15 s SNS the APD change differed between base and apex. In the mouse, APD prolonged more at the base than at the apex at 15 s SNS.
The workbook gives, per heart, the change in APD at 15 s of SNS in the base and apex regions as the authors drew them (Figure 5E and 7E). The claims file's readings of the regions (basal and apical thirds or quarters of the map) cannot be applied, as there are no maps; the authors' own regions are used. Paired t-test, base against apex.
for key, claim, direction, alpha in (("fig5f_rabbit", "rabbit", -1, 0.05), ("fig7f_mouse", "mouse", 1, 0.01)):
t = tables[key]
r = sns.paired(t.apex, t.base)
print(f"{claim}: n = {len(t)}; base {t.base.mean():.2f} +- {t.base.std():.2f} ms, apex {t.apex.mean():.2f} +- {t.apex.std():.2f}; "
f"base minus apex per heart {(t.base - t.apex).round(1).tolist()}")
print(f" paired t-test: mean base minus apex {r['mean_diff']:.2f} ms, t = {r['t']:.2f}, p = {r['p']:.4f}; "
f"base change larger in the stated direction in {int((np.sign(t.base - t.apex) == direction).sum())} of {len(t)}; "
f"holds at p < {alpha}: {bool(r['p'] < alpha and np.sign(r['mean_diff']) == direction)}")
lo = t.drop(t.index[(t.base - t.apex).abs().idxmax()])
rl = sns.paired(lo.apex, lo.base)
print(f" without the heart of largest difference: p = {rl['p']:.4f}; Wilcoxon signed-rank on all: "
f"p = {stats.wilcoxon(t.base, t.apex).pvalue:.4f}")
rabbit: n = 4; base -28.40 +- 23.28 ms, apex -18.25 +- 17.08; base minus apex per heart [-6.1, -5.7, -19.2, -9.6] paired t-test: mean base minus apex -10.15 ms, t = -3.23, p = 0.0482; base change larger in the stated direction in 4 of 4; holds at p < 0.05: True without the heart of largest difference: p = 0.0289; Wilcoxon signed-rank on all: p = 0.1250 mouse: n = 5; base 14.46 +- 1.69 ms, apex 7.04 +- 3.07; base minus apex per heart [8.7, 5.6, 8.7, 9.7, 4.4] paired t-test: mean base minus apex 7.42 ms, t = 7.26, p = 0.0019; base change larger in the stated direction in 5 of 5; holds at p < 0.01: True without the heart of largest difference: p = 0.0083; Wilcoxon signed-rank on all: p = 0.0625
Result: Rabbit reproduced; mouse reproduced. In the rabbit the base shortened more than the apex in all 4 hearts (base -28.40 ms, apex -18.25; mean difference -10.15 ms, paired t-test p = 0.048). Without the heart of largest difference (heart 3, -62.9 against -43.7 ms) p = 0.029; the Wilcoxon signed-rank test, whose smallest possible p with 4 hearts is 0.125, gives 0.125. In the mouse the base prolonged more than the apex in all 5 hearts (base +14.46 ms, apex +7.04; difference +7.42 ms, p = 0.0019, below 0.01). That the base-apex difference causes the repolarization reversal is not testable here; the maps are not in the dataset.
Simulation claims (fig8e, fig8f, fig8ij, fig9)¶
The claims file marks these as data elsewhere, at the Bers and Grandi lab pages. The dataset itself holds
both models in files/code/mouse and files/code/rabbit, with the AP-clamp voltage inputs and
instructions for Figure 8. They are printed here, with a check for MATLAB and GNU Octave on the machine
that runs the notebook.
import shutil
print(files[files.path.str.startswith("files/code")].sort_values("path").to_string(index=False))
for path in ["files/code/mouse/instructions_mouse.txt", "files/code/rabbit/instructions_rabbit.txt"]:
print(f"--- {path}")
print(sns.read_file(man, path).decode("utf8", "replace").strip())
print("matlab on PATH:", shutil.which("matlab"), "; octave on PATH:", shutil.which("octave"))
path size type s3VersionId
files/code/manifest.xlsx 11332 MSExcel VKYzGJ_Szl4CMfDZl2ODg8lbU5UCKJ6F
files/code/mouse/exp_APc_data_5Hz.mat 17792 MAT Yq4CY9emRwteudNOnHyqSgbkeqidtOkj
files/code/mouse/instructions_mouse.txt 1696 Text Xno2t9i8O608bzhAUcFBo_eVXHwt5RBn
files/code/mouse/manifest.xlsx 11802 MSExcel LIYJNnYzOR2TmIpfjigq2lA1vAuObJTP
files/code/mouse/morotti_et_al_mouse_barODEfile.m 15818 MATLAB 07PE5sb732pgXBGdvvnVnQxV44ijTZC.
files/code/mouse/morotti_et_al_mouse_camODEfile.m 5940 MATLAB rT64T9vw2MVDgtWqz8hmV5bDjzG7xNHX
files/code/mouse/morotti_et_al_mouse_camkiiODEfile.m 4578 MATLAB MwevXLTyeXReS_qNHqsniFQV.dN33R9I
files/code/mouse/morotti_et_al_mouse_eccODEfile.m 52007 MATLAB s79QLojZHgXMenQsoZw6eI8qQOJhnDa7
files/code/mouse/morotti_et_al_mouse_masterCompute.m 12212 MATLAB 0nH3Vn8Vq19UwM2wTO4iucbyXYh7DYgh
files/code/mouse/morotti_et_al_mouse_masterODEfile.m 6161 MATLAB LwDmSRRafXWUZP9gVerVN8czuw9W7Hqs
files/code/mouse/readme.txt 1426 Text 1fK8NjGsB25ONTaM6jThrSWdQ0i9fWzg
files/code/mouse/yfin_WT_1Hz.mat 1536 MAT URqpYFr7MKtfefumjMbby57IW5v5Z.H4
files/code/mouse/yfin_WT_3Hz.mat 1541 MAT d2MXIMSYbZHqaBW0ECSk89SPBfU22dEN
files/code/mouse/yfin_WT_5Hz.mat 1541 MAT XiRaqEZQt87K_P3n1odIdqEkGY.zcxFu
files/code/rabbit/AP_2Hz.mat 10039 MAT YppHUldWtrGTLRvGFShm8txfErL1yV43
files/code/rabbit/instructions_rabbit.txt 1690 Text ic9pRr4RuJrSLER_Po.5dOBtJM12jVd3
files/code/rabbit/manifest.xlsx 11974 MSExcel BiwNnMqfMwzYJBJ9AAePWOsp4gE9dbxZ
files/code/rabbit/masterCompute_globalVariables.m 1013 MATLAB Sfn893yCrm1NeMyQu1uTb0QSydG42ZZq
files/code/rabbit/masterCompute_outputVariables.m 815 MATLAB 7TUGDa6yv8aN2IS08fm9T0IJ3Hhl3dnK
files/code/rabbit/rabbit_myofilament_barODEfile.m 13521 MATLAB afy1zU_PFmUlMCe2FcN4O3mlbSPAeB8v
files/code/rabbit/rabbit_myofilament_camODEfile.m 6392 MATLAB 1CsNH5PLXEpY_BTHd00Id9Y3oS0b1qyg
files/code/rabbit/rabbit_myofilament_camkiiODEfile.m 4997 MATLAB 0etvX1ATBVIB4TlO0QwayjzXnV9664r5
files/code/rabbit/rabbit_myofilament_eccODEfile.m 57664 MATLAB 1G.pQTCe66K.2hWtMfMa1inlwpVI3dRE
files/code/rabbit/rabbit_myofilament_masterCompute.m 11566 MATLAB ALEWz4D6qgSuMbzP5g05ElzA.y.HI8Vv
files/code/rabbit/rabbit_myofilament_masterODEfile.m 8290 MATLAB d71AzC1WNcp5chwnc2G88WxzAT4BcFXv
files/code/rabbit/readme.txt 1848 Text a3ra9_7Pkq8GzFq_8WQNNEisrnTUDB9e
files/code/rabbit/yfin_iks_isometric_0p2Hz.mat 1381 MAT ATuhOLNWaTbahQSyDG6LKL38hn3Jtt75
files/code/rabbit/yfin_iks_isometric_1Hz.mat 1386 MAT 0alX_sqAZGnT12rfja07KGaT5FSz62D8
files/code/rabbit/yfin_iks_isometric_2Hz.mat 1390 MAT DwORXZGXYbgoyCPhxYYlR0lS5YUdxJvw
files/code/rabbit/yfin_iks_isometric_2p5Hz.mat 1385 MAT UTr1sG9y7USdI.mZKLguxexS_gpin.OU
--- files/code/mouse/instructions_mouse.txt
Instructions for reproducing paper results %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Figure 8 - Mouse ________________________________________________________________________________________ %% AP-clamp simulations 1) in morotti_et_al_mouse_eccODEfile.m (line 38) select protocol = 'AP_clamp_hr_control' and comment protocol = 'pace_hr_control' in the previous line 2a) APD fixed in morotti_et_al_mouse_masterCompute.m (line 156) select APD_modulation = 0 2b) APD modulation - mouse-like in morotti_et_al_mouse_masterCompute.m (line 156) select APD_modulation = 1 (lines 162-172) execute lines 162-166, comment lines 168-172 2c) APD modulation - rabbit-like in morotti_et_al_mouse_masterCompute.m (line 156) select APD_modulation = 1 (lines 162-172) comment lines 162-166, execute lines 168-172 3) run morotti_et_al_mouse_masterCompute.m ________________________________________________________________________________________ %% Current-clamp simulations 1) in morotti_et_al_mouse_eccODEfile.m (line 37) select protocol = 'pace_hr_control' and comment select protocol = 'AP_clamp_hr_control' in the following line 2) run morotti_et_al_mouse_masterCompute.m %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Reference: L. Wang, S. Morotti, S. Tapa, S.D. Francis Stuart, Y. Jiang, Z. Wang, R.C. Myles, K.E. Brack, G.A. Ng, D.M. Bers, E. Grandi, C.M. Ripplinger. Different paths, same destination: Divergent electrophysiological responses result in conserved cardiac fight-or-flight response in mouse and rabbit hearts. J Physiol. 2019 Aug; 597(15):3867-3883. --- files/code/rabbit/instructions_rabbit.txt
Instructions for reproducing paper results %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Figure 8 - Rabbit ________________________________________________________________________________________ %% AP-clamp simulations 1) in rabbit_myofilament_eccODEfile.m (line 32) select protocol = 'AP_clamp_hr_control' and comment protocol = 'pace_hr_control' in the previous line 2a) APD fixed in rabbit_myofilament_masterCompute.m (line 133) select APD_modulation = 0 2b) APD modulation - rabbit-like in rabbit_myofilament_masterCompute.m (line 133) select APD_modulation = 1 (lines 139-148) execute lines 139-142, comment lines 144-148 2c) APD modulation - mouse-like in rabbit_myofilament_masterCompute.m (line 133) select APD_modulation = 1 (lines 139-148) comment lines 139-142, execute lines 144-148 3) run rabbit_myofilament_masterCompute.m ________________________________________________________________________________________ %% Current-clamp simulations 1) in rabbit_myofilament_eccODEfile.m (line 31) select protocol = 'pace_hr_control' and comment select protocol = 'AP_clamp_hr_control' in the following line 2) run rabbit_myofilament_masterCompute.m %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Reference: L. Wang, S. Morotti, S. Tapa, S.D. Francis Stuart, Y. Jiang, Z. Wang, R.C. Myles, K.E. Brack, G.A. Ng, D.M. Bers, E. Grandi, C.M. Ripplinger. Different paths, same destination: Divergent electrophysiological responses result in conserved cardiac fight-or-flight response in mouse and rabbit hearts. J Physiol. 2019 Aug; 597(15):3867-3883. matlab on PATH: None ; octave on PATH: None
Result: Blocked, not runnable. The models and the instructions to reproduce Figure 8 are in the
dataset, but they are MATLAB programs (ode15s solvers over six files per species). Neither MATLAB nor
GNU Octave is on the machine that runs the notebook (the check above). GNU Octave can be installed
without root from conda-forge, but the entry's environment is a Python virtual environment built from a
pip lock file, which cannot hold it, so the simulations cannot be run as part of this entry. A trial
outside the notebook, not part of the entry and not deciding the outcome, found that the mouse model
starts under Octave after a one-line change to its ode15s call and runs far slower than real time, so
its 70 s simulations would likely not fit the notebook's time limit. The instructions cover Figure 8
(AP-clamp with APD fixed, mouse-like or rabbit-like, and current clamp); they do not name Figure 9.
Summary¶
| Claim | Outcome |
|---|---|
| fig1a-rabbit-hr-increase | Reproduced |
| fig1d-mouse-hr-increase | Reproduced |
| fig1bc-rabbit-ap-cat-response | Reproduced, on the first 20 s of the 60 s series |
| fig1ef-mouse-ap-cat-response | Reproduced, on the first 20 s of the 60 s series |
| fig2a-rabbit-monotonic | Not reproduced: HR is not monotonic under either reading, CaTD80 not under reading (a); under reading (b) this rests on one unadjusted step test of HR (p = 0.047) |
| fig2d-mouse-biphasic-apd | Reproduced |
| fig2cf-cat-amplitude-similar | Reproduced (similarity reading b) |
| fig3abc-tyramine-na-mimic-sns | Reproduced; for noradrenaline only under monotonic reading (b), as its HR falls after 30 s |
| fig3d-propranolol-abolishes | Not reproduced: APD80 at 10 s (+1.4 ms) at p = 0.010 unadjusted; HR at 30 to 60 s with pooled-error Holm-Sidak comparisons after an uncorrected ANOVA (2 of 3 hearts rise) |
| fig3e-rate-step-biphasic | Reproduced (reading a) |
| fig3f-constant-pacing-sns-prolongs | Reproduced (reading a), resting on the column pairing |
| fig4g-5f-rabbit-base-apex | Reproduced |
| fig7f-mouse-base-apex | Reproduced |
| fig4ab, fig4cd, fig4e, fig5c, fig6ab, fig6e, fig6fh, fig7c | Blocked: data missing (no maps or paced series) |
| fig8e, fig8f, fig8ij, fig9 | Blocked: not runnable (MATLAB models, in the dataset; the entry's Python environment cannot hold MATLAB or Octave) |
A failure to reproduce here may be a failure of this attempt, not of the paper: see the reasoning and the differences from the paper's method.
How the analysis differs from the paper's. The analysis starts from the authors' per-heart summary values; the optical mapping analysis (Optiq) is not repeated. The Figure 1 APD, CaTD and amplitude claims are tested on the first 20 s of the 60 s series. The comparisons after a repeated measures ANOVA use the Holm-Sidak adjustment, which the paper does not name, on paired t-tests and, as a variant, on the ANOVA's pooled error; neither corrects for sphericity. The ANOVA's p with the Greenhouse-Geisser correction is printed beside it and decides no outcome. The Figure 3E record ends at 35 s. The Figure 3F series are paired by column position, an assumption the fig3f outcome rests on.
What was found about the dataset. It holds per-heart summary tables for Figures 1 (heart rate only),
2, 3, 5F and 7F, and the model code and instructions for Figure 8 (files/code), but no optical maps or traces, so the
spatio-temporal claims (Figures 4 to 7) cannot be tested. Its metadata declare 0 subjects and call it
a computational modelling dataset; no table identifies an animal. The four CSV files duplicate the
Fig2 sheet. The mouse APD80 at 60 s is 49.54 +- 4.94 ms in the table and 46.5 +- 9.1 in the Abstract.
The Figure 3F baseline block has 4 hearts where the legend says 5. The Figure 3E no-SNS values at 5 s
repeat those at 0 s. The tyramine and noradrenaline tables call their time "SNS Time" and carry an
unlabelled column; Figure 1 heart rates have no unit.