Reproducing Pelot et al. (2020), quantified morphology of the human, pig and rat vagus nervesΒΆ

Paper. Pelot NA, Goldhagen GB, Cariello JE, Musselman ER, Clissold KA, Ezzell JA, Grill WM (2020). "Quantified Morphology of the Cervical and Subdiaphragmatic Vagus Nerves of Human, Pig, and Rat". Front. Neurosci. 14:601479, doi:10.3389/fnins.2020.601479.

Claims. claims/pelot-2020.yaml, written from the version of record (Europe PMC full text, PMC7672126: main text, Methods, legends; no supplement, Eqs. 1 to 4 missing from the text).

Datasets and versions. Seven SPARC datasets, each read anonymously from the public bucket at the object versions listed by the version's manifest.json:

Folder SPARC id Version DOI What it holds
sparc-60 60 5 10.26275/lg3c-1kjf rat MT traces (binary masks), code, output metrics
sparc-64 64 4 10.26275/maq2-eii4 pig MT traces and micrographs, code
sparc-65 65 8 10.26275/qgja-q7zd human anti-claudin-1 micrographs and traces, code, output metrics, Sunderland data
sparc-89 89 1 10.26275/8pc2-rhu2 pig anti-fibronectin micrographs and traces, code
sparc-16 16 5 10.26275/z3ab-7j9y rat MT micrographs
sparc-61 61 3 10.26275/sydt-lkiw human MT micrographs
sparc-82 82 1 10.26275/pgr9-bk2e pig MT micrographs

Why these versions: the text of the paper that was read has no reference list, so it cites no version of any dataset. Each is the most recent published version, the one the registry's target gives. For sparc-60 the rat traces changed after version 1 (2020-02-28); versions 2 to 5 hold the same masks. The paper's rat perineurium fit (22 fascicles, R2 = 0.77) is reproduced by the current masks and not by those of version 1, while the output metrics file deposited in the datasets was computed from version 1. The analysis uses version 5 and shows version 1 as a variant where the rat traces matter. For sparc-64 the fascicle masks of version 1 also differ from version 4 (fascicle counts); version 4 matches the paper's counts (data check below).

Method sources. The paper links no code, but the datasets hold the authors' MATLAB code (files/code/ of sparc-60, 64, 65 and 89). Where the Methods leave a detail open, it is taken from that code, cited in pelot.py. The mixed models are refitted in Python (mixed.py), since JMP is not available, with Kenward-Roger degrees of freedom, JMP's method (implemented in mixed.py and checked on synthetic balanced designs, where it must give the classical split-plot tests). No result depends on random draws; the synthetic check uses a fixed seed, a standard choice that changes no result.

Claims tested and blocked.

Claim Status
rat-sample-set, human-sample-set, pig-mt-sample-set, pig-if-sample-set, mt-micrograph-collections tested (link)
nerve-diameter-anova, human-pig-nerve-diameter-similar, rat-nerve-diameter, rat-ten-times-smaller, nerve-cervical-larger tested
fascicle-number-human-pig, rat-subdiaphragmatic-multifascicular, rat-multifascicular-proportions tested
fascicle-diameter-anova, rat-fascicle-diameter, cervical-fascicle-diameter-species, subdiaphragmatic-fascicle-diameter-comparable, fascicles-larger-cervical, rat-diameter-like-fascicle tested
human-pig-tissue-proportions, pig-if-endoneurium-lower, rat-level-ratios, human-pig-level-ratios, human-variability, pig-oblong-human-round tested
human-subdiaphragmatic-fatty-tissue, pig-cervical-cell-bodies, rat-carotid-sheath-bundles tested by eye on the micrographs shown
literature-comparison-human-pig, rat-literature-comparison tested on the literature values of Figure 7 as the paper's plotting code (DataPlotting_v4.m) holds them
perineurium-species-order, perineurium-ratio-decreases, human-perineurium-fit, pig-perineurium-fit, rat-perineurium-fit, perineurium-thicker-larger-fascicles, perineurium-no-level-difference tested
sunderland-reanalysis tested on the Sunderland and Bradley (1952) values deposited in sparc-65
rat-perineurium-near-3-percent, human-pig-perineurium-thicker, pig-if-mt-consistent, peanut-fascicle-counts, no-age-trend tested
InΒ [1]:
import time, resource, warnings
warnings.filterwarnings("ignore", category=FutureWarning)
import numpy as np
import pandas as pd
from scipy import stats
from scipy import ndimage as ndi
import matplotlib.pyplot as plt
import pelot, mixed

pd.set_option("display.width", 200)
pd.set_option("display.max_columns", 30)
T0 = time.time()
LEVEL = {"C": "cervical", "S": "subdiaphragmatic"}

LoadingΒΆ

Every analysed sample is read from its binary masks (nerve, outer perineurium, inner perineurium, or the rat perineurial rings) and measured as the paper's code does: boundaries as bwboundaries traces them, areas by polyarea, effective diameters of the circle of equal area, perineurium thickness half the difference of the outer and inner effective diameters. The sample lists are the Excel files the paper's code reads. Rat samples are loaded a second time from version 1 of sparc-60, for the variants.

InΒ [2]:
tab, res = pelot.load_all()
tab_v1, res_v1 = pelot.load_all(rat_version=1, only=["rat"])
print(f"loaded in {time.time() - T0:.0f} s; peak memory {resource.getrusage(resource.RUSAGE_SELF).ru_maxrss / 1e6:.2f} GB")
MAIN = tab[tab.species.isin(["human", "pig", "rat"])].copy()
IF = tab[tab.species == "pig_if"].copy()
loaded in 105 s; peak memory 0.87 GB

Data checkΒΆ

What was loaded, the units and ranges of every variable used, and the measurements checked against the output metrics the authors deposited (files/derivative/CadaverVNMorphology_OutputMetrics.mat in sparc-65, the same file as RatVNMorphology_OutputMetrics.mat in sparc-60, and files/code/PigIFMorphology.mat in sparc-89). The data are static images, so there is no clock to check.

InΒ [3]:
print("Samples by species, level and sex (analysed sets, from the code's sample lists and sparc-89):")
print(tab.groupby(["species", "level", "sex"]).size().unstack(fill_value=0))
print("\nSubjects per species:", tab.groupby("species").subject.nunique().to_dict())
print("\nScale (um per pixel) by species, from the scale bar masks:")
sc = pd.DataFrame([(k, v["um_per_px"]) for k, v in res.items()], columns=["key", "um_per_px"])
sc["species"] = [("pig_if" if k.startswith("IF") else {"C": "human", "P": "pig", "R": "rat"}[k[0]]) for k in sc.key]
print(sc.groupby("species").um_per_px.agg(["min", "max", "count"]).round(4))
print("\nRanges per sample (um, um^2):")
print(tab.groupby("species")[["nerve_d", "n_fasc", "endo_area"]].agg(["min", "max"]).round(1))
ph = pd.Series({k: v for k, v in pelot.MASK_PHOTOMETRIC.items()})
print("\nMask files read:", len(ph), "; stored with photometric MinIsWhite (inverted on reading):",
      int((ph == 0).sum()), "by dataset", ph[ph == 0].groupby(level=0).size().to_dict())
print("Nerve masks with more than one object:", [k for k, v in res.items() if v.get("n_nerve_objects", 1) > 1])
print("Inner traces not inside any outer trace:", int(sum((v["fasc"].get("outer", pd.Series(dtype=int)) < 0).sum() for v in res.values())))
print("Hole traces counted as inner traces (bwboundaries):", {k: v["holes_inner"] for k, v in res.items() if v.get("holes_inner")})
Samples by species, level and sex (analysed sets, from the code's sample lists and sparc-89):
sex            F  M
species level      
human   C      4  5
        S      4  5
pig     C      6  3
        S      6  3
pig_if  C      2  2
        S      2  2
rat     C      4  5
        S      4  5

Subjects per species: {'human': 14, 'pig': 11, 'pig_if': 6, 'rat': 10}

Scale (um per pixel) by species, from the scale bar masks:
            min     max  count
species                       
human    0.7257  0.7331     18
pig      0.7205  0.7257     18
pig_if   0.5447  0.5821      8
rat      0.3521  0.3704     18

Ranges per sample (um, um^2):
        nerve_d         n_fasc     endo_area           
            min     max    min max       min        max
species                                                
human    1025.5  2546.9      1  15   99760.5  1475189.3
pig      1412.9  2613.7     29  63  331585.7  1390932.5
pig_if   1487.9  2497.8     38  63  328233.6  1194322.0
rat       110.3   293.1      1   3   10661.8    63402.1

Mask files read: 212 ; stored with photometric MinIsWhite (inverted on reading): 18 by dataset {'sparc-64': 17, 'sparc-65': 1}
Nerve masks with more than one object: []
Inner traces not inside any outer trace: 0
Hole traces counted as inner traces (bwboundaries): {'IFP13-3': 1}
InΒ [4]:
# Check against the output metrics deposited with the data
om = pelot.read_mat("sparc-65", "files/derivative/CadaverVNMorphology_OutputMetrics.mat")
rows = []
for s, dn, nf, df_ in zip(om["sub_sam"], om["dNerve_um"], om["NFasc"], om["dFasc_um"]):
    df_ = np.sort(np.atleast_1d(df_).astype(float))
    for ver, t, r in [("v5", tab, res)] + ([("v1", tab_v1, res_v1)] if s[0] == "R" else []):
        row = t[t["sample"] == s].iloc[0]
        mine = np.sort(r[s]["fasc"].d_in.to_numpy())
        rows.append(dict(sample=s, version=ver, dnerve=row.nerve_d, dnerve_file=dn, nfasc=len(mine), nfasc_file=int(nf),
                         dfasc_mean=mine.mean(), dfasc_mean_file=df_.mean(),
                         ct_d=row.get("ct_d", np.nan)))
chk = pd.DataFrame(rows)
chk["species"] = chk["sample"].str[0].map({"C": "human", "P": "pig", "R": "rat"})
chk["dnerve_ratio"] = chk.dnerve_file / chk.dnerve
chk["dfasc_ratio"] = chk.dfasc_mean_file / chk.dfasc_mean
summ = chk.groupby(["species", "version"]).agg(
    n=("sample", "size"), dnerve_exact=("dnerve_ratio", lambda x: int((abs(x - 1) < 1e-4).sum())),
    dnerve_ratio_min=("dnerve_ratio", "min"), dnerve_ratio_max=("dnerve_ratio", "max"),
    nfasc_equal=("nfasc", lambda x: int((x == chk.loc[x.index, "nfasc_file"]).sum())),
    dfasc_ratio_median=("dfasc_ratio", "median"))
print(summ.round(4))
print("\nRat samples whose file nerve diameter is the connective tissue boundary (multifascicular):")
r_ = chk[(chk.species == "rat") & (chk.version == "v5")].merge(tab[["sample", "n_fasc"]], on="sample")
print(r_.loc[(r_.n_fasc > 1) & (abs(r_.dnerve_file - r_.ct_d) < 1e-6), ["sample", "dnerve", "dnerve_file", "ct_d"]].round(1).to_string(index=False))
print("\nPig MT: fascicle counts, these masks (v4) against the file:")
p_ = chk[chk.species == "pig"]
print(p_[["sample", "nfasc", "nfasc_file", "dfasc_mean", "dfasc_mean_file"]].round(1).to_string(index=False))
                  n  dnerve_exact  dnerve_ratio_min  dnerve_ratio_max  nfasc_equal  dfasc_ratio_median
species version                                                                                       
human   v5       18            18            1.0000            1.0000           18              1.0000
pig     v5       18            18            1.0000            1.0000            7              1.4022
rat     v1       18            14            0.9185            2.0647           18              1.0000
        v5       18             0            1.0017            2.0779           18              0.9963

Rat samples whose file nerve diameter is the connective tissue boundary (multifascicular):
sample  dnerve  dnerve_file  ct_d
 R16-1   135.2        215.7 215.7
 R23-1   154.6        321.2 321.2
 R22-1   110.3        219.6 219.6

Pig MT: fascicle counts, these masks (v4) against the file:
sample  nfasc  nfasc_file  dfasc_mean  dfasc_mean_file
 P11-1     43          46       157.2            212.6
 P12-1     57          57       166.8            233.6
 P13-1     63          57       134.6            200.9
  P5-1     33          32       159.3            228.4
  P6-7     43          43       171.4            240.6
  P8-7     46          43       144.6            211.0
  P9-3     59          58       149.4            210.7
 P14-2     39          39       150.2            207.6
 P15-2     39          35       166.8            247.8
 P11-3     35          31        97.2            146.6
 P12-3     40          40       107.4            148.6
 P13-3     49          42        90.8            140.7
  P4-3     40          42       121.1            168.0
  P5-3     36          37       103.3            142.5
  P8-1     31          31       124.0            173.3
 P10-1     29          29       132.3            184.4
 P14-3     49          45        99.0            143.1
 P15-3     35          35       132.8            185.0
InΒ [5]:
# Pig MT fascicle masks in version 1 of sparc-64 (all 18 samples), against version 4 and the file
v1c, v1d = [], []
for s in MAIN[MAIN.species == "pig"]["sample"]:
    sub, sam = s[1:].split("-")
    paths = pelot.browse("sparc-64", 1, f"files/primary/sub-{sub}/sam-{sam}")
    fm = [p for p in paths if p.endswith("FascMask.tif")][0]
    o = pelot.objects(pelot.read_mask("sparc-64", fm, 1), with_holes=True)
    o = o + [h for x in o for h in x["holes"]]
    k = pelot.scale_um_per_px(pelot.read_mask("sparc-64", [p for p in paths if p.endswith("ScaleMask.tif")][0], 1), 500.0)
    d = pelot.eff_d(np.array([x["area"] for x in o]) * k * k)
    v1d.append(d)
    file_d = np.atleast_1d(om["dFasc_um"][list(om["sub_sam"]).index(s)]).astype(float)
    v1c.append(dict(sample=s, scale_v1_over_v4=k / res[s]["um_per_px"], n_v1=len(o), n_v4=len(res[s]["fasc"]), n_file=int(chk.loc[chk["sample"] == s, "nfasc_file"].iloc[0]),
                    mean_d_v1=d.mean(), mean_d_v4=res[s]["fasc"].d_in.mean(), mean_d_file=file_d.mean()))
v1c = pd.DataFrame(v1c)
print(v1c.round(1).to_string(index=False))
print(f"samples where version 1 count = file count: {int((v1c.n_v1 == v1c.n_file).sum())} of 18; version 4 = file: {int((v1c.n_v4 == v1c.n_file).sum())}; "
      f"version 1 = version 4: {int((v1c.n_v1 == v1c.n_v4).sum())}")
d_v1 = np.concatenate(v1d)
print(f"version 1, all {len(d_v1)} traces: {d_v1.min():.1f} to {d_v1.max():.1f} um, mean {d_v1.mean():.1f}, median {np.median(d_v1):.1f}")
print("per sample, mean fascicle diameter in the file over these masks (v4):", (v1c.mean_d_file / v1c.mean_d_v4).round(3).agg(["min", "median", "max"]).to_dict())
eq = [s for s in v1c["sample"] if (v1c.set_index("sample").loc[s, ["n_v1", "n_file"]].nunique() == 1)]
r_ = []
for s in eq:
    file_d = np.sort(np.atleast_1d(om["dFasc_um"][list(om["sub_sam"]).index(s)]).astype(float))
    mine = np.sort(v1d[v1c.index[v1c["sample"] == s][0]])
    r_.append(file_d / mine)
r_ = np.concatenate(r_)
print(f"per fascicle, file over version 1 masks (samples with equal counts, sorted, {len(r_)} fascicles): ratio {r_.min():.3f} to {r_.max():.3f}, median {np.median(r_):.4f}")
# Pig IF: against PigIFMorphology.mat
pm = pelot.read_mat("sparc-89", "files/code/PigIFMorphology.mat")
print("\nPig IF endoneurial % (file, cervical and subdiaphragmatic means):", np.round(pm["pigIF_Aendoperc_mean"], 2),
      " these masks:", IF.assign(e=100 * IF.endo_area / IF.nerve_area).groupby("level").e.mean().round(2).to_list())
print("Pig IF perineurial % (file):", np.round(pm["pigIF_Aperiperc_mean"], 2),
      " these masks:", IF.assign(e=100 * IF.peri_area / IF.nerve_area).groupby("level").e.mean().round(2).to_list())
sample  scale_v1_over_v4  n_v1  n_v4  n_file  mean_d_v1  mean_d_v4  mean_d_file
 P11-1               1.0    46    43      46      152.2      157.2        212.6
 P12-1               1.0    57    57      57      167.8      166.8        233.6
 P13-1               1.0    57    63      57      142.4      134.6        200.9
  P5-1               1.0    32    33      32      161.4      159.3        228.4
  P6-7               1.0    43    43      43      171.4      171.4        240.6
  P8-7               1.0    43    46      43      151.1      144.6        211.0
  P9-3               1.0    58    59      58      151.4      149.4        210.7
 P14-2               1.0    39    39      39      149.1      150.2        207.6
 P15-2               1.0    35    39      35      178.3      166.8        247.8
 P11-3               1.0    31    35      31      105.4       97.2        146.6
 P12-3               1.0    40    40      40      107.4      107.4        148.6
 P13-3               1.0    42    49      42      100.8       90.8        140.7
  P4-3               1.0    42    40      42      118.5      121.1        168.0
  P5-3               1.0    37    36      37      102.0      103.3        142.5
  P8-1               1.0    31    31      31      124.0      124.0        173.3
 P10-1               1.0    29    29      29      133.1      132.3        184.4
 P14-3               1.0    45    49      45      103.0       99.0        143.1
 P15-3               1.0    35    35      35      132.8      132.8        185.0
samples where version 1 count = file count: 18 of 18; version 4 = file: 7; version 1 = version 4: 7
version 1, all 742 traces: 4.7 to 399.1 um, mean 137.6, median 131.8
per sample, mean fascicle diameter in the file over these masks (v4): {'min': 1.353, 'median': 1.402, 'max': 1.549}
per fascicle, file over version 1 masks (samples with equal counts, sorted, 742 fascicles): ratio 1.360 to 1.610, median 1.3917

Pig IF endoneurial % (file, cervical and subdiaphragmatic means): [24.89 18.09]  these masks: [24.89, 18.09]
Pig IF perineurial % (file): [5.06 4.  ]  these masks: [5.06, 4.0]
InΒ [6]:
# Rat traces, version 1 against version 5: effective nerve diameter (outer perineurium of the
# largest fascicle) per sample, for the finding on the change of the traces
rv = tab[tab.species == "rat"][["sample", "level", "n_fasc", "nerve_d"]].merge(
    tab_v1[["sample", "nerve_d"]], on="sample", suffixes=("_v5", "_v1"))
rv["change_pct"] = 100 * (rv.nerve_d_v5 / rv.nerve_d_v1 - 1)
print(rv.sort_values(["level", "sample"]).round(2).to_string(index=False))
for lev in ["C", "S", None]:
    m = rv[(rv.n_fasc == 1) & ((rv.level == lev) if lev else True)].change_pct
    print(f"monofascicular samples, {'level ' + lev if lev else 'both levels'}: version 5 smaller than version 1 by "
          f"{-m.max():.2f} to {-m.min():.2f}% ({len(m)} samples)")
sample level  n_fasc  nerve_d_v5  nerve_d_v1  change_pct
 R16-3     C       1      290.67      293.76       -1.05
 R17-3     C       1      260.45      265.49       -1.90
 R18-1     C       1      234.49      236.65       -0.91
 R20-3     C       1      274.17      275.02       -0.31
 R21-3     C       1      241.51      243.19       -0.69
 R22-3     C       1      236.73      245.21       -3.46
 R23-3     C       1      293.06      294.82       -0.60
 R24-3     C       1      224.71      228.09       -1.48
 R25-3     C       1      263.22      268.86       -2.10
 R16-1     S       2      135.24      135.89       -0.48
 R17-1     S       1      121.73      126.85       -4.04
 R20-1     S       1      126.51      128.24       -1.35
 R21-1     S       1      146.02      146.57       -0.37
 R22-1     S       3      110.27      110.60       -0.31
 R23-1     S       2      154.59      155.58       -0.64
 R24-1     S       1      131.30      132.39       -0.82
 R25-1     S       1      154.47      154.73       -0.17
 R26-1     S       1      136.22      149.30       -8.76
monofascicular samples, level C: version 5 smaller than version 1 by 0.31 to 3.46% (9 samples)
monofascicular samples, level S: version 5 smaller than version 1 by 0.17 to 8.76% (6 samples)
monofascicular samples, both levels: version 5 smaller than version 1 by 0.17 to 8.76% (15 samples)
InΒ [7]:
# Files deposited more than once, by the SHA-256 the manifests give: derivatives of sparc-61 filed
# under a folder other than their own sample's, and the scale bar files of sparc-89
import collections, re
by_hash = collections.defaultdict(list)
for p, e in pelot.files("sparc-61").items():
    if e.get("sha256"):
        by_hash[e["sha256"]].append(p)
for p in sorted(pelot.files("sparc-61")):
    m = re.match(r"files/derivative/(sub-\d+)/(?:(sam-\d+)/)?(sub-\d+)(sam-\d+)", p)
    if m and (m.group(1) != m.group(3) or m.group(2) != m.group(4)):
        print(f"sparc-61 {p}\n  folder {m.group(1)}/{m.group(2) or '(no sample folder)'}, named for {m.group(3)}/{m.group(4)}; "
              f"same content as: {[q for q in by_hash[pelot.files('sparc-61')[p].get('sha256')] if q != p]}")
f89 = pelot.files("sparc-89")
for p in sorted(f89):
    if re.search(r"P(9-3|11-1)Scale", p):
        print(f"sparc-89 {p} sha256 {f89[p].get('sha256')}")
sparc-61 files/derivative/sub-50/sam-2/sub-51sam-3C51-3Slide2p4MT (1).tif
  folder sub-50/sam-2, named for sub-51/sam-3; same content as: ['files/derivative/sub-51/sam-3/sub-51sam-3C51-3Slide2p4MT (1).tif']
sparc-61 files/derivative/sub-50/sam-2/sub-51sam-3C51-3Slide2p4MT.jp2
  folder sub-50/sam-2, named for sub-51/sam-3; same content as: ['files/derivative/sub-51/sam-3/sub-51sam-3C51-3Slide2p4MT.jp2']
sparc-61 files/derivative/sub-62/sam-1/sub-63sam-1C63-1Slide2p3MT10x (1).tif
  folder sub-62/sam-1, named for sub-63/sam-1; same content as: ['files/derivative/sub-63/sub-63sam-1C63-1Slide2p3MT10x (1).tif']
sparc-61 files/derivative/sub-62/sam-1/sub-63sam-1C63-1Slide2p3MT10x.jp2
  folder sub-62/sam-1, named for sub-63/sam-1; same content as: ['files/derivative/sub-63/sub-63sam-1C63-1Slide2p3MT10x.jp2']
sparc-61 files/derivative/sub-63/sub-63sam-1C63-1Slide2p3MT10x (1).tif
  folder sub-63/(no sample folder), named for sub-63/sam-1; same content as: ['files/derivative/sub-62/sam-1/sub-63sam-1C63-1Slide2p3MT10x (1).tif']
sparc-61 files/derivative/sub-63/sub-63sam-1C63-1Slide2p3MT10x.jp2
  folder sub-63/(no sample folder), named for sub-63/sam-1; same content as: ['files/derivative/sub-62/sam-1/sub-63sam-1C63-1Slide2p3MT10x.jp2']
sparc-89 files/primary/sub-11/sam-1/sub-11_sam-1_P11-1ScaleMask.tif sha256 4OVNy7OniH02pS3Qlf/+PWFFvw3hCwpWvfdj0gZ3X4Y=
sparc-89 files/primary/sub-11/sam-1/sub-11_sam1_P11-1ScaleBar.tif sha256 4OVNy7OniH02pS3Qlf/+PWFFvw3hCwpWvfdj0gZ3X4Y=
sparc-89 files/primary/sub-9/sam-3/sub-9_sam-3_P9-3ScaleMask.tif sha256 0VAaFdtdpRbfpIBjAzppxnjN7TwSQ+doHR7zysfumNo=
sparc-89 files/primary/sub-9/sam-3/sub-9_sam3_P9-3ScaleBar.tif sha256 4OVNy7OniH02pS3Qlf/+PWFFvw3hCwpWvfdj0gZ3X4Y=
InΒ [8]:
# Human nerve traces: sparc-65 holds NerveMask.tif for every sample and, for some, a second
# trace NerveMask_AllTissue.tif. HumanRatSegmentationAnalysis_v2.m reads NerveMask.tif
# (nervefilename); the Figure 2 legend says four human samples needed manual adjustment to
# exclude tissue that was not part of the nerve trunk.
alltis = sorted(p for p in pelot.files("sparc-65") if p.endswith("NerveMask_AllTissue.tif"))
rows = []
for p in alltis:
    m = __import__("re").search(r"sub-(\d+)/sam-(\d+)/", p)
    s = f"C{m.group(1)}-{m.group(2)}"
    if s not in res:
        continue
    o = pelot.objects(pelot.read_mask("sparc-65", p))
    k = res[s]["um_per_px"]
    rows.append(dict(sample=s, d_NerveMask=res[s]["nerve_d"], d_AllTissue=float(pelot.eff_d(o[0]["area"] * k * k)),
                     d_file=float(np.atleast_1d(om["dNerve_um"][list(om["sub_sam"]).index(s)])[0])))
print("human samples with an AllTissue trace:", len(rows))
print(pd.DataFrame(rows).round(1).to_string(index=False))
# Rat traces of version 1 against the file, per fascicle (hole traces measured as bwboundaries traces them)
rr = []
for s in tab_v1["sample"]:
    file_d = np.sort(np.atleast_1d(om["dFasc_um"][list(om["sub_sam"]).index(s)]).astype(float))
    mine = np.sort(res_v1[s]["fasc"].d_in.to_numpy())
    rr.append(dict(sample=s, n=len(mine), max_abs_rel_diff=np.max(np.abs(mine / file_d - 1))))
rr = pd.DataFrame(rr)
print("\nrat version 1 inner diameters against the file, largest relative difference per sample:")
print(rr.assign(max_abs_rel_diff=rr.max_abs_rel_diff.map(lambda x: f"{x:.1e}")).to_string(index=False))
human samples with an AllTissue trace: 4
sample  d_NerveMask  d_AllTissue  d_file
 C47-2       1864.2       2692.4  1864.2
 C54-3       1615.1       1924.6  1615.1
 C55-3       1025.5       1327.5  1025.5
 C63-1       1353.3       2390.8  1353.3

rat version 1 inner diameters against the file, largest relative difference per sample:
sample  n max_abs_rel_diff
 R16-3  1          0.0e+00
 R17-3  1          1.3e-06
 R20-3  1          0.0e+00
 R23-3  1          0.0e+00
 R25-3  1          0.0e+00
 R21-3  1          0.0e+00
 R22-3  1          8.1e-07
 R24-3  1          3.6e-06
 R18-1  1          0.0e+00
 R16-1  2          4.5e-03
 R17-1  1          1.0e-03
 R25-1  1          8.4e-04
 R23-1  2          1.1e-03
 R20-1  1          1.1e-03
 R21-1  1          5.3e-04
 R26-1  1          1.1e-01
 R24-1  1          1.2e-03
 R22-1  3          3.2e-03
InΒ [9]:
# Subject metadata (rat) and the readme's statements
subj60 = pelot.read_excel("sparc-60", "files/subjects.xlsx")
print(subj60[["subject_id", "age", "sex", "strain", "body mass", "body mass units"]].to_string(index=False))
readme60 = pelot.read_bytes("sparc-60", "readme.md").decode()
print("\nreadme.md of sparc-60 says:", [l.strip() for l in readme60.splitlines() if "days old" in l])
subject_id      age    sex         strain  body mass body mass units
    sub-16  94 days   Male Sprague-Dawley        534               g
    sub-17 189 days   Male Sprague-Dawley        422               g
    sub-18 268 days Female Sprague-Dawley        312               g
    sub-20  75 days   Male Sprague-Dawley        431               g
    sub-21 115 days Female Sprague-Dawley        266               g
    sub-22 114 days Female Sprague-Dawley        260               g
    sub-23  88 days   Male Sprague-Dawley        466               g
    sub-24 103 days Female Sprague-Dawley        292               g
    sub-25 141 days   Male Sprague-Dawley        570               g
    sub-26  89 days Female Sprague-Dawley        258               g

readme.md of sparc-60 says: ['**Subjects & Samples:** Adult male (n=5) and female (n=5) Sprague-Dawley rats were used for this study, 65 - 268 days old.']
InΒ [10]:
# Check of mixed.py on synthetic balanced designs, where Kenward-Roger and Satterthwaite must
# give the classical split-plot F tests and degrees of freedom
rng_chk = np.random.default_rng(0)  # synthetic data for a software check only, no claim
rows = [dict(sp=a, lev=b, subject=f"{a}{s}", sample=f"{a}{s}{b}", y=u + w + rng_chk.normal() + 0.5 * (b == "C"))
        for a in "xyz" for s in range(5) for u in [rng_chk.normal()] for b in "CS" for w in [rng_chk.normal(0, .7)] for r in range(4)]
syn = pd.DataFrame(rows)
fs = mixed.fit(syn, "y", mixed.Design(syn, "sp", "lev", list("xyz"), ["C", "S"]), ["subject", "sample"], bounded=False)
print("Kenward-Roger:"); print(mixed.anova(fs).round(4).to_string(index=False))
print("Satterthwaite:"); print(mixed.anova(fs, "satterthwaite").round(4).to_string(index=False))
cell = syn.groupby("sample").y.mean().to_frame().join(syn.groupby("sample")[["sp", "lev", "subject"]].first())
import statsmodels.formula.api as smf
a = smf.ols("y ~ C(sp, Sum) * C(lev, Sum) + C(subject)", data=cell).fit()
from statsmodels.stats.anova import anova_lm
t = anova_lm(a, typ=1)
F_lev = t.loc["C(lev, Sum)", "mean_sq"] / t.loc["Residual", "mean_sq"]
print(f"classical split plot on the sample means: level F = {F_lev:.4f} on (1, {int(t.loc['Residual', 'df'])}) df")
Kenward-Roger:
  term      F  df_num  df_den      p
    sp 0.0033       2    12.0 0.9967
   lev 1.2607       1    12.0 0.2835
sp*lev 1.2879       2    12.0 0.3114
Satterthwaite:
  term      F  df_num  df_den      p
    sp 0.0033       2    12.0 0.9967
   lev 1.2607       1    12.0 0.2835
sp*lev 1.2879       2    12.0 0.3114
classical split plot on the sample means: level F = 1.2607 on (1, 12) df
/tmp/ipykernel_2547/531905766.py:12: SingularMatrixWarning: The design matrix is rank-deficient. The model parameters are not uniquely determined.
  a = smf.ols("y ~ C(sp, Sum) * C(lev, Sum) + C(subject)", data=cell).fit()

The data check finds:

  • The human measurements reproduce the deposited output metrics exactly (nerve diameter, number of fascicles and fascicle diameters of all 18 samples), once masks stored as photometric MinIsWhite are inverted as MATLAB's imread returns them. The boundary convention of this notebook is therefore the code's. The human nerve diameters are those of NerveMask.tif, the trace the code reads and the file holds; the four samples that also have NerveMask_AllTissue.tif (C47-2, C54-3, C55-3, C63-1) are the four the Figure 2 legend says were adjusted by hand, and their AllTissue traces are larger (1328 to 2692 um).
  • Pig MT nerve diameters match the file exactly. The pig fascicle counts of the file are those of the version 1 masks of sparc-64 in all 18 samples (version 4 differs in 11). The fascicle diameters in the file are about 1.40 times those of the masks of either version, and the ratio is not a constant factor (1.36 to 1.61 per fascicle), so it is not a scale; it is unexplained. The paper's own pig MT values (mean 135, median 130 um) match the masks, not the file.
  • The rat values of the file match the version 1 masks of sparc-60: the cervical inner diameters exactly (within 4e-6, with hole traces measured as bwboundaries traces them), the subdiaphragmatic ones within 0.5%, except R26-1 (11%). The version 5 outer perineurium boundaries are smaller, so the rat perineurium is thinner in version 5: the effective nerve diameters of the 15 monofascicular samples are 0.31 to 3.46% smaller cervically and 0.17 to 8.76% subdiaphragmatically (R26-1 the largest change). For the three multifascicular rat samples the file gives the connective tissue boundary as the nerve diameter, where the Methods use the outer perineurium of the largest fascicle.
  • In sparc-61 the derivatives of C51-3 are also filed under sub-50/sam-2, and those of C63-1 under sub-62/sam-1 and under sub-63/ with no sample folder, with the same SHA-256 as the copies in their own folders. In sparc-89 the file sub-9_sam3_P9-3ScaleBar.tif has the SHA-256 of P11-1's two scale files; the code reads P9-3ScaleMask.tif, which differs.
  • sparc-60's readme gives the rats as 65 to 268 days old; the subjects sheet gives 75 to 268 days.
  • mixed.py gives the classical split-plot F test and degrees of freedom on a balanced synthetic design, with Kenward-Roger and with Satterthwaite degrees of freedom. On the unbalanced fascicle diameter fit its Kenward-Roger quantities are checked against finite differences (fascicles-larger-cervical).

rat-sample-set (link)ΒΆ

The rat traces hold the rat samples the paper analysed, segmentations of nine left cervical and nine anterior subdiaphragmatic vagus nerve samples from Sprague-Dawley rats, 4F and 5M at each level, from 10 rats (5M/5F).

InΒ [11]:
rat = MAIN[MAIN.species == "rat"]
print(rat.groupby(["level", "sex"]).size().unstack())
print("rats:", rat.subject.nunique(), "; sex of rats:", rat.drop_duplicates("subject").sex.value_counts().to_dict())
smp60 = pelot.read_excel("sparc-60", "files/samples.xlsx")
smp60["key"] = "R" + smp60.subject_id.str[4:] + "-" + smp60.sample_id.str[4:]
loc = dict(zip(smp60.key, smp60["specimen anatomical location"]))
print("level per samples.xlsx agrees with the code's lists:",
      all(("cervical" in loc[s]) == (l == "C") for s, l in zip(rat["sample"], rat.level)))
print("strain:", subj60.strain.unique(), "; ages (days):", subj60.age.str.split().str[0].astype(int).agg(["min", "max"]).to_list())
w = subj60["body mass"].astype(float)
print(f"body mass over {len(w)} rats: {w.mean():.1f} +/- {w.std():.1f} g (SD)")
print("extra samples in sparc-60 beyond the 18:", sorted(set(smp60.key) - set(rat["sample"])))
sex    F  M
level      
C      4  5
S      4  5
rats: 10 ; sex of rats: {'M': 5, 'F': 5}
level per samples.xlsx agrees with the code's lists: True
strain: <StringArray>
['Sprague-Dawley']
Length: 1, dtype: str ; ages (days): [75, 268]
body mass over 10 rats: 381.1 +/- 118.4 g (SD)
extra samples in sparc-60 beyond the 18: []

Result: reproduced. sparc-60 holds 9 cervical and 9 subdiaphragmatic rat samples, 4F and 5M at each level, from 10 Sprague-Dawley rats (5M, 5F), aged 75 to 268 days, 381.1 +/- 118.4 g, as the Methods state. R18-1 is a cervical sample (R18 has no subdiaphragmatic sample; R26-1 is in its place). No sample beyond the 18 is in the dataset.

human-sample-set (link)ΒΆ

The human anti-claudin-1 data hold the human samples the paper analysed, nine left cervical and nine anterior subdiaphragmatic samples, 4F and 5M at each level.

InΒ [12]:
hum = MAIN[MAIN.species == "human"]
print(hum.groupby(["level", "sex"]).size().unstack())
subj65 = pelot.read_excel("sparc-65", "files/subjects.xlsx")
sx = dict(zip(subj65.subject_id.str[4:].astype(int), subj65.sex.str[0]))
print("sex in subjects.xlsx agrees with the code's lists:", all(sx[s] == x for s, x in zip(hum["sub"], hum.sex)))
named = ["C47-2", "C54-3", "C55-3", "C56-3", "C63-1", "C57-3"]
print("named samples present:", {s: s in set(hum["sample"]) for s in named})
have = {s: all(any(p.startswith(f"files/primary/sub-{s[1:].split('-')[0]}/sam-{s.split('-')[1]}/") and p.endswith(m)
                   for p in pelot.files("sparc-65")) for m in ["NerveMask.tif", "PeriExtMask.tif", "PeriInnerMask.tif"])
        for s in hum["sample"]}
mic = {s: any(p.startswith(f"files/primary/sub-{s[1:].split('-')[0]}/sam-{s.split('-')[1]}/") and p.endswith(".nd2")
              for p in pelot.files("sparc-65")) for s in hum["sample"]}
print("samples with nerve, outer and inner masks:", sum(have.values()), "; with an nd2 micrograph:", sum(mic.values()))
print("human subjects:", hum.subject.nunique(), "; ages (years, code lists; 99 = 90+):", sorted(hum.drop_duplicates('subject').age_code))
sex    F  M
level      
C      4  5
S      4  5
sex in subjects.xlsx agrees with the code's lists: True
named samples present: {'C47-2': True, 'C54-3': True, 'C55-3': True, 'C56-3': True, 'C63-1': True, 'C57-3': True}
samples with nerve, outer and inner masks: 18 ; with an nd2 micrograph: 18
human subjects: 14 ; ages (years, code lists; 99 = 90+): [54.0, 56.0, 59.0, 67.0, 78.0, 84.0, 84.0, 85.0, 86.0, 87.0, 99.0, 99.0, 99.0, 99.0]

Result: reproduced. sparc-65 holds anti-claudin-1 micrographs and nerve, outer and inner perineurium traces of 9 cervical and 9 subdiaphragmatic human samples, 4F and 5M at each level, including C47-2, C54-3, C55-3, C56-3, C63-1 and C57-3.

pig-mt-sample-set (link)ΒΆ

The pig MT traces hold the pig samples the paper analysed, nine left cervical (6F/3M) and nine anterior subdiaphragmatic (6F/3M) samples, segmented for nerve and inner perineurium boundaries.

InΒ [13]:
pig = MAIN[MAIN.species == "pig"]
print(pig.groupby(["level", "sex"]).size().unstack())
subj64 = pelot.read_excel("sparc-64", "files/subjects.xlsx")
sx = dict(zip(subj64.subject_id.str[4:].astype(int), subj64.sex.str[0]))
print("sex in subjects.xlsx agrees:", all(sx[s] == x for s, x in zip(pig["sub"], pig.sex)))
print("pigs:", pig.subject.nunique(), "; subjects in subjects.xlsx:", len(subj64))
print("P11-1 and P13-1 present:", {s: s in set(pig["sample"]) for s in ["P11-1", "P13-1"]})
print("outer perineurium masks in sparc-64:", sum(p.endswith("PeriExtMask.tif") for p in pelot.files("sparc-64")))
sex    F  M
level      
C      6  3
S      6  3
sex in subjects.xlsx agrees: True
pigs: 11 ; subjects in subjects.xlsx: 11
P11-1 and P13-1 present: {'P11-1': True, 'P13-1': True}
outer perineurium masks in sparc-64: 0

Result: reproduced. sparc-64 holds nerve and fascicle (inner perineurium) traces of 9 cervical and 9 subdiaphragmatic pig samples, 6F and 3M at each level, from 11 pigs, including P11-1 and P13-1; it has no outer perineurium traces, as the paper says.

pig-if-sample-set (link)ΒΆ

The pig anti-fibronectin data hold four cervical (2F/2M) and four subdiaphragmatic (2F/2M) pig samples segmented for nerve, outer and inner perineurium boundaries.

InΒ [14]:
ifs = pelot.if_samples()
print(ifs[["sample", "level", "sex", "location"]].to_string(index=False))
print(ifs.groupby(["level", "sex"]).size().unstack())
print("each among the 18 pig MT samples at the same level:",
      all(((pig["sample"] == s) & (pig.level == l)).any() for s, l in zip(ifs["sample"], ifs.level)))
print("P12-1 present:", "P12-1" in set(ifs["sample"]))
sample level sex                                                                                                                                              location
  P9-3     C   F      left cervical vagus nerve; 14 cm from bottom of jaw to top of sternum; sample middle ~2 cm; 6.25 cm from middle of sample to carotid bifurcation
 P11-1     C   M         left cervical vagus nerve; 15 cm from bottom of jaw to top of sternum; sample middle ~2 cm; 6 cm from middle of sample to carotid bifurcation
 P12-1     C   M      left cervical vagus nerve; 13 cm from bottom of jaw to top of sternum; sample middle ~2 cm; 4.75 cm from middle of sample to carotid bifurcation
 P14-2     C   F         left cervical vagus nerve; 15 cm from bottom of jaw to top of sternum; sample middle ~2 cm; 8 cm from middle of sample to carotid bifurcation
 P12-3     S   M anterior subdiaphragmatic vagus nerve; 2.75 cm from middle of sample to esophageal hiatus, 2.75 cm from middle of sample to gastroesophageal junction
 P13-3     S   M   anterior subdiaphragmatic vagus nerve; 2.5 cm from middle of sample to esophageal hiatus, 2.5 cm from middle of sample to gastroesophageal junction
 P14-3     S   F   anterior subdiaphragmatic vagus nerve; 2.5 cm from middle of sample to esophageal hiatus, 2.5 cm from middle of sample to gastroesophageal junction
 P15-3     S   F       anterior subdiaphragmatic vagus nerve; 2 cm from middle of sample to esophageal hiatus, 2 cm from middle of sample to gastroesophageal junction
sex    F  M
level      
C      2  2
S      2  2
each among the 18 pig MT samples at the same level: True
P12-1 present: True

Result: reproduced. sparc-89 holds nerve, outer and inner perineurium traces of 4 cervical and 4 subdiaphragmatic pig samples, 2F and 2M at each level, each one of the MT samples at the same level, including P12-1.

mt-micrograph-collections (link)ΒΆ

The MT micrograph collections hold cross sections of the samples collected, 37 cervical and 32 subdiaphragmatic human samples from 30 subjects, 21 cervical and 24 subdiaphragmatic pig samples from 12 pigs, and 18 cervical and 9 subdiaphragmatic rat samples from 10 rats.

Counted from each collection's samples.xlsx (level from the anatomical location) and from the micrograph files (.nd2 in files/primary/), and the subjects from subjects.xlsx.

InΒ [15]:
import re
coll = []
for ds, sp in [("sparc-61", "human"), ("sparc-82", "pig"), ("sparc-16", "rat")]:
    smp = pelot.read_excel(ds, "files/samples.xlsx")
    subj = pelot.read_excel(ds, "files/subjects.xlsx")
    locs = smp["specimen anatomical location"].astype(str).str.lower()
    nd2 = [p for p in pelot.files(ds) if p.startswith("files/primary/") and p.endswith(".nd2")]
    keyed = {}
    for p in nd2:
        m = re.match(r"files/primary/(sub-\d+)/(sam-\d+)/", p)
        keyed.setdefault(m.groups(), []).append(p)
    lev = {(a, b): ("C" if "cervical" in l else "S") for a, b, l in zip(smp.subject_id, smp.sample_id, locs)}
    coll.append(dict(dataset=ds, species=sp, samples_cervical=sum(v == "C" for v in lev.values()),
                     samples_subdiaphragmatic=sum(v == "S" for v in lev.values()),
                     subjects=len(subj), sexes=subj.sex.value_counts().to_dict(),
                     samples_with_nd2=len(keyed), nd2_files=len(nd2),
                     nd2_cervical=sum(len(v) for k, v in keyed.items() if lev.get(k) == "C"),
                     nd2_subdiaphragmatic=sum(len(v) for k, v in keyed.items() if lev.get(k) == "S"),
                     nd2_without_sample_row=sorted(set(keyed) - set(lev))))
coll = pd.DataFrame(coll)
print(coll.drop(columns="nd2_without_sample_row").to_string(index=False))
print(coll[["dataset", "nd2_without_sample_row"]].to_string(index=False))
smp61 = pelot.read_excel("sparc-61", "files/samples.xlsx")
no_nd2 = [(a, b, l) for a, b, l in zip(smp61.subject_id, smp61.sample_id, smp61["specimen anatomical location"])
          if not any(p.startswith(f"files/primary/{a}/{b}/") and p.endswith(".nd2") for p in pelot.files("sparc-61"))]
print("sparc-61 sample rows without an nd2 in their folder:", no_nd2)
print("sparc-61 nd2 in sub-48/sam-2:", [p for p in pelot.files("sparc-61") if p.startswith("files/primary/sub-48/") and p.endswith(".nd2")])
for ds in ["sparc-61", "sparc-82", "sparc-16"]:
    smp = pelot.read_excel(ds, "files/samples.xlsx")
    analysed = MAIN[MAIN.species == {"sparc-61": "human", "sparc-82": "pig", "sparc-16": "rat"}[ds]]
    keys = set(zip(smp.subject_id, smp.sample_id))
    print(ds, "analysed samples present:", sum((f"sub-{a}", f"sam-{b}") in keys for a, b in zip(analysed["sub"], analysed.sam)), "of", len(analysed))
 dataset species  samples_cervical  samples_subdiaphragmatic  subjects                      sexes  samples_with_nd2  nd2_files  nd2_cervical  nd2_subdiaphragmatic
sparc-61   human                37                        32        30 {'Male': 15, 'Female': 15}                69         69            36                    32
sparc-82     pig                21                        24        12   {'Female': 9, 'Male': 3}                45         45            21                    24
sparc-16     rat                18                         9        10   {'Male': 5, 'Female': 5}                27         36            18                    18
 dataset nd2_without_sample_row
sparc-61      [(sub-48, sam-2)]
sparc-82                     []
sparc-16                     []
sparc-61 sample rows without an nd2 in their folder: [('sub-48', 'sam-1', 'right cervical vagus nerve; 20 mm from carotid bifurcation')]
sparc-61 nd2 in sub-48/sam-2: ['files/primary/sub-48/sam-2/microscopy/sub-48sam-2C48-2Slide2p1_10x.nd2']
sparc-61 analysed samples present: 18 of 18
sparc-82 analysed samples present: 18 of 18
sparc-16 analysed samples present: 18 of 18

Result: reproduced. sparc-61 has 37 cervical and 32 subdiaphragmatic human samples from 30 subjects (15F/15M), sparc-82 21 cervical and 24 subdiaphragmatic pig samples from 12 pigs, and sparc-16 18 cervical and 9 subdiaphragmatic rat samples from 10 rats. Every sample row has an nd2 micrograph in its folder (two for each rat subdiaphragmatic sample, anterior and posterior) except one in sparc-61: the right cervical sample sub-48/sam-1 has no folder, and the micrograph named C48-2 is in sub-48/sam-2, which has no row; counted once, it makes 37 human cervical micrographs. Every analysed sample of each species is in its collection.

nerve-diameter-anovaΒΆ

Effective nerve diameter differs across species and across nerve levels, with no detected interaction of species and level.

Mixed model of effective nerve diameter (um), fixed species, level and interaction, random subject, REML; readings (a) variance component unbounded (JMP default), (b) bounded at zero. Rat nerve diameter is the outer perineurium of the largest fascicle (Methods). Denominator degrees of freedom by Kenward-Roger, the claims file's (JMP's) method; Satterthwaite is shown as a variant.

InΒ [16]:
D3 = mixed.Design(MAIN, "species", "level", ["human", "pig", "rat"], ["C", "S"])
nd_fit = {}
for reading, bounded in [("a unbounded", False), ("b bounded", True)]:
    f = mixed.fit(MAIN, "nerve_d", D3, ["subject"], bounded=bounded)
    nd_fit[reading] = f
    print(f"reading {reading}: residual variance {f.sigma2:.0f}, subject variance {f.tau2['subject']:.0f} um^2")
    print("  Kenward-Roger (JMP's method):"); print(mixed.anova(f).round(4).to_string(index=False))
    print("  variant, Satterthwaite:"); print(mixed.anova(f, "satterthwaite").round(4).to_string(index=False))
print("\npaper: species F = 577.1, p < 0.0001; level F = 11.01, p = 0.0030; interaction F = 2.445, p = 0.1085")
# variant: rat version 1 traces
MAIN_v1 = pd.concat([MAIN[MAIN.species != "rat"], tab_v1])
f = mixed.fit(MAIN_v1, "nerve_d", mixed.Design(MAIN_v1, "species", "level", ["human", "pig", "rat"], ["C", "S"]), ["subject"], bounded=False)
print("\nvariant, rat traces of sparc-60 version 1, reading a, Kenward-Roger:")
print(mixed.anova(f).round(4).to_string(index=False))
reading a unbounded: residual variance 126636, subject variance -52012 um^2
  Kenward-Roger (JMP's method):
         term        F  df_num  df_den      p
      species 587.3046       2 21.0597 0.0000
        level  11.0258       1 30.6799 0.0023
species*level   2.4499       2 30.7599 0.1030
  variant, Satterthwaite:
         term        F  df_num  df_den      p
      species 599.6067       2 14.1110 0.0000
        level  11.0466       1 23.3352 0.0029
species*level   2.4549       2 23.4200 0.1077
reading b bounded: residual variance 62784, subject variance 0 um^2
  Kenward-Roger (JMP's method):
         term        F  df_num  df_den      p
      species 264.8781       2    48.0 0.0000
        level  20.4050       1    48.0 0.0000
species*level   3.5957       2    48.0 0.0351
  variant, Satterthwaite:
         term        F  df_num  df_den      p
      species 264.8781       2    48.0 0.0000
        level  20.4050       1    48.0 0.0000
species*level   3.5957       2    48.0 0.0351

paper: species F = 577.1, p < 0.0001; level F = 11.01, p = 0.0030; interaction F = 2.445, p = 0.1085
variant, rat traces of sparc-60 version 1, reading a, Kenward-Roger:
         term        F  df_num  df_den      p
      species 586.0921       2 21.0530 0.0000
        level  11.0231       1 30.6818 0.0023
species*level   2.4488       2 30.7617 0.1031

Result: reproduced. Under reading (a), with Kenward-Roger degrees of freedom, species F = 587.3 (p < 0.0001), level F = 11.03 (p = 0.0023) and interaction F = 2.45 (p = 0.103), against the paper's 577.1, 11.01 (p = 0.0030) and 2.445 (p = 0.1085). Satterthwaite degrees of freedom give 599.6, 11.05 (p = 0.0029) and 2.45 (p = 0.108). Under reading (b) the subject variance is at zero and the interaction is significant (F = 3.60, p = 0.035), so the absence of an interaction holds only under JMP's default, reading (a), which the paper's F values match; one reading is enough under the criterion.

human-pig-nerve-diameter-similarΒΆ

Human and pig vagus nerves have similar effective diameters, 1.9 +/- 0.5 against 2.2 +/- 0.2 mm cervically and 1.7 +/- 0.3 against 1.6 +/- 0.2 mm subdiaphragmatically, with no significant difference by Tukey's test.

InΒ [17]:
g = MAIN.groupby(["species", "level"]).nerve_d.agg(["mean", "std", "min", "max", "count"]) / [1000, 1000, 1000, 1000, 1]
print("effective nerve diameter (mm):"); print(g.round(3))
for reading, f in nd_fit.items():
    for method in ["kr", "satterthwaite"]:
        tk = mixed.tukey(f, "a", method=method)
        print(f"\nTukey on species least squares means, reading {reading}, {method}:")
        print(tk[["first", "second", "diff", "se", "df", "p"]].round(4).to_string(index=False))
f = nd_fit["a unbounded"]
tk = mixed.tukey(f, "ab")
sel = tk[[a[0] == "human" and b[0] == "pig" and a[1] == b[1] for a, b in zip(tk["first"], tk["second"])]]
print("\nvariant, human against pig at each level (species by level Tukey, reading a, Kenward-Roger):")
print(sel[["first", "second", "diff", "df", "p"]].round(4).to_string(index=False))
hp = MAIN[MAIN.species.isin(["human", "pig"])]
for lev in ["C", "S"]:
    a, b = hp[(hp.species == "human") & (hp.level == lev)].nerve_d, hp[(hp.species == "pig") & (hp.level == lev)].nerve_d
    print(f"{LEVEL[lev]}: human - pig = {(a.mean() - b.mean()) / 1000:.3f} mm, difference over the mean SD = {(a.mean() - b.mean()) / np.sqrt((a.var() + b.var()) / 2):.2f}")
effective nerve diameter (mm):
                mean    std    min    max  count
species level                                   
human   C      1.922  0.460  1.026  2.547    9.0
        S      1.677  0.316  1.353  2.237    9.0
pig     C      2.195  0.195  1.966  2.614    9.0
        S      1.638  0.161  1.413  1.859    9.0
rat     C      0.258  0.025  0.225  0.293    9.0
        S      0.135  0.015  0.110  0.155    9.0

Tukey on species least squares means, reading a unbounded, kr:
        first      second      diff      se      df     p
(human, None) (pig, None) -115.9326 60.8000 23.4962 0.159
(human, None) (rat, None) 1563.0503 59.6065 22.9106 0.000
  (pig, None) (rat, None) 1678.9828 53.8203 18.2109 0.000

Tukey on species least squares means, reading a unbounded, satterthwaite:
        first      second      diff      se      df      p
(human, None) (pig, None) -115.9326 59.4675 16.2706 0.1568
(human, None) (rat, None) 1563.0503 58.4089 15.7491 0.0000
  (pig, None) (rat, None) 1678.9828 53.3670 11.8249 0.0000

Tukey on species least squares means, reading b bounded, kr:
        first      second      diff      se   df      p
(human, None) (pig, None) -117.5602 83.5221 48.0 0.3451
(human, None) (rat, None) 1602.9353 83.5221 48.0 0.0000
  (pig, None) (rat, None) 1720.4955 83.5221 48.0 0.0000

Tukey on species least squares means, reading b bounded, satterthwaite:
        first      second      diff      se   df      p
(human, None) (pig, None) -117.5602 83.5221 48.0 0.3451
(human, None) (rat, None) 1602.9353 83.5221 48.0 0.0000
  (pig, None) (rat, None) 1720.4955 83.5221 48.0 0.0000
variant, human against pig at each level (species by level Tukey, reading a, Kenward-Roger):
     first   second      diff      df      p
(human, C) (pig, C) -308.3744 44.1613 0.1381
(human, S) (pig, S)   76.5093 44.1613 0.9884
cervical: human - pig = -0.274 mm, difference over the mean SD = -0.77
subdiaphragmatic: human - pig = 0.038 mm, difference over the mean SD = 0.15

Result: reproduced. Means are 1.92 +/- 0.46 (human) and 2.20 +/- 0.19 mm (pig) cervically and 1.68 +/- 0.32 and 1.64 +/- 0.16 mm subdiaphragmatically, all within the paper's SDs. Human against pig, species main-effect contrast, p = 0.159 under reading (a) with Kenward-Roger df (paper p = 0.1830; 0.157 with Satterthwaite df) and p = 0.345 under (b); at each level, p = 0.138 cervically and p = 0.988 subdiaphragmatically (variant).

rat-nerve-diameterΒΆ

Rat vagus nerves have effective diameters of 0.260 +/- 0.025 mm at the cervical level and 0.135 +/- 0.015 mm at the subdiaphragmatic level.

InΒ [18]:
rat = MAIN[MAIN.species == "rat"]
print("rat effective nerve diameter (um), outer perineurium of the largest fascicle, version 5:")
print(rat.groupby("level").nerve_d.agg(["mean", "std", "min", "max", "count"]).round(2))
print("largest fascicle by outer area is also the largest by inner area in every sample:", bool(rat.largest_by_inner_same.all()))
print("\nvariant, version 1 traces:")
print(tab_v1.groupby("level").nerve_d.agg(["mean", "std"]).round(2))
ct = rat.assign(d=np.where(rat.n_fasc > 1, rat.ct_d, rat.nerve_d))
print("\nvariant, connective tissue boundary for the three multifascicular samples:")
print(ct.groupby("level").d.agg(["mean", "std"]).round(2))
rat effective nerve diameter (um), outer perineurium of the largest fascicle, version 5:
         mean    std     min     max  count
level                                      
C      257.67  24.94  224.71  293.06      9
S      135.15  14.83  110.27  154.59      9
largest fascicle by outer area is also the largest by inner area in every sample: True

variant, version 1 traces:
         mean    std
level               
C      261.23  24.33
S      137.80  14.98

variant, connective tissue boundary for the three multifascicular samples:
         mean    std
level               
C      257.67  24.94
S      174.75  66.04

Result: reproduced. Cervical 257.7 +/- 24.9 um and subdiaphragmatic 135.2 +/- 14.8 um, against 260 +/- 25 and 135 +/- 15; means and SDs are within tolerance. The version 1 traces give 261.2 and 137.8 um. With the connective tissue boundary of the three multifascicular samples, the subdiaphragmatic mean is 174.7 um, outside the tolerance, so the paper's value uses the largest fascicle.

rat-ten-times-smallerΒΆ

Rat vagus nerves are about ten times smaller in diameter than human and pig nerves, significantly smaller than each of the two larger species.

InΒ [19]:
for reading, f in nd_fit.items():
    tk = mixed.tukey(f, "a")
    print(f"reading {reading}, Kenward-Roger:"); print(tk[["first", "second", "diff", "df", "p"]].to_string(index=False))
f = nd_fit["a unbounded"]; tk = mixed.tukey(f, "ab")
sel = tk[[(a[0] == "rat") != (b[0] == "rat") and a[1] == b[1] for a, b in zip(tk["first"], tk["second"])]]
print("\nvariant, per level (reading a):"); print(sel[["first", "second", "diff", "p"]].to_string(index=False))
m = MAIN.groupby(["species", "level"]).nerve_d.mean()
for lev in ["C", "S"]:
    print(f"{LEVEL[lev]}: human/rat = {m['human', lev] / m['rat', lev]:.1f}, pig/rat = {m['pig', lev] / m['rat', lev]:.1f}")
reading a unbounded, Kenward-Roger:
        first      second        diff        df            p
(human, None) (pig, None) -115.932586 23.496216 1.589558e-01
(human, None) (rat, None) 1563.050259 22.910591 2.442491e-15
  (pig, None) (rat, None) 1678.982845 18.210862 6.661338e-16
reading b bounded, Kenward-Roger:
        first      second        diff   df       p
(human, None) (pig, None) -117.560202 48.0 0.34511
(human, None) (rat, None) 1602.935323 48.0 0.00000
  (pig, None) (rat, None) 1720.495525 48.0 0.00000

variant, per level (reading a):
     first   second        diff            p
(human, C) (rat, C) 1597.295122 0.000000e+00
(human, S) (rat, S) 1528.805395 8.548717e-15
  (pig, C) (rat, C) 1905.669554 7.105427e-15
  (pig, S) (rat, S) 1452.296136 2.046141e-13
cervical: human/rat = 7.5, pig/rat = 8.5
subdiaphragmatic: human/rat = 12.4, pig/rat = 12.1

Result: reproduced. Rat against human and against pig, Tukey on the species means, p < 1e-12 under both readings (rat smaller), and the larger-species over rat ratios are 7.5 and 8.5 cervically and 12.4 and 12.1 subdiaphragmatically, all between 5 and 20.

nerve-cervical-largerΒΆ

Cervical vagus nerves are larger than subdiaphragmatic nerves, a trend clearest in pigs and rats.

InΒ [20]:
f = nd_fit["a unbounded"]
print(mixed.anova(f).round(4).iloc[[1]].to_string(index=False))
print("level least squares means (um):", [(x["b"], round(x["lsmean"], 1)) for x in mixed.lsmeans(f, "b")])
fb = nd_fit["b bounded"]
print("reading b level effect:", mixed.anova(fb).round(5).iloc[[1]][["F", "p"]].to_dict("records"))
rows = []
for sp in ["human", "pig", "rat"]:
    c, s = [MAIN[(MAIN.species == sp) & (MAIN.level == l)].nerve_d for l in "CS"]
    pooled = np.sqrt(((len(c) - 1) * c.var() + (len(s) - 1) * s.var()) / (len(c) + len(s) - 2))
    rows.append(dict(species=sp, cervical=c.mean(), subdiaphragmatic=s.mean(),
                     a_relative_difference=(c.mean() - s.mean()) / c.mean(), b_difference_over_pooled_sd=(c.mean() - s.mean()) / pooled))
print(pd.DataFrame(rows).round(3).to_string(index=False))
 term       F  df_num  df_den      p
level 11.0258       1 30.6799 0.0023
level least squares means (um): [('C', 1425.4), ('S', 1130.6)]
reading b level effect: [{'F': 20.40501, 'p': 4e-05}]
species  cervical  subdiaphragmatic  a_relative_difference  b_difference_over_pooled_sd
  human  1921.732          1676.957                  0.127                        0.620
    pig  2195.337          1638.472                  0.254                        3.112
    rat   257.668           135.150                  0.475                        5.972

Result: reproduced. Level F = 11.03, p = 0.0023 (Kenward-Roger), with the cervical least squares mean larger (1425 against 1131 um). The relative difference is 0.13 for humans, 0.25 for pigs and 0.48 for rats (reading a), and the difference over the pooled SD 0.62, 3.11 and 5.97 (reading b), so the trend is clearer in pigs and rats under both readings; the outcome of that part rests on these readings of "clearest".

fascicle-number-human-pigΒΆ

Pig vagus nerves have almost ten times more fascicles than human nerves (47 +/- 10 and 38 +/- 7 against 6.7 +/- 4.5 and 4.9 +/- 4.0 at the cervical and subdiaphragmatic levels), the number differs by species and level with no detected interaction, and there are more fascicles cervically.

InΒ [21]:
hp = MAIN[MAIN.species.isin(["human", "pig"])].copy()
print(hp.groupby(["species", "level"]).n_fasc.agg(["mean", "std", "min", "max", "count"]).round(2))
D2 = mixed.Design(hp, "species", "level", ["human", "pig"], ["C", "S"])
for reading, bounded in [("a unbounded", False), ("b bounded", True)]:
    f = mixed.fit(hp, "n_fasc", D2, ["subject"], bounded=bounded)
    print(f"\nreading {reading}: subject variance {f.tau2['subject']:.2f}, residual {f.sigma2:.2f}")
    print("  Kenward-Roger:"); print(mixed.anova(f).round(4).to_string(index=False))
    print("  variant, Satterthwaite:"); print(mixed.anova(f, "satterthwaite").round(4).to_string(index=False))
    print("level least squares means:", [(x["b"], round(x["lsmean"], 2)) for x in mixed.lsmeans(f, "b")])
print("\npaper: species F = 213.8, p < 0.0001; level F = 5.486, p = 0.0300; interaction F = 2.481, p = 0.1322")
                mean    std  min  max  count
species level                               
human   C       6.67   4.50    1   15      9
        S       4.89   3.95    1   13      9
pig     C      46.89  10.35   33   63      9
        S      38.22   7.08   29   49      9
reading a unbounded: subject variance 17.29, residual 30.28
  Kenward-Roger:
         term        F  df_num  df_den      p
      species 212.8566       1 21.0310 0.0000
        level   5.3929       1 17.0716 0.0328
species*level   2.4295       1 17.0716 0.1374
  variant, Satterthwaite:
         term        F  df_num  df_den      p
      species 216.6785       1 22.9898 0.0000
        level   5.7881       1 19.3108 0.0263
species*level   2.6076       1 19.3108 0.1226
level least squares means: [('C', 26.44), ('S', 21.66)]

reading b bounded: subject variance 17.29, residual 30.28
  Kenward-Roger:
         term        F  df_num  df_den      p
      species 212.8561       1 21.0310 0.0000
        level   5.3929       1 17.0715 0.0328
species*level   2.4295       1 17.0715 0.1374
  variant, Satterthwaite:
         term        F  df_num  df_den      p
      species 216.6780       1 22.9896 0.0000
        level   5.7881       1 19.3109 0.0263
species*level   2.6076       1 19.3109 0.1226
level least squares means: [('C', 26.44), ('S', 21.66)]

paper: species F = 213.8, p < 0.0001; level F = 5.486, p = 0.0300; interaction F = 2.481, p = 0.1322

Result: reproduced. Means are 46.9 +/- 10.3 and 38.2 +/- 7.1 fascicles for pigs and 6.7 +/- 4.5 and 4.9 +/- 4.0 for humans, all within the paper's SDs. With Kenward-Roger df, species F = 212.9 (p < 0.0001), level F = 5.39 (p = 0.033) with the cervical least squares mean higher (26.4 against 21.7), and interaction F = 2.43 (p = 0.137), against the paper's 213.8, 5.486 (p = 0.0300) and 2.481 (p = 0.1322); the same under both readings (the subject variance is positive). Satterthwaite df give 216.7, 5.79 (p = 0.026) and 2.61 (p = 0.12).

rat-subdiaphragmatic-multifascicularΒΆ

Rat vagus nerves are generally monofascicular; three of the nine rat subdiaphragmatic samples (R16-1, R22-1 and R23-1) are multifascicular.

InΒ [22]:
print(rat[["sample", "level", "n_fasc"]].sort_values(["level", "sample"]).to_string(index=False))
print("multifascicular:", rat[rat.n_fasc > 1]["sample"].to_list())
print("version 1:", tab_v1[tab_v1.n_fasc > 1][["sample", "n_fasc"]].values.tolist())
sample level  n_fasc
 R16-3     C       1
 R17-3     C       1
 R18-1     C       1
 R20-3     C       1
 R21-3     C       1
 R22-3     C       1
 R23-3     C       1
 R24-3     C       1
 R25-3     C       1
 R16-1     S       2
 R17-1     S       1
 R20-1     S       1
 R21-1     S       1
 R22-1     S       3
 R23-1     S       2
 R24-1     S       1
 R25-1     S       1
 R26-1     S       1
multifascicular: ['R16-1', 'R23-1', 'R22-1']
version 1: [['R16-1', 2], ['R23-1', 2], ['R22-1', 3]]

Result: reproduced. All nine cervical samples have one fascicle; R16-1 (2), R22-1 (3) and R23-1 (2) are the only multifascicular subdiaphragmatic samples.

rat-multifascicular-proportionsΒΆ

Counting all segmented fascicles and the surrounding tissue, the epineurium, perineurium and endoneurium proportions are 58.0, 3.8 and 38.2% for R16-1, 55.1, 4.2 and 40.7% for R23-1, and 63.4, 3.6 and 33.0% for R22-1.

InΒ [23]:
exp = {"R16-1": (58.0, 3.8, 38.2), "R23-1": (55.1, 4.2, 40.7), "R22-1": (63.4, 3.6, 33.0)}
rows = []
for ver, t in [("v5", tab), ("v1", tab_v1)]:
    for s, e in exp.items():
        r = t[t["sample"] == s].iloc[0]
        endo, peri = 100 * r.endo_area / r.ct_area, 100 * r.peri_area / r.ct_area
        got = (100 - endo - peri, peri, endo)
        rows.append(dict(version=ver, sample=s, epi=got[0], peri=got[1], endo=got[2],
                         within_10pct=sum(abs(g - x) <= 0.1 * x for g, x in zip(got, e))))
print(pd.DataFrame(rows).round(2).to_string(index=False))
version sample   epi  peri  endo  within_10pct
     v5  R16-1 57.95  3.82 38.23             3
     v5  R23-1 55.15  4.19 40.66             3
     v5  R22-1 63.42  3.61 32.96             3
     v1  R16-1 57.58  4.82 37.60             2
     v1  R23-1 53.52  6.59 39.89             2
     v1  R22-1 63.00  4.71 32.29             2

Result: reproduced. With the version 5 traces all 9 values are within 10%: R16-1 57.95, 3.82 and 38.23%, R23-1 55.15, 4.19 and 40.66%, R22-1 63.42, 3.61 and 32.96% (epineurium, perineurium, endoneurium). With the version 1 traces the perineurium proportions (4.82, 6.59, 4.71%) are above the paper's, and 6 of 9 values hold.

fascicle-diameter-anovaΒΆ

Effective fascicle diameter differs across species and nerve levels, with a significant species by level interaction.

log10 of every fascicle's effective diameter (inner perineurium), random subject and sample, Kenward-Roger df (Satterthwaite as a variant); rats contribute the largest fascicle per sample, as the criterion says. The paper's code keeps a different rat fascicle: DataPlotting_v4.m sorts the outer perineurium diameters of each rat sample (for the nerve diameter) but keeps FascicleIn{1}, the inner trace of the first ring in bwboundaries order, as the fascicle diameter. That selection is shown as a variant here and in the claims that use this model.

InΒ [24]:
fr = []
for sp in ["human", "pig", "rat"]:
    t = pelot.fascicles(res, MAIN, sp)
    if sp == "rat":
        t = t.loc[t.groupby("sample").a_out.idxmax()]
    t["species"] = sp
    fr.append(t)
FASC = pd.concat(fr, ignore_index=True)
FASC["log_d"] = np.log10(FASC.d_in)
print(FASC.groupby(["species", "level"]).d_in.agg(["count", "mean", "std", "min", "max"]).round(1))
DF3 = mixed.Design(FASC, "species", "level", ["human", "pig", "rat"], ["C", "S"])
fd_fit = {}
for reading, bounded in [("a unbounded", False), ("b bounded", True)]:
    f = mixed.fit(FASC, "log_d", DF3, ["subject", "sample"], bounded=bounded)
    fd_fit[reading] = f
    print(f"\nreading {reading}: variances subject {f.tau2['subject']:.5f}, sample {f.tau2['sample']:.5f}, residual {f.sigma2:.5f}")
    print("  Kenward-Roger:"); print(mixed.anova(f).round(4).to_string(index=False))
    print("  variant, Satterthwaite:"); print(mixed.anova(f, "satterthwaite").round(4).to_string(index=False))
print("\npaper: species F = 8.989, p = 0.0015; level F = 51.88, p < 0.0001; interaction F = 5.273, p = 0.0121")
# variant: the rat fascicle the paper's code keeps. DataPlotting_v4.m sorts the rat outer
# diameters (FascicleOut, for the nerve diameter) but keeps FascicleIn{1}, the inner trace of
# the first ring in bwboundaries order (column-major bwlabel order), as the fascicle diameter
FASC_first = pd.concat([FASC[FASC.species != "rat"],
                        pelot.fascicles(res, MAIN, "rat").query("outer == 0").assign(species="rat")], ignore_index=True)
FASC_first["log_d"] = np.log10(FASC_first.d_in)
fd_first = mixed.fit(FASC_first, "log_d", mixed.Design(FASC_first, "species", "level", ["human", "pig", "rat"], ["C", "S"]),
                     ["subject", "sample"], bounded=False)
print("\nvariant, rat first fascicle as the code keeps it (reading a, Kenward-Roger):")
print(mixed.anova(fd_first).round(4).to_string(index=False))
               count   mean    std    min     max
species level                                    
human   C         60  354.8  226.0   53.5  1060.5
        S         44  163.5  145.7    6.8   587.1
pig     C        422  154.5   57.9   38.3   399.1
        S        344  110.1   43.8   23.7   253.0
rat     C          9  248.6   24.3  217.1   284.1
        S          9  129.1   14.0  105.8   149.6
reading a unbounded: variances subject 0.01368, sample 0.00290, residual 0.03940
  Kenward-Roger:
         term       F  df_num   df_den      p
      species  9.6578       2  35.7848 0.0004
        level 47.3269       1 132.6815 0.0000
species*level  5.2026       2  51.1850 0.0088
  variant, Satterthwaite:
         term       F  df_num  df_den      p
      species  9.7401       2 20.6190 0.0011
        level 48.0311       1 72.9164 0.0000
species*level  5.4574       2 28.4543 0.0099
reading b bounded: variances subject 0.01368, sample 0.00290, residual 0.03940
  Kenward-Roger:
         term       F  df_num   df_den      p
      species  9.6578       2  35.7848 0.0004
        level 47.3269       1 132.6809 0.0000
species*level  5.2026       2  51.1849 0.0088
  variant, Satterthwaite:
         term       F  df_num  df_den      p
      species  9.7401       2 20.6191 0.0011
        level 48.0311       1 72.9157 0.0000
species*level  5.4574       2 28.4541 0.0099

paper: species F = 8.989, p = 0.0015; level F = 51.88, p < 0.0001; interaction F = 5.273, p = 0.0121
variant, rat first fascicle as the code keeps it (reading a, Kenward-Roger):
         term       F  df_num   df_den      p
      species  9.0517       2  35.3903 0.0007
        level 52.7866       1 128.2865 0.0000
species*level  5.5414       2  50.1689 0.0067

Result: reproduced. With Kenward-Roger df, species F = 9.66 (p = 0.0004), level F = 47.3 (p < 0.0001) and interaction F = 5.20 (p = 0.0088), against 8.989, 51.88 and 5.273 in the paper; Satterthwaite df give 9.74 (p = 0.0011), 48.0 and 5.46 (p = 0.0099). Both readings give the same fit, as no variance component is negative. With the rat fascicle the code keeps (variant), F = 9.05, 52.8 and 5.54: closer to the paper's species and level F (8.989 and 51.88), further from its interaction F (5.273) than the main fit's 5.20.

rat-fascicle-diameterΒΆ

The largest rat fascicle has an effective diameter of 0.249 +/- 0.024 mm at the cervical level and 0.121 +/- 0.032 mm at the subdiaphragmatic level.

InΒ [25]:
print("largest fascicle, inner perineurium effective diameter (um), version 5:")
print(rat.groupby("level").fasc_d_largest.agg(["mean", "std", "min", "max"]).round(2))
print("geometric mean:", rat.groupby("level").fasc_d_largest.apply(lambda x: 10 ** np.log10(x).mean()).round(2).to_dict())
print("version 1:", tab_v1.groupby("level").fasc_d_largest.agg(["mean", "std"]).round(2).to_dict())
rf = pelot.fascicles(res, MAIN, "rat")
print("\nsubdiaphragmatic rat fascicles in bwlabel order (outer = ring index; the first ring is outer 0):")
print(rf[rf.level == "S"][["sample", "outer", "d_in", "d_out"]].round(1).to_string(index=False))
first = rf[rf.outer == 0]
print("\nvariant, the first ring's inner trace, as DataPlotting_v4.m keeps it (um):")
print(first.groupby("level").d_in.agg(["mean", "std"]).round(1))
print("samples where the first ring is not the largest:", sorted(set(first["sample"]) - set(rf.loc[rf.groupby("sample").a_out.idxmax(), "sample"][rf.loc[rf.groupby("sample").a_out.idxmax()].outer == 0])))
largest fascicle, inner perineurium effective diameter (um), version 5:
         mean    std     min     max
level                               
C      248.58  24.27  217.10  284.12
S      129.11  14.04  105.76  149.59
geometric mean: {'C': 247.53, 'S': 128.42}
version 1: {'mean': {'C': 247.94, 'S': 129.89}, 'std': {'C': 24.59, 'S': 14.61}}

subdiaphragmatic rat fascicles in bwlabel order (outer = ring index; the first ring is outer 0):
sample  outer  d_in  d_out
 R16-1      0 129.5  135.2
 R16-1      1  32.0   35.8
 R17-1      0 116.5  121.7
 R25-1      0 149.6  154.5
 R23-1      0 142.1  149.6
 R23-1      1 147.5  154.6
 R20-1      0 121.3  126.5
 R21-1      0 135.7  146.0
 R26-1      0 130.2  136.2
 R24-1      0 125.9  131.3
 R22-1      0  39.3   42.6
 R22-1      1 105.8  110.3
 R22-1      2  56.2   60.5

variant, the first ring's inner trace, as DataPlotting_v4.m keeps it (um):
        mean   std
level             
C      248.6  24.3
S      121.1  32.3
samples where the first ring is not the largest: ['R22-1', 'R23-1']

Result: reproduced. The largest fascicle measures 248.6 +/- 24.3 um cervically and 129.1 +/- 14.0 um subdiaphragmatically, both within the paper's SDs of 249 and 121 um; the geometric means and the version 1 traces give values within the same tolerances. The fascicle the paper's code keeps, the first ring in bwboundaries order, gives 248.6 +/- 24.3 and 121.1 +/- 32.3 um, the paper's 0.249 +/- 0.024 and 0.121 +/- 0.032 mm. The two choices differ in R22-1 and R23-1: in R22-1 the first ring is a 39.3 um fascicle and the largest is 105.8 um. So the paper's rat fascicle diameters follow the code, not the Methods' "largest fascicle".

cervical-fascicle-diameter-speciesΒΆ

At the cervical level human fascicles (0.355 +/- 0.226 mm) are larger than pig fascicles (0.155 +/- 0.058 mm), while rat fascicles are comparable to both.

InΒ [26]:
f = fd_fit["a unbounded"]
TK_FD = mixed.tukey(f, "ab")
print("Kenward-Roger:"); print(TK_FD[["first", "second", "diff", "se", "df", "p"]].round(4).to_string(index=False))
TK_S = mixed.tukey(f, "ab", method="satterthwaite")
TK_F = mixed.tukey(fd_first, "ab")
cc = lambda t: t[[a[1] == "C" and b[1] == "C" for a, b in zip(t["first"], t["second"])]][["first", "second", "p"]]
print("\ncervical pairs, variants: Satterthwaite; rat first fascicle as the code keeps it (KR)")
print(cc(TK_S).merge(cc(TK_F), on=["first", "second"], suffixes=("_satterthwaite", "_rat_first")).round(4).to_string(index=False))
for sp in ["human", "pig"]:
    t = FASC[(FASC.species == sp)]
    a = t.groupby("level").d_in.agg(["mean", "std"])
    b = t.groupby(["level", "sample"]).d_in.mean().groupby("level").agg(["mean", "std"])
    print(f"{sp}: (a) mean over fascicles {a.round(1).to_dict('index')}; (b) mean of per-sample means {b.round(1).to_dict('index')}")
Kenward-Roger:
     first     second    diff     se       df      p
(human, C) (human, S)  0.3695 0.0576  45.8438 0.0000
(human, C)   (pig, C)  0.3551 0.0655  32.7048 0.0001
(human, C)   (pig, S)  0.5156 0.0656  32.9775 0.0000
(human, C)   (rat, C)  0.1321 0.0935 118.3008 0.7189
(human, C)   (rat, S)  0.4184 0.0935 118.3008 0.0003
(human, S)   (pig, C) -0.0143 0.0675  37.6086 0.9999
(human, S)   (pig, S)  0.1461 0.0677  37.9009 0.2803
(human, S)   (rat, C) -0.2374 0.0949 127.6943 0.1316
(human, S)   (rat, S)  0.0489 0.0949 127.6943 0.9955
  (pig, C)   (pig, S)  0.1604 0.0329   7.5503 0.0120
  (pig, C)   (rat, C) -0.2230 0.0891  98.0613 0.1332
  (pig, C)   (rat, S)  0.0633 0.0891  98.0613 0.9803
  (pig, S)   (rat, C) -0.3835 0.0892  98.5396 0.0006
  (pig, S)   (rat, S) -0.0972 0.0892  98.5396 0.8844
  (rat, C)   (rat, S)  0.2863 0.0984 500.9729 0.0436
cervical pairs, variants: Satterthwaite; rat first fascicle as the code keeps it (KR)
     first   second  p_satterthwaite  p_rat_first
(human, C) (pig, C)           0.0002       0.0001
(human, C) (rat, C)           0.7158       0.7244
  (pig, C) (rat, C)           0.1374       0.1426
human: (a) mean over fascicles {'C': {'mean': 354.8, 'std': 226.0}, 'S': {'mean': 163.5, 'std': 145.7}}; (b) mean of per-sample means {'C': {'mean': 419.1, 'std': 131.5}, 'S': {'mean': 262.0, 'std': 173.4}}
pig: (a) mean over fascicles {'C': {'mean': 154.5, 'std': 57.9}, 'S': {'mean': 110.1, 'std': 43.8}}; (b) mean of per-sample means {'C': {'mean': 155.6, 'std': 12.0}, 'S': {'mean': 112.0, 'std': 15.8}}

Result: reproduced. Cervically, with Kenward-Roger df, human against pig p = 0.0001 (human larger; paper 0.0002), rat against human p = 0.72 (paper 0.727) and rat against pig p = 0.13 (paper 0.1707). Satterthwaite df give 0.0002, 0.72 and 0.14, and the code's rat fascicle 0.0001, 0.72 and 0.14. Means over fascicles are 354.8 +/- 226.0 um (human) and 154.5 +/- 57.9 um (pig), matching the paper's to the micron (reading a); under reading (b), 419.1 and 155.6 um, also within the SDs.

subdiaphragmatic-fascicle-diameter-comparableΒΆ

At the subdiaphragmatic level fascicle diameters are comparable across species (human 0.163 +/- 0.146, pig 0.110 +/- 0.044, rat 0.121 +/- 0.032 mm), although human fascicles trend larger than pig fascicles.

InΒ [27]:
sd_ = lambda t: t[[a[1] == "S" and b[1] == "S" for a, b in zip(t["first"], t["second"])]]
sel = sd_(TK_FD)
print("Kenward-Roger:"); print(sel[["first", "second", "diff", "df", "p"]].round(4).to_string(index=False))
print("\nvariants: Satterthwaite; rat first fascicle as the code keeps it (KR)")
print(sd_(TK_S)[["first", "second", "p"]].merge(sd_(TK_F)[["first", "second", "p"]], on=["first", "second"], suffixes=("_satterthwaite", "_rat_first")).round(4).to_string(index=False))
print("ratio of geometric means for each pair:", {f"{a[0]}/{b[0]}": round(10 ** d, 3) for a, b, d in zip(sel["first"], sel["second"], sel["diff"])})
print(FASC[FASC.level == "S"].groupby("species").d_in.agg(["mean", "std"]).round(1))
Kenward-Roger:
     first   second    diff       df      p
(human, S) (pig, S)  0.1461  37.9009 0.2803
(human, S) (rat, S)  0.0489 127.6943 0.9955
  (pig, S) (rat, S) -0.0972  98.5396 0.8844

variants: Satterthwaite; rat first fascicle as the code keeps it (KR)
     first   second  p_satterthwaite  p_rat_first
(human, S) (pig, S)           0.2827       0.2861
(human, S) (rat, S)           0.9954       0.8981
  (pig, S) (rat, S)           0.8831       0.9951
ratio of geometric means for each pair: {'human/pig': 1.4, 'human/rat': 1.119, 'pig/rat': 0.8}
          mean    std
species              
human    163.5  145.7
pig      110.1   43.8
rat      129.1   14.0

Result: reproduced. No subdiaphragmatic pair differs: with Kenward-Roger df human against pig p = 0.28, human against rat p = 1.00, pig against rat p = 0.88 (the paper gives 0.3049, 0.896 and 0.9947). With the rat fascicle the code keeps, the rat p values are 0.898 and 0.995, against the paper's 0.896 and 0.9947: the paper's order, and within 0.002 of its values. The means are 163.5 +/- 145.7 um (human) and 110.1 +/- 43.8 um (pig), within the stated SDs, the human mean above the pig mean.

fascicles-larger-cervicalΒΆ

All three species have larger fascicles at the cervical than at the subdiaphragmatic level.

InΒ [28]:
within = lambda t: t[[a[0] == b[0] for a, b in zip(t["first"], t["second"])]]
print("Kenward-Roger (JMP's method):"); print(within(TK_FD)[["first", "second", "diff", "df", "p"]].round(5).to_string(index=False))
print("\nvariant, Satterthwaite df:"); print(within(TK_S)[["first", "second", "diff", "df", "p"]].round(5).to_string(index=False))
n_sub, n_sam = FASC.subject.nunique(), FASC["sample"].nunique()
df_cont = n_sam - n_sub - 3
tk2 = mixed.tukey(fd_fit["a unbounded"], "ab", df=df_cont)
print(f"\nvariant, containment df for the within-subject stratum ({n_sam} samples - {n_sub} subjects - 3 = {df_cont}):")
print(within(tk2)[["first", "second", "p"]].round(5).to_string(index=False))
print("\nvariant, rat first fascicle as the code keeps it (KR):")
print(within(TK_F)[["first", "second", "diff", "df", "p"]].round(5).to_string(index=False))
print("\npaper: humans p < 0.0001, pigs p = 0.0009, rats p = 0.0234")
# Check of the Kenward-Roger computation on this unbalanced fit (the data check covers balanced
# designs only): its quantities against finite differences of Phi(theta), the covariance of the
# fixed effects, with the variance components on their natural scale. Kenward and Roger (1997):
# P_i = d Phi^-1 / d theta_i, and Phi_A = Phi + 2 Lambda with Lambda = -1/2 sum_ij W_ij d2 Phi / d theta_i d theta_j
# (R_ij = 0), W the inverse expected information. For a 1-df contrast l, KR's df reduce to
# 2 v^2 / (g' W g), v = l' Phi l, g_i = d v / d theta_i.
f = fd_fit["a unbounded"]; kc = mixed._kr(f)
assert len(f.keep) == 3
nat = np.r_[f.sigma2, [f.tau2[r] for r in f.random]]
Phi_of = lambda th: np.linalg.inv(f.X.T @ np.linalg.solve(sum(t * d for t, d in zip(th, f.dV)), f.X))
E3 = np.eye(3)
errP = max(np.abs((np.linalg.inv(Phi_of(nat + 1e-6 * nat[i] * E3[i])) - np.linalg.inv(Phi_of(nat - 1e-6 * nat[i] * E3[i])))
                  / (2e-6 * nat[i]) - kc["P"][i]).max() / np.abs(kc["P"][i]).max() for i in range(3))
hh = 1e-3 * nat
D2 = sum(kc["W"][i, j] * (Phi_of(nat + hh[i] * E3[i] + hh[j] * E3[j]) - Phi_of(nat + hh[i] * E3[i] - hh[j] * E3[j])
                          - Phi_of(nat - hh[i] * E3[i] + hh[j] * E3[j]) + Phi_of(nat - hh[i] * E3[i] - hh[j] * E3[j])) / (4 * hh[i] * hh[j])
         for i in range(3) for j in range(3))
Lam = (kc["PhiA"] - f.C) / 2
print(f"\nKenward-Roger check on this fit: P_i against finite differences, largest relative error {errP:.1e}; "
      f"Lambda {np.abs(-0.5 * D2 - Lam).max() / np.abs(Lam).max():.1e}")
Jn = np.diag([f.sigma2, 1, 1]); W_obs = Jn @ f.W @ Jn   # Satterthwaite's W: inverse observed information (numerical Hessian)
ms = mixed.lsmeans(f, "ab"); key = [(m["a"], m["b"]) for m in ms]
rows = []
for sp in ["human", "pig", "rat"]:
    l = ms[key.index((sp, "C"))]["l"] - ms[key.index((sp, "S"))]["l"]
    v = l @ f.C @ l
    g = np.array([(l @ Phi_of(nat + 1e-5 * nat[i] * E3[i]) @ l - l @ Phi_of(nat - 1e-5 * nat[i] * E3[i]) @ l) / (2e-5 * nat[i]) for i in range(3)])
    rows.append(dict(species=sp, df_kr=mixed.kr_test(f, l[None, :])["df_den"], df_expected_info=2 * v ** 2 / (g @ kc["W"] @ g),
                     df_observed_info=2 * v ** 2 / (g @ W_obs @ g), df_satterthwaite=mixed._df_contrast(f, l)))
print(pd.DataFrame(rows).round(3).to_string(index=False))
print("SD of the variance estimates (residual, subject, sample), expected information:", np.sqrt(np.diag(kc["W"])).round(5),
      " observed:", np.sqrt(np.diag(W_obs)).round(5))
Kenward-Roger (JMP's method):
     first     second    diff        df       p
(human, C) (human, S) 0.36945  45.84381 0.00000
  (pig, C)   (pig, S) 0.16044   7.55029 0.01201
  (rat, C)   (rat, S) 0.28628 500.97295 0.04358

variant, Satterthwaite df:
     first     second    diff        df       p
(human, C) (human, S) 0.36945  25.06611 0.00001
  (pig, C)   (pig, S) 0.16044   3.75575 0.04783
  (rat, C)   (rat, S) 0.28628 346.65724 0.04390

variant, containment df for the within-subject stratum (54 samples - 35 subjects - 3 = 16):
     first     second       p
(human, C) (human, S) 0.00008
  (pig, C)   (pig, S) 0.00158
  (rat, C)   (rat, S) 0.08886

variant, rat first fascicle as the code keeps it (KR):
     first     second    diff        df       p
(human, C) (human, S) 0.36903  44.66154 0.00000
  (pig, C)   (pig, S) 0.16060   7.52402 0.01289
  (rat, C)   (rat, S) 0.33732 491.94466 0.00891

paper: humans p < 0.0001, pigs p = 0.0009, rats p = 0.0234
Kenward-Roger check on this fit: P_i against finite differences, largest relative error 1.4e-08; Lambda 5.5e-07
species   df_kr  df_expected_info  df_observed_info  df_satterthwaite
  human  45.844            45.844            25.066            25.066
    pig   7.550             7.550             3.756             3.756
    rat 500.973           500.973           346.657           346.657
SD of the variance estimates (residual, subject, sample), expected information: [0.00192 0.00573 0.0021 ]  observed: [0.00194 0.00785 0.003  ]

Result: reproduced. Cervical fascicles are larger in all three species with Kenward-Roger df, the claims file's method: humans p < 0.00001, pigs p = 0.012 (df 7.6) and rats p = 0.044 (the paper gives p < 0.0001, 0.0009 and 0.0234). Satterthwaite df give 0.00001, 0.048 and 0.044, and the rat fascicle the code keeps gives rats p = 0.0089 and pigs p = 0.013. With containment df (16), a variant, the rat contrast is not significant (p = 0.089). The pig and rat p values are larger than the paper's under every df method run here, and the rat one is close to 0.05 with the largest fascicle. On this unbalanced fit the Kenward-Roger quantities agree with finite differences of the fixed-effect covariance (largest relative errors 1.6e-08 for P_i and 5.4e-07 for Lambda), and for each contrast the KR df equal 2v^2/(g'Wg) with the expected information, as they must for one df. The Satterthwaite df are smaller (pig 3.76 against 7.55) because they use the observed information, under which the subject and sample variances are less certain (SD 0.0079 and 0.0030 against 0.0057 and 0.0021). This checks the computation, not JMP's: JMP was not run, and the pig p of 0.012 against the paper's 0.0009 is not explained by any df method run here (containment df give 0.0016).

rat-diameter-like-fascicleΒΆ

The monofascicular rat nerves have diameters close to that of a single human or pig fascicle.

InΒ [29]:
for lev in ["C", "S"]:
    rd = MAIN[(MAIN.species == "rat") & (MAIN.level == lev)].nerve_d.mean()
    hm = FASC[(FASC.species == "human") & (FASC.level == lev)].d_in
    pm_ = FASC[(FASC.species == "pig") & (FASC.level == lev)].d_in
    lo, hi = sorted([hm.mean(), pm_.mean()])
    rng = (min(hm.min(), pm_.min()), max(hm.max(), pm_.max()))
    print(f"{LEVEL[lev]}: rat nerve {rd:.1f} um; human and pig mean fascicle {hm.mean():.1f}, {pm_.mean():.1f}; "
          f"(a) between means {lo <= rd <= hi}; (b) within range {rng[0]:.1f} to {rng[1]:.1f}: {rng[0] <= rd <= rng[1]}")
cervical: rat nerve 257.7 um; human and pig mean fascicle 354.8, 154.5; (a) between means True; (b) within range 38.3 to 1060.5: True
subdiaphragmatic: rat nerve 135.2 um; human and pig mean fascicle 163.5, 110.1; (a) between means True; (b) within range 6.8 to 587.1: True

Result: reproduced. The rat mean nerve diameter, 257.7 um cervically and 135.2 um subdiaphragmatically, lies between the pig and human mean fascicle diameters (154.5 and 354.8 um; 110.1 and 163.5 um) at both levels (reading a), and within the range of single fascicles (reading b).

human-pig-tissue-proportionsΒΆ

Endoneurium is a larger share of the human nerve cervically (32 +/- 7.9%) than subdiaphragmatically (8.8 +/- 5.3%), while in pigs it is more even across levels (27 +/- 5.3% and 20 +/- 4.0%, MT), slightly below the human cervical share and above the human subdiaphragmatic one; perineurium follows the same trends (human 8.9 +/- 2.5% and 3.4 +/- 1.6%, pig 5.1 +/- 1.8% and 4.0 +/- 0.5%).

InΒ [30]:
P = tab.copy()
P["endo_pct"] = 100 * P.endo_area / P.nerve_area
P["peri_pct"] = 100 * P.peri_area / P.nerve_area
P["epi_pct"] = 100 - P.endo_pct - P.peri_pct.fillna(0)
tp = P[P.species.isin(["human", "pig", "pig_if"])].groupby(["species", "level"])[["endo_pct", "peri_pct", "epi_pct"]].agg(["mean", "std"]).round(2)
print(tp)
exp = [("human", "C", "endo_pct", 32, 7.9), ("human", "S", "endo_pct", 8.8, 5.3), ("pig", "C", "endo_pct", 27, 5.3),
       ("pig", "S", "endo_pct", 20, 4.0), ("human", "C", "peri_pct", 8.9, 2.5), ("human", "S", "peri_pct", 3.4, 1.6),
       ("pig_if", "C", "peri_pct", 5.1, 1.8), ("pig_if", "S", "peri_pct", 4.0, 0.5)]
for sp, lev, col, v, tol in exp:
    m = P[(P.species == sp) & (P.level == lev)][col].mean()
    print(f"{sp:7s} {LEVEL[lev]:16s} {col}: {m:6.2f} (paper {v} +/- {tol}) within: {abs(m - v) <= tol}")
pe = P[P.species == "pig"].groupby("level").endo_pct.mean(); he = P[P.species == "human"].groupby("level").endo_pct.mean()
print("pig MT endoneurium below human cervically:", pe["C"] < he["C"], "; above human subdiaphragmatically:", pe["S"] > he["S"])
              endo_pct       peri_pct       epi_pct      
                  mean   std     mean   std    mean   std
species level                                            
human   C        32.23  7.90     8.87  2.47   58.90  9.40
        S         8.83  5.30     3.42  1.59   87.75  6.76
pig     C        26.63  5.27      NaN   NaN   73.37  5.27
        S        20.29  3.98      NaN   NaN   79.71  3.98
pig_if  C        24.89  5.99     5.06  1.75   70.05  7.42
        S        18.09  2.18     4.00  0.52   77.91  2.58
human   cervical         endo_pct:  32.23 (paper 32 +/- 7.9) within: True
human   subdiaphragmatic endo_pct:   8.83 (paper 8.8 +/- 5.3) within: True
pig     cervical         endo_pct:  26.63 (paper 27 +/- 5.3) within: True
pig     subdiaphragmatic endo_pct:  20.29 (paper 20 +/- 4.0) within: True
human   cervical         peri_pct:   8.87 (paper 8.9 +/- 2.5) within: True
human   subdiaphragmatic peri_pct:   3.42 (paper 3.4 +/- 1.6) within: True
pig_if  cervical         peri_pct:   5.06 (paper 5.1 +/- 1.8) within: True
pig_if  subdiaphragmatic peri_pct:   4.00 (paper 4.0 +/- 0.5) within: True
pig MT endoneurium below human cervically: True ; above human subdiaphragmatically: True

Result: reproduced. Human endoneurium 32.2 +/- 7.9% and 8.8 +/- 5.3%, pig MT 26.6 +/- 5.3% and 20.3 +/- 4.0%; human perineurium 8.9 +/- 2.5% and 3.4 +/- 1.6%, pig (IF) 5.1 +/- 1.8% and 4.0 +/- 0.5%. Every value is within the paper's SD, and the pig MT endoneurial mean is below the human one cervically and above it subdiaphragmatically.

pig-if-endoneurium-lowerΒΆ

The pig endoneurial proportions from the anti-fibronectin IF micrographs are about 2 percentage points lower than those from MT, as the IF segmentation accounts for the perineurium.

InΒ [31]:
pmt = P[P.species == "pig"].set_index("sample"); pif = P[P.species == "pig_if"].set_index("sample")
for lev in ["C", "S"]:
    a = pmt[pmt.level == lev].endo_pct.mean(); b = pif[pif.level == lev].endo_pct.mean()
    same = pif[pif.level == lev].index
    a2 = pmt.loc[same].endo_pct.mean()
    print(f"{LEVEL[lev]}: MT (9) {a:.2f} - IF (4) {b:.2f} = {a - b:.2f} points; same 4 samples MT {a2:.2f} - IF {b:.2f} = {a2 - b:.2f}")
cervical: MT (9) 26.63 - IF (4) 24.89 = 1.74 points; same 4 samples MT 28.36 - IF 24.89 = 3.48
subdiaphragmatic: MT (9) 20.29 - IF (4) 18.09 = 2.21 points; same 4 samples MT 23.46 - IF 18.09 = 5.37

Result: reproduced. The MT mean of nine samples exceeds the IF mean of four by 1.74 points cervically and 2.21 points subdiaphragmatically, both within 1.5 to 2.5 (the comparison the sentence makes). Comparing the same four samples, the differences are 3.48 and 5.37 points, outside the tolerance, so the second reading does not hold.

rat-level-ratiosΒΆ

In rats the ratio of mean subdiaphragmatic to mean cervical endoneurial area is 0.32 and the ratio of mean nerve diameters is 0.68.

InΒ [32]:
for ver, t in [("v5", tab[tab.species == "rat"]), ("v1", tab_v1)]:
    c, s = t[t.level == "C"], t[t.level == "S"]
    ra_endo = s.endo_area_largest.mean() / c.endo_area_largest.mean()
    ra_d = s.nerve_d.mean() / c.nerve_d.mean()
    s_ct = np.where(s.n_fasc > 1, s.ct_d, s.nerve_d)
    rb_endo = s.endo_area.mean() / c.endo_area.mean()
    rb_d = s_ct.mean() / c.nerve_d.mean()
    print(f"{ver}: reading (a) largest fascicle: endoneurial area {ra_endo:.3f}, diameter {ra_d:.3f};"
          f" reading (b) all fascicles and connective tissue boundary: endoneurial area {rb_endo:.3f}, diameter {rb_d:.3f}")
v5: reading (a) largest fascicle: endoneurial area 0.270, diameter 0.525; reading (b) all fascicles and connective tissue boundary: endoneurial area 0.317, diameter 0.678
v1: reading (a) largest fascicle: endoneurial area 0.275, diameter 0.527; reading (b) all fascicles and connective tissue boundary: endoneurial area 0.320, diameter 0.678

Result: reproduced. Under reading (b), all fascicles for the endoneurial area and the connective tissue boundary for the nerve diameter of the three multifascicular samples, the ratios are 0.317 and 0.678 (paper 0.32 and 0.68). Under reading (a) they are 0.270 and 0.525, both outside 10%. The 0.68 of the Discussion therefore uses the connective tissue boundary, as the deposited output file does, unlike the Results' means (ratio 0.52).

human-pig-level-ratiosΒΆ

The ratio of mean subdiaphragmatic to mean cervical endoneurial area is 0.20 in humans and 0.42 in pigs, and the ratio of mean nerve diameters is 0.87 and 0.75.

InΒ [33]:
g = MAIN.groupby(["species", "level"])[["endo_area", "nerve_d"]].mean()
for sp, e1, e2 in [("human", 0.20, 0.87), ("pig", 0.42, 0.75)]:
    r1 = g.loc[(sp, "S"), "endo_area"] / g.loc[(sp, "C"), "endo_area"]
    r2 = g.loc[(sp, "S"), "nerve_d"] / g.loc[(sp, "C"), "nerve_d"]
    print(f"{sp}: endoneurial area ratio {r1:.3f} (paper {e1}), nerve diameter ratio {r2:.3f} (paper {e2})")
human: endoneurial area ratio 0.198 (paper 0.2), nerve diameter ratio 0.873 (paper 0.87)
pig: endoneurial area ratio 0.421 (paper 0.42), nerve diameter ratio 0.746 (paper 0.75)

Result: reproduced. Endoneurial area ratios 0.198 (human) and 0.421 (pig), nerve diameter ratios 0.873 and 0.746, all within 10% of 0.20, 0.42, 0.87 and 0.75.

human-variabilityΒΆ

Nerve and fascicle diameters are more consistent across samples in pigs (and rats) than in humans.

InΒ [34]:
rows = []
for sp in ["human", "pig", "rat"]:
    for lev in ["C", "S"]:
        t = MAIN[(MAIN.species == sp) & (MAIN.level == lev)]
        fa = pelot.fascicles(res, MAIN, sp); fa = fa[fa.level == lev]
        if sp == "rat":
            per_sample_mean = t.set_index("sample").fasc_d_largest
            per_sample_range = None
        else:
            per_sample_mean = fa.groupby("sample").d_in.mean()
            per_sample_range = fa.groupby("sample").d_in.agg(lambda x: x.max() - x.min())
        rows.append(dict(species=sp, level=lev, cv_nerve_d=t.nerve_d.std() / t.nerve_d.mean(),
                         cv_mean_fasc_d=per_sample_mean.std() / per_sample_mean.mean(),
                         cv_fasc_range=None if per_sample_range is None else per_sample_range.std() / per_sample_range.mean()))
cv = pd.DataFrame(rows)
print(cv.round(3).to_string(index=False))
for lev in ["C", "S"]:
    c = cv[cv.level == lev].set_index("species")
    print(LEVEL[lev], "human > pig and > rat: nerve", c.cv_nerve_d["human"] > c.cv_nerve_d[["pig", "rat"]].max(),
          "; mean fascicle", c.cv_mean_fasc_d["human"] > c.cv_mean_fasc_d[["pig", "rat"]].max(),
          "; fascicle range (human > pig)", c.cv_fasc_range["human"] > c.cv_fasc_range["pig"])
species level  cv_nerve_d  cv_mean_fasc_d  cv_fasc_range
  human     C       0.239           0.314          0.500
  human     S       0.189           0.662          0.853
    pig     C       0.089           0.077          0.166
    pig     S       0.099           0.141          0.192
    rat     C       0.097           0.098            NaN
    rat     S       0.110           0.109            NaN
cervical human > pig and > rat: nerve True ; mean fascicle True ; fascicle range (human > pig) True
subdiaphragmatic human > pig and > rat: nerve True ; mean fascicle True ; fascicle range (human > pig) True

Result: reproduced. The coefficient of variation across samples is largest in humans at both levels for nerve diameter (0.24 and 0.19 against at most 0.10 and 0.11) and for per-sample mean fascicle diameter (0.31 and 0.66 against at most 0.10 and 0.14), and the per-sample fascicle range varies more in humans than in pigs (0.50 and 0.85 against 0.17 and 0.19, reading b). The outcome rests on these readings of "more consistent".

pig-oblong-human-roundΒΆ

Pig vagus nerves are consistently oblong in cross section, whereas human nerves are more circular at the cervical level.

InΒ [35]:
sh = MAIN[MAIN.species.isin(["human", "pig"])][["species", "level", "sample", "aspect", "circularity"]]
print(sh.groupby(["species", "level"])[["aspect", "circularity"]].agg(["median", "min", "max"]).round(3))
hc = sh[(sh.species == "human") & (sh.level == "C")]
pg = sh[sh.species == "pig"]
for col, more_round in [("aspect", "lower"), ("circularity", "higher")]:
    med = hc[col].median()
    if col == "aspect":
        every = (pg[col] > med).all(); medians = all(hc[col].median() < pg[pg.level == l][col].median() for l in "CS")
    else:
        every = (pg[col] < med).all(); medians = all(hc[col].median() > pg[pg.level == l][col].median() for l in "CS")
    print(f"{col}: every pig sample less circular than the human cervical median ({med:.3f}): {every}; human cervical median more circular than the pig median at each level: {medians}")
              aspect               circularity              
              median    min    max      median    min    max
species level                                               
human   C      1.542  1.182  2.329       0.654  0.532  0.741
        S      2.558  1.540  4.604       0.558  0.378  0.657
pig     C      2.667  2.459  4.285       0.494  0.316  0.540
        S      2.568  2.126  3.082       0.515  0.379  0.594
aspect: every pig sample less circular than the human cervical median (1.542): True; human cervical median more circular than the pig median at each level: True
circularity: every pig sample less circular than the human cervical median (0.654): True; human cervical median more circular than the pig median at each level: True

Result: reproduced. Every pig nerve trace is less circular than the median human cervical one under both readings: aspect ratios of 2.13 to 4.29 against a human cervical median of 1.54, and circularity of 0.32 to 0.59 against 0.65. The human subdiaphragmatic nerves are as oblong as the pig ones (median aspect ratio 2.56). The outcome rests on these measures, which the paper does not name.

Perineurium thickness against fascicle diameterΒΆ

Non-peanut fascicles only (Figure 9 legend), both levels pooled, thickness half the difference of the outer and inner effective diameters. Human from sparc-65, pig from the IF traces of sparc-89, rat from sparc-60 (all 22 fascicles with both traces; DataPlotting_v4.m fits every rat fascicle with a thickness, including the small fascicles of the multifascicular samples). The fit is MATLAB's fit with poly1 (DataPlotting_v4.m and SegmentationAnalysis_v2.m), a straight line with an intercept, R2 about the mean; the zero-intercept line is the second reading.

InΒ [36]:
def peri_table(r, t, species):
    x = pelot.fascicles(r, t, species)
    return x[(~x.peanut) & x.thk.notna()].copy()
PERI = {"human": peri_table(res, tab, "human"), "pig": peri_table(res, tab, "pig_if"),
        "rat": peri_table(res, tab, "rat"), "rat v1": peri_table(res_v1, tab_v1, "rat")}
FITS = {}
for sp, t in PERI.items():
    for form, zero in [("i intercept", False), ("ii zero", True)]:
        FITS[sp, form] = pelot.line_fit(t.d_in, t.thk, zero=zero)
    print(f"{sp:7s} n = {len(t):3d}; d_fasc {t.d_in.min():.1f} to {t.d_in.max():.1f} um; thickness {t.thk.min():.2f} to {t.thk.max():.2f} um")
fits = pd.DataFrame([dict(species=k[0], form=k[1], n=v["n"], slope=v["slope"], intercept=v["intercept"], r2=v["r2"],
                          r2_uncentred=v.get("r2_uncentred", np.nan)) for k, v in FITS.items()])
print(fits.round(4).to_string(index=False))
fig, ax = plt.subplots(1, 2, figsize=(11, 4))
xx = np.linspace(1, 1100, 400)
for sp, c in [("human", "k"), ("pig", "tab:blue"), ("rat", "tab:red")]:
    t = PERI[sp]; f = FITS[sp, "i intercept"]
    ax[0].scatter(t.d_in, t.thk, s=8, c=c, label=sp); ax[0].plot(xx, f["intercept"] + f["slope"] * xx, c=c)
    ax[1].scatter(t.d_in, t.thk / t.d_in, s=8, c=c); ax[1].plot(xx, (f["intercept"] + f["slope"] * xx) / xx, c=c)
for a in ax:
    a.set_xlabel("fascicle diameter (um)")
ax[0].plot(xx, 0.03 * xx, "k--", label="3%"); ax[1].axhline(0.03, ls="--", c="k")
ax[0].set_ylabel("perineurium thickness (um)"); ax[1].set_ylabel("thickness / diameter")
ax[0].set_xlim(0, 1100); ax[0].set_ylim(0, 60); ax[1].set_xlim(0, 600); ax[1].set_ylim(0, 0.4); ax[0].legend()
allr = pd.concat([PERI[s] for s in ["human", "pig", "rat"]])
print("points outside the axes: left", int(((allr.d_in > 1100) | (allr.thk > 60)).sum()), "; right", int(((allr.d_in > 600) | (allr.thk / allr.d_in > 0.4)).sum()))
plt.show()
human   n =  73; d_fasc 6.8 to 1060.5 um; thickness 7.13 to 47.97 um
pig     n = 284; d_fasc 14.4 to 302.8 um; thickness 2.85 to 16.14 um
rat     n =  22; d_fasc 32.0 to 284.1 um; thickness 1.63 to 5.36 um
rat v1  n =  22; d_fasc 32.0 to 284.4 um; thickness 1.85 to 9.17 um
species        form   n  slope  intercept      r2  r2_uncentred
  human i intercept  73 0.0370    10.5050  0.7488           NaN
  human     ii zero  73 0.0623     0.0000  0.1675        0.8652
    pig i intercept 284 0.0255     3.4401  0.2984           NaN
    pig     ii zero 284 0.0492     0.0000 -0.0067        0.8815
    rat i intercept  22 0.0129     1.3672  0.7651           NaN
    rat     ii zero  22 0.0197     0.0000  0.5100        0.9550
 rat v1 i intercept  22 0.0191     1.8165  0.5704           NaN
 rat v1     ii zero  22 0.0281     0.0000  0.4157        0.9254
points outside the axes: left
 0 ; right 6
No description has been provided for this image

human-perineurium-fitΒΆ

The fit of perineurium thickness against fascicle diameter for 73 human non-peanut fascicles has R2 = 0.75.

InΒ [37]:
for form in ["i intercept", "ii zero"]:
    f = FITS["human", form]
    print(f"{form}: n = {f['n']}, thickness = {f['slope']:.5f} d + {f['intercept']:.3f}, R2 = {f['r2']:.3f}" + (f", uncentred R2 = {f['r2_uncentred']:.3f}" if 'r2_uncentred' in f else ""))
i intercept: n = 73, thickness = 0.03702 d + 10.505, R2 = 0.749
ii zero: n = 73, thickness = 0.06234 d + 0.000, R2 = 0.167, uncentred R2 = 0.865

Result: reproduced. 73 non-peanut human fascicles; the line with an intercept, the code's poly1, gives R2 = 0.749 (thickness = 0.0370 d + 10.5 um). The zero-intercept line gives R2 = 0.17 about the mean (0.87 uncentred).

pig-perineurium-fitΒΆ

The fit of perineurium thickness against fascicle diameter for 284 pig non-peanut fascicles (IF) has R2 = 0.30.

InΒ [38]:
for form in ["i intercept", "ii zero"]:
    f = FITS["pig", form]
    print(f"{form}: n = {f['n']}, thickness = {f['slope']:.5f} d + {f['intercept']:.3f}, R2 = {f['r2']:.3f}" + (f", uncentred R2 = {f['r2_uncentred']:.3f}" if 'r2_uncentred' in f else ""))
print("per level:", PERI["pig"].groupby("level").size().to_dict())
i intercept: n = 284, thickness = 0.02547 d + 3.440, R2 = 0.298
ii zero: n = 284, thickness = 0.04922 d + 0.000, R2 = -0.007, uncentred R2 = 0.881
per level: {'C': 153, 'S': 131}

Result: reproduced. 284 non-peanut pig IF fascicles (with the hole trace of P13-3 counted as the code counts it); the line with an intercept gives R2 = 0.298 (thickness = 0.0255 d + 3.44 um).

rat-perineurium-fitΒΆ

The fit of perineurium thickness against fascicle diameter for 22 rat fascicles has R2 = 0.77.

InΒ [39]:
for sp in ["rat", "rat v1"]:
    t = PERI[sp]
    largest = t.loc[t.groupby("sample").a_out.idxmax()]
    for fs, tt in [("a all fascicles", t), ("b largest per sample", largest)]:
        for form, zero in [("i intercept", False), ("ii zero", True)]:
            f = pelot.line_fit(tt.d_in, tt.thk, zero=zero)
            print(f"{sp:6s} {fs:22s} {form:11s}: n = {f['n']:2d}, slope {f['slope']:.5f}, intercept {f['intercept']:.3f}, R2 = {f['r2']:.3f}")
rat    a all fascicles        i intercept: n = 22, slope 0.01292, intercept 1.367, R2 = 0.765
rat    a all fascicles        ii zero    : n = 22, slope 0.01972, intercept 0.000, R2 = 0.510
rat    b largest per sample   i intercept: n = 18, slope 0.01309, intercept 1.312, R2 = 0.664
rat    b largest per sample   ii zero    : n = 18, slope 0.01935, intercept 0.000, R2 = 0.495
rat v1 a all fascicles        i intercept: n = 22, slope 0.01906, intercept 1.816, R2 = 0.570
rat v1 a all fascicles        ii zero    : n = 22, slope 0.02810, intercept 0.000, R2 = 0.416
rat v1 b largest per sample   i intercept: n = 18, slope 0.02024, intercept 1.476, R2 = 0.499
rat v1 b largest per sample   ii zero    : n = 18, slope 0.02729, intercept 0.000, R2 = 0.432

Result: reproduced. With all 22 rat fascicles and a line with an intercept, the code's choice, R2 = 0.765 (thickness = 0.0129 d + 1.37 um). The version 1 traces give R2 = 0.570 for the same 22 fascicles, so the paper's fit was made on the current traces.

perineurium-species-orderΒΆ

For a given fascicle diameter, human fascicles have the thickest perineurium and rat fascicles the thinnest.

InΒ [40]:
lo = max(PERI[s].d_in.min() for s in ["human", "pig", "rat"]); hi = min(PERI[s].d_in.max() for s in ["human", "pig", "rat"])
grid = np.linspace(lo, hi, 200)
pred = {s: FITS[s, "i intercept"]["intercept"] + FITS[s, "i intercept"]["slope"] * grid for s in ["human", "pig", "rat"]}
print(f"common range {lo:.1f} to {hi:.1f} um")
print("(a) human > pig > rat over the whole range:", bool(np.all(pred["human"] > pred["pig"]) and np.all(pred["pig"] > pred["rat"])))
for d in [lo, 250, hi]:
    print(f"   at {d:.0f} um: " + ", ".join(f"{s} {FITS[s, 'i intercept']['intercept'] + FITS[s, 'i intercept']['slope'] * d:.2f}" for s in ["human", "pig", "rat"]))
predz = {s: FITS[s, "ii zero"]["slope"] * grid for s in ["human", "pig", "rat"]}
print("zero-intercept fits, human > pig > rat over the range:", bool(np.all(predz["human"] > predz["pig"]) and np.all(predz["pig"] > predz["rat"])))
f1 = FITS["rat v1", "i intercept"]
print("variant, rat version 1 fit at 250 um:", round(f1["intercept"] + f1["slope"] * 250, 2))
common range 32.0 to 284.1 um
(a) human > pig > rat over the whole range: True
   at 32 um: human 11.69, pig 4.25, rat 1.78
   at 250 um: human 19.76, pig 9.81, rat 4.60
   at 284 um: human 21.02, pig 10.68, rat 5.04
zero-intercept fits, human > pig > rat over the range: True
variant, rat version 1 fit at 250 um: 6.58

Result: reproduced. Over the diameters common to the three species (32 to 284 um), the fitted thickness is ordered human > pig > rat everywhere (reading a); at 250 um it is 19.8, 9.8 and 4.6 um (reading b). The zero-intercept fits give the same order.

perineurium-ratio-decreasesΒΆ

The ratio of perineurium thickness to fascicle diameter decreases as fascicle diameter increases, particularly in humans and pigs.

InΒ [41]:
for s in ["human", "pig", "rat"]:
    t = PERI[s]; f = FITS[s, "i intercept"]
    d0, d1 = t.d_in.min(), t.d_in.max()
    r0, r1 = f["slope"] + f["intercept"] / d0, f["slope"] + f["intercept"] / d1
    rho, p = stats.spearmanr(t.d_in, t.thk / t.d_in)
    print(f"{s:6s} (a) fitted ratio {r0:.3f} at {d0:.0f} um to {r1:.3f} at {d1:.0f} um, decrease {r0 - r1:.3f}; (b) Spearman rho = {rho:.2f}, p = {p:.1e}")
human  (a) fitted ratio 1.583 at 7 um to 0.047 at 1061 um, decrease 1.536; (b) Spearman rho = -0.92, p = 2.3e-30
pig    (a) fitted ratio 0.265 at 14 um to 0.037 at 303 um, decrease 0.228; (b) Spearman rho = -0.60, p = 2.7e-29
rat    (a) fitted ratio 0.056 at 32 um to 0.018 at 284 um, decrease 0.038; (b) Spearman rho = -0.78, p = 2.0e-05

Result: reproduced. Under reading (a) the ratio implied by each fit falls over the species' range of diameters, by 1.54 in humans, 0.23 in pigs and 0.038 in rats, the human and pig decreases larger than the rat's. Under reading (b) all three Spearman correlations are negative (-0.92, -0.60, -0.78), the pig's weaker than the rat's.

perineurium-thicker-larger-fasciclesΒΆ

In the human and pig vagus nerves, larger fascicles have thicker perineurium.

InΒ [42]:
for s in ["human", "pig", "rat"]:
    t = PERI[s]; f = FITS[s, "i intercept"]
    rho, p = stats.spearmanr(t.d_in, t.thk)
    print(f"{s:6s} (a) slope {f['slope']:.4f} um/um (95% CI {f['slope_ci'][0]:.4f} to {f['slope_ci'][1]:.4f}); (b) Spearman rho = {rho:.2f}, p = {p:.1e}")
human  (a) slope 0.0370 um/um (95% CI 0.0319 to 0.0421); (b) Spearman rho = 0.92, p = 3.5e-30
pig    (a) slope 0.0255 um/um (95% CI 0.0209 to 0.0300); (b) Spearman rho = 0.54, p = 2.3e-23
rat    (a) slope 0.0129 um/um (95% CI 0.0096 to 0.0163); (b) Spearman rho = 0.86, p = 2.1e-07

Result: reproduced. The fitted thickness rises with diameter in humans and pigs (slopes 0.037 and 0.026, confidence intervals above zero), and thickness correlates positively with diameter (Spearman 0.92 and 0.54). The rat shows the same (slope 0.013, Spearman 0.86).

perineurium-no-level-differenceΒΆ

The relationship between perineurium thickness and fascicle diameter does not differ between cervical and subdiaphragmatic nerves in any of the three species.

InΒ [43]:
import statsmodels.formula.api as smf
for s in ["human", "pig", "rat", "rat v1"]:
    t = PERI[s]
    fc = pelot.line_fit(t[t.level == "C"].d_in, t[t.level == "C"].thk)
    fs = pelot.line_fit(t[t.level == "S"].d_in, t[t.level == "S"].thk)
    ov = lambda a, b: a[0] <= b[1] and b[0] <= a[1]
    a_ok = ov(fc["slope_ci"], fs["slope_ci"]) and ov(fc["intercept_ci"], fs["intercept_ci"])
    full = smf.ols("thk ~ d_in * level", data=t).fit(); red = smf.ols("thk ~ d_in", data=t).fit()
    Fv, pv, _ = full.compare_f_test(red)
    print(f"{s:6s} n C/S = {(t.level == 'C').sum()}/{(t.level == 'S').sum()}; cervical slope {fc['slope']:.4f} [{fc['slope_ci'][0]:.4f}, {fc['slope_ci'][1]:.4f}], "
          f"intercept {fc['intercept']:.2f} [{fc['intercept_ci'][0]:.2f}, {fc['intercept_ci'][1]:.2f}]; subdiaphragmatic slope {fs['slope']:.4f} "
          f"[{fs['slope_ci'][0]:.4f}, {fs['slope_ci'][1]:.4f}], intercept {fs['intercept']:.2f} [{fs['intercept_ci'][0]:.2f}, {fs['intercept_ci'][1]:.2f}]")
    print(f"        (a) bounds overlap for both coefficients: {a_ok}; (b) F test of level terms F = {Fv:.2f}, p = {pv:.4f}")
# Variant: the fascicles of one sample are not independent (human 73 fascicles from 18 samples,
# pig 284 from 8). Two tests of the level terms that allow for that: a mixed model with a random
# intercept per sample (REML, Wald test), and the pooled least squares fit with standard errors
# clustered by sample. Neither is the criterion's; they show how much the outcome leans on
# treating fascicles as independent.
import warnings as _w
for s in ["human", "pig", "rat"]:
    t = PERI[s].copy()
    hyp = "level[T.S] = 0, d_in:level[T.S] = 0"
    with _w.catch_warnings():
        _w.simplefilter("ignore")
        try:
            mm = smf.mixedlm("thk ~ d_in * level", t, groups=t["sample"]).fit(reml=True)
            wt = mm.wald_test(hyp, scalar=True)
            mm_txt = f"mixed model chi2 = {float(wt.statistic):.2f}, p = {float(wt.pvalue):.4f} (sample variance {float(mm.cov_re.iloc[0, 0]):.2f}, residual {mm.scale:.2f})"
        except Exception as e:
            mm_txt = f"mixed model failed: {type(e).__name__}"
        cl = smf.ols("thk ~ d_in * level", data=t).fit(cov_type="cluster", cov_kwds={"groups": pd.factorize(t["sample"])[0]})
        ct = cl.wald_test(hyp, scalar=True, use_f=True)
    print(f"{s:6s} samples {t['sample'].nunique()}: {mm_txt}; clustered least squares F = {float(ct.statistic):.2f}, p = {float(ct.pvalue):.4f}")
human  n C/S = 33/40; cervical slope 0.0318 [0.0248, 0.0388], intercept 10.83 [7.96, 13.70]; subdiaphragmatic slope 0.0558 [0.0494, 0.0622], intercept 8.61 [7.17, 10.05]
        (a) bounds overlap for both coefficients: False; (b) F test of level terms F = 19.20, p = 0.0000
pig    n C/S = 153/131; cervical slope 0.0170 [0.0097, 0.0243], intercept 5.26 [4.14, 6.39]; subdiaphragmatic slope 0.0212 [0.0165, 0.0260], intercept 3.16 [2.67, 3.65]
        (a) bounds overlap for both coefficients: False; (b) F test of level terms F = 21.01, p = 0.0000
rat    n C/S = 9/13; cervical slope 0.0137 [0.0028, 0.0245], intercept 1.15 [-1.56, 3.86]; subdiaphragmatic slope 0.0149 [0.0037, 0.0261], intercept 1.17 [-0.14, 2.48]
        (a) bounds overlap for both coefficients: True; (b) F test of level terms F = 0.14, p = 0.8701
rat v1 n C/S = 9/13; cervical slope -0.0078 [-0.0524, 0.0369], intercept 8.57 [-2.55, 19.69]; subdiaphragmatic slope 0.0192 [-0.0009, 0.0393], intercept 1.73 [-0.63, 4.08]
        (a) bounds overlap for both coefficients: True; (b) F test of level terms F = 1.06, p = 0.3662
human  samples 16: mixed model chi2 = 28.67, p = 0.0000 (sample variance 15.09, residual 7.74); clustered least squares F = 10.62, p = 0.0013
pig    samples 8: mixed model chi2 = 1.08, p = 0.5832 (sample variance 2.64, residual 1.53); clustered least squares F = 1.63, p = 0.2630
rat    samples 18: mixed model chi2 = 0.60, p = 0.7416 (sample variance 0.38, residual 0.04); clustered least squares F = 0.11, p = 0.8969

Result: not reproduced (resting on the test chosen). The cervical and subdiaphragmatic fits differ in humans and in pigs: the 95% bounds of the slopes do not overlap (human 0.0248 to 0.0388 against 0.0494 to 0.0622; pig intercepts 4.14 to 6.39 against 2.67 to 3.65), and the F test of the level terms gives F = 19.2 and F = 21.0 (p < 0.0001). In rats the two levels agree (bounds overlap, F = 0.14, p = 0.87). These tests, the criterion's, treat fascicles as independent. Allowing for the samples (variant), the human difference remains (mixed model with a random intercept per sample, chi2 = 28.7, p < 0.0001; least squares with errors clustered by sample, F = 10.6, p = 0.0013), while the pig difference does not (p = 0.58 and 0.26). So the outcome does not rest on independence alone: the human fits differ under every test run. The pig difference is found only when fascicles are treated as independent, so with clustering the outcome rests on the human fits alone. A reader is asked whether the criterion's tests read the paper's "did not suggest".

sunderland-reanalysisΒΆ

Refitting all 777 fascicles of Sunderland and Bradley (1952) gives a zero-intercept slope of 2.75% of fascicle diameter for perineurium thickness, with R2 = 0.51.

The 777 values are in sparc-65 (files/code/Sunderland1984.mat, "Data from Tables 1 to 4 in Sunderland, S., Bradley, K.C., 1952", per Sunderland1984_Plotting.m).

InΒ [44]:
sund = pelot.read_mat("sparc-65", "files/code/Sunderland1984.mat")
x, y = sund["dfasc_um"].astype(float), sund["thk_peri_um"].astype(float)
f = pelot.line_fit(x, y, zero=True)
print(f"n = {len(x)}; d {x.min():.0f} to {x.max():.0f} um; thickness {y.min()} to {y.max()} um")
print(f"zero-intercept slope = {100 * f['slope']:.3f}%; R2 about the mean = {f['r2']:.3f}; uncentred R2 = {f['r2_uncentred']:.3f}")
n = 777; d 36 to 1884 um; thickness 1.25 to 100.0 um
zero-intercept slope = 2.750%; R2 about the mean = 0.510; uncentred R2 = 0.853

Result: reproduced. On the 777 fascicles, the zero-intercept slope is 2.750% and R2 = 0.510 about the mean (reading a; the uncentred R2 is 0.853).

rat-perineurium-near-3-percentΒΆ

Rat perineurium thickness is close to the published 3% of fascicle diameter, slightly thicker for smaller fascicles and thinner for larger ones.

InΒ [45]:
for sp in ["rat", "rat v1"]:
    t = PERI[sp]; f = FITS[sp, "i intercept"]
    g = np.linspace(t.d_in.min(), t.d_in.max(), 200)
    for ref in [0.03, 0.0275]:
        q = (f["intercept"] + f["slope"] * g) / (ref * g)
        print(f"{sp:6s} against {100 * ref:.2f}%: fit / line from {q[0]:.2f} at {g[0]:.0f} um to {q[-1]:.2f} at {g[-1]:.0f} um; "
              f"within 0.5 to 2: {bool(((q >= 0.5) & (q <= 2)).all())}; above at smallest {q[0] > 1}, below at largest {q[-1] < 1}")
rat    against 3.00%: fit / line from 1.86 at 32 um to 0.59 at 284 um; within 0.5 to 2: True; above at smallest True, below at largest True
rat    against 2.75%: fit / line from 2.02 at 32 um to 0.64 at 284 um; within 0.5 to 2: False; above at smallest True, below at largest True
rat v1 against 3.00%: fit / line from 2.53 at 32 um to 0.85 at 284 um; within 0.5 to 2: False; above at smallest True, below at largest True
rat v1 against 2.75%: fit / line from 2.76 at 32 um to 0.93 at 284 um; within 0.5 to 2: False; above at smallest True, below at largest True

Result: reproduced. The rat fit is 1.86 times the 3% line at the smallest rat fascicle (32 um) and 0.59 times it at the largest (284 um), inside the factor of two and crossing the line once. Against the 2.75% of the Sunderland reanalysis it runs from 2.02 to 0.64, just outside the factor of two at the small end; the claim names 3%. The version 1 traces give 2.53 to 0.85.

human-pig-perineurium-thickerΒΆ

Human and pig vagal perineurium is substantially thicker than the 3% of fascicle diameter found for human somatic nerves, especially for smaller fascicles.

InΒ [46]:
for s in ["human", "pig"]:
    t = PERI[s].copy(); t["ratio"] = t.thk / t.d_in
    med = t.d_in.median()
    small, large = t[t.d_in < med], t[t.d_in >= med]
    print(f"{s}: median ratio {t.ratio.median():.4f}; median excess over 0.03, below median diameter {(small.ratio - 0.03).median():.4f}, "
          f"above {(large.ratio - 0.03).median():.4f}; fascicles above 3%: {(t.ratio > 0.03).mean():.2f}")
human: median ratio 0.0948; median excess over 0.03, below median diameter 0.1061, above 0.0379; fascicles above 3%: 1.00
pig: median ratio 0.0527; median excess over 0.03, below median diameter 0.0329, above 0.0160; fascicles above 3%: 0.95

Result: reproduced. Median thickness over diameter is 0.095 in humans and 0.053 in pigs, above 0.03, and the median excess over 0.03 is larger below the median diameter than above it (0.106 against 0.038 in humans, 0.033 against 0.016 in pigs).

pig-if-mt-consistentΒΆ

Pig fascicle diameters from anti-fibronectin IF (14 to 303 um, mean 123, median 123, interquartile range 91 to 155 um) are consistent with those from MT (5 to 399 um, mean 135, median 130, interquartile range 96 to 168 um).

Quartiles with the Hazen definition, the one MATLAB's prctile uses.

InΒ [47]:
ifd = PERI["pig"].d_in.to_numpy()
mtd = pelot.fascicles(res, tab, "pig").d_in.to_numpy()
for name, d, exp in [("IF (non-peanut)", ifd, (14, 303, 123, 123, 91, 155)), ("MT (all traces)", mtd, (5, 399, 135, 130, 96, 168))]:
    q1, q3 = np.percentile(d, [25, 75], method="hazen")
    got = (d.min(), d.max(), d.mean(), np.median(d), q1, q3)
    print(f"{name}: n = {len(d)}; range {got[0]:.1f} to {got[1]:.1f}; mean {got[2]:.1f}; median {got[3]:.1f}; IQR {q1:.1f} to {q3:.1f}")
    print("   paper:", exp, "; mean and median within 10%:", abs(got[2] - exp[2]) <= 0.1 * exp[2] and abs(got[3] - exp[3]) <= 0.1 * exp[3],
          "; range and IQR within the widened bounds:", exp[0] * 0.9 <= got[0] and got[1] <= exp[1] * 1.1 and exp[4] * 0.9 <= q1 and q3 <= exp[5] * 1.1)
    print("   strict reading, each bound of the range and IQR within 10% of the paper's:",
          {n: abs(g - e) <= 0.1 * e for n, g, e in zip(["min", "max", "q1", "q3"], [got[0], got[1], q1, q3], [exp[0], exp[1], exp[4], exp[5]])})
print(f"MT traces of the version 1 masks of sparc-64 (data check): smallest {d_v1.min():.1f} um, mean {d_v1.mean():.1f}, median {np.median(d_v1):.1f}")
IF (non-peanut): n = 284; range 14.4 to 302.8; mean 123.3; median 123.1; IQR 88.0 to 152.6
   paper: (14, 303, 123, 123, 91, 155) ; mean and median within 10%: True ; range and IQR within the widened bounds: True
   strict reading, each bound of the range and IQR within 10% of the paper's: {'min': np.True_, 'max': np.True_, 'q1': np.True_, 'q3': np.True_}
MT (all traces): n = 766; range 23.7 to 399.1; mean 134.6; median 129.5; IQR 95.6 to 167.7
   paper: (5, 399, 135, 130, 96, 168) ; mean and median within 10%: True ; range and IQR within the widened bounds: True
   strict reading, each bound of the range and IQR within 10% of the paper's: {'min': np.False_, 'max': np.True_, 'q1': np.True_, 'q3': np.True_}
MT traces of the version 1 masks of sparc-64 (data check): smallest 4.7 um, mean 137.6, median 131.8

Result: reproduced. IF: 284 fascicles, 14.4 to 302.8 um, mean 123.3, median 123.1, IQR 88.0 to 152.6 um. MT: 766 traces, 23.7 to 399.1 um, mean 134.6, median 129.5, IQR 95.6 to 167.7 um. All values are within the claim's tolerances, the ranges and IQRs inside the reported ones widened by 10%, as the criterion reads. Read strictly, each bound within 10% of the paper's, the MT minimum fails (23.7 against 5 um): the version 4 masks hold no trace below 23.7 um, while the version 1 masks of sparc-64 have a smallest trace of 4.7 um (mean 137.6, median 131.8 um), so the paper's 5 um minimum probably comes from the version 1 masks.

peanut-fascicle-countsΒΆ

Human IHC micrographs have 60 cervical inner perineurium traces (27 bundles in 10 peanut fascicles) and 44 subdiaphragmatic (4 in 2); pig IF micrographs have 210 cervical (57 in 25) and 179 subdiaphragmatic (48 in 19).

InΒ [48]:
rows = []
for sp, label in [("human", "human IHC"), ("pig_if", "pig IF")]:
    fa = pelot.fascicles(res, tab, sp)
    for lev in ["C", "S"]:
        t = fa[fa.level == lev]
        pe = t[t.peanut]
        rows.append(dict(data=label, level=LEVEL[lev], traces=len(t), peanut_bundles=len(pe),
                         peanut_fascicles=pe.groupby(["sample", "outer"]).ngroups, non_peanut=int((~t.peanut).sum())))
print(pd.DataFrame(rows).to_string(index=False))
print("paper: human 60 (27 in 10), 44 (4 in 2); pig 210 (57 in 25), 179 (48 in 19)")
# per sample (the verifier asked for the pig IF cervical samples): peanut fascicles and bundles,
# outer traces with holes (bwboundaries would return them as extra outer traces), inner traces whose
# centroid lies in more than one outer trace (nested outers), and the non-peanut counts of
# PigIFMorphology.mat (pigIF_dfasc_notpeanut) for comparison
rows = []
for _, r in pelot.if_samples().iterrows():
    x = res["IF" + r["sample"]]; t = x["fasc"]
    pe = t[t.peanut]
    rows.append(dict(sample=r["sample"], level=r.level, traces=len(t), peanut_fascicles=pe.outer.nunique(), peanut_bundles=len(pe),
                     non_peanut=int((~t.peanut).sum()), outer_traces=x["n_outer"], outer_holes=x["holes_outer"], empty_outers=x["empty_outers"]))
pp = pd.DataFrame(rows)
fnp = []
for v in pm["pigIF_dfasc_notpeanut"]:  # one entry per pig (subjects 9, 11 to 15), an array per sample where a pig has two
    v = np.asarray(v)
    fnp += [len(np.atleast_1d(w)) for w in v] if v.dtype == object else [len(v)]
print(pp.to_string(index=False))
print("non-peanut counts per sample in PigIFMorphology.mat (file order):", fnp, "; total", sum(fnp), "; these masks", int(pp.non_peanut.sum()))
     data            level  traces  peanut_bundles  peanut_fascicles  non_peanut
human IHC         cervical      60              27                10          33
human IHC subdiaphragmatic      44               4                 2          40
   pig IF         cervical     210              57                24         153
   pig IF subdiaphragmatic     179              48                19         131
paper: human 60 (27 in 10), 44 (4 in 2); pig 210 (57 in 25), 179 (48 in 19)
sample level  traces  peanut_fascicles  peanut_bundles  non_peanut  outer_traces  outer_holes  empty_outers
  P9-3     C      63                 6              17          46            52            0             0
 P11-1     C      48                 4              12          36            40            0             0
 P12-1     C      59                 8              16          43            51            0             0
 P14-2     C      40                 6              12          28            34            0             0
 P12-3     S      38                 3               9          29            32            0             0
 P13-3     S      49                 6              16          33            39            0             0
 P14-3     S      52                 6              13          39            45            0             0
 P15-3     S      40                 4              10          30            34            0             0
non-peanut counts per sample in PigIFMorphology.mat (file order): [46, 36, 43, 29, 33, 28, 39, 30] ; total 284 ; these masks 284

Result: partially reproduced. The four totals match (60, 44, 210 and 179), and so do the human peanut counts (27 in 10, 4 in 2) and the pig subdiaphragmatic ones (48 in 19). The pig cervical peanut bundles are 57, as in the paper, but in 24 peanut fascicles, not 25 (P9-3 6, P11-1 4, P12-1 8, P14-2 6). No outer trace has a hole, no inner centroid lies in two outer traces and none is unmatched, so the matching is not ambiguous, and the non-peanut counts per sample (46, 36, 43, 29, 33, 28, 39, 30; total 284) are those of PigIFMorphology.mat. The deposited files do not record which outer trace each peanut bundle belongs to, so the paper's 25 could not be traced.

no-age-trendΒΆ

The morphology metrics show no trend with age in any species.

Ages are those of the code's sample lists (human years with 90+ entered as 99, pig weeks, rat days). Per species and level, Pearson (reading a) and Spearman (reading b) correlations of each per-sample metric with age.

InΒ [49]:
A = MAIN.copy()
A["mean_fasc_d"] = [pelot.fascicles(res, MAIN[MAIN["sample"] == s], sp).d_in.mean() if sp != "rat" else fd
                    for s, sp, fd in zip(A["sample"], A.species, A.fasc_d_largest)]
A["endo_pct"] = np.where(A.species == "rat", 100 * A.endo_area_largest / A.nerve_area, 100 * A.endo_area / A.nerve_area)
A["peri_pct"] = np.where(A.species == "pig", np.nan, np.where(A.species == "rat", 100 - A.endo_pct, 100 * A.peri_area / A.nerve_area))
rows = []
for (sp, lev), t in A.groupby(["species", "level"]):
    for mcol in ["nerve_d", "n_fasc", "mean_fasc_d", "endo_pct", "peri_pct"]:
        x, y = t.age_code.astype(float), t[mcol]
        if y.isna().all() or y.nunique() < 2:
            continue
        r, p = stats.pearsonr(x, y); rs, ps = stats.spearmanr(x, y)
        rows.append(dict(species=sp, level=lev, metric=mcol, n=len(t), ages=t.age_code.nunique(), pearson_r=r, pearson_p=p, spearman_rho=rs, spearman_p=ps))
AG = pd.DataFrame(rows)
print(AG.round(3).to_string(index=False))
print(f"\n{len(AG)} tests; Pearson p < 0.05: {(AG.pearson_p < 0.05).sum()}; Spearman p < 0.05: {(AG.spearman_p < 0.05).sum()}; "
      f"expected by chance at 0.05: {0.05 * len(AG):.1f}")
print(AG[(AG.pearson_p < 0.05) | (AG.spearman_p < 0.05)][["species", "level", "metric", "pearson_r", "pearson_p", "spearman_p"]].round(4).to_string(index=False))
from statsmodels.stats.multitest import multipletests
for col in ["pearson_p", "spearman_p"]:
    holm = multipletests(AG[col], method="holm")[1]; bh = multipletests(AG[col], method="fdr_bh")[1]
    print(f"variant, {col[:-2]} p adjusted over the {len(AG)} tests: smallest Holm {holm.min():.3f}, smallest Benjamini-Hochberg {bh.min():.3f}; "
          f"below 0.05: Holm {(holm < 0.05).sum()}, BH {(bh < 0.05).sum()}")
for sp, t in AG.groupby("species"):
    h = multipletests(t.pearson_p, method="holm")[1]
    print(f"   per species ({sp}, {len(t)} tests), Pearson Holm-adjusted smallest p {h.min():.3f}")
print("distinct ages per species:", MAIN.groupby("species").age_code.nunique().to_dict())
species level      metric  n  ages  pearson_r  pearson_p  spearman_rho  spearman_p
  human     C     nerve_d  9     6     -0.480      0.191        -0.557       0.119
  human     C      n_fasc  9     6     -0.384      0.307        -0.266       0.490
  human     C mean_fasc_d  9     6      0.228      0.555         0.070       0.859
  human     C    endo_pct  9     6     -0.260      0.499        -0.157       0.687
  human     C    peri_pct  9     6      0.382      0.310         0.261       0.497
  human     S     nerve_d  9     8     -0.244      0.528        -0.343       0.366
  human     S      n_fasc  9     8      0.345      0.363         0.630       0.069
  human     S mean_fasc_d  9     8     -0.628      0.070        -0.686       0.041
  human     S    endo_pct  9     8     -0.295      0.440        -0.410       0.273
  human     S    peri_pct  9     8     -0.149      0.701        -0.192       0.620
    pig     C     nerve_d  9     4      0.401      0.284         0.373       0.323
    pig     C      n_fasc  9     4     -0.335      0.379        -0.297       0.438
    pig     C mean_fasc_d  9     4      0.085      0.828        -0.043       0.912
    pig     C    endo_pct  9     4     -0.721      0.029        -0.572       0.108
    pig     S     nerve_d  9     4      0.753      0.019         0.494       0.177
    pig     S      n_fasc  9     4     -0.353      0.351        -0.377       0.317
    pig     S mean_fasc_d  9     4      0.691      0.039         0.659       0.054
    pig     S    endo_pct  9     4     -0.382      0.311        -0.321       0.400
    rat     C     nerve_d  9     9     -0.417      0.264        -0.550       0.125
    rat     C mean_fasc_d  9     9     -0.419      0.261        -0.550       0.125
    rat     C    endo_pct  9     9     -0.260      0.500        -0.250       0.516
    rat     C    peri_pct  9     9      0.260      0.500         0.250       0.516
    rat     S     nerve_d  9     9     -0.153      0.695        -0.150       0.700
    rat     S      n_fasc  9     9     -0.188      0.628        -0.209       0.589
    rat     S mean_fasc_d  9     9     -0.143      0.714        -0.050       0.898
    rat     S    endo_pct  9     9      0.094      0.809         0.133       0.732
    rat     S    peri_pct  9     9     -0.094      0.809        -0.133       0.732

27 tests; Pearson p < 0.05: 3; Spearman p < 0.05: 1; expected by chance at 0.05: 1.4
species level      metric  pearson_r  pearson_p  spearman_p
  human     S mean_fasc_d    -0.6277     0.0703      0.0412
    pig     C    endo_pct    -0.7206     0.0285      0.1077
    pig     S     nerve_d     0.7529     0.0192      0.1766
    pig     S mean_fasc_d     0.6912     0.0392      0.0538
variant, pearson p adjusted over the 27 tests: smallest Holm 0.518, smallest Benjamini-Hochberg 0.353; below 0.05: Holm 0, BH 0
variant, spearman p adjusted over the 27 tests: smallest Holm 1.000, smallest Benjamini-Hochberg 0.482; below 0.05: Holm 0, BH 0
   per species (human, 10 tests), Pearson Holm-adjusted smallest p 0.703
   per species (pig, 8 tests), Pearson Holm-adjusted smallest p 0.154
   per species (rat, 9 tests), Pearson Holm-adjusted smallest p 1.000
distinct ages per species: {'human': 10, 'pig': 4, 'rat': 10}

Result: not reproduced (resting on the test chosen). Of 27 Pearson correlations of a per-sample metric with age, 3 have p < 0.05, all in pigs (cervical endoneurial proportion r = -0.72, p = 0.029; subdiaphragmatic nerve diameter r = 0.75, p = 0.019; subdiaphragmatic mean fascicle diameter r = 0.69, p = 0.039), against 1.4 expected by chance; with Spearman correlations 1 of 27 (human subdiaphragmatic mean fascicle diameter, p = 0.041). The criterion counts uncorrected p < 0.05. Corrected over the 27 tests, none is below 0.05 (smallest Holm-adjusted p 0.52, Benjamini-Hochberg 0.35; within pigs alone, Holm 0.15). The pig ages take four values (10.5 to 15 weeks). The paper's Supplement 6 plots the metrics against age (DataPlotting_v4.m draws them) and reports no test. A reader is asked whether the criterion should correct for multiple tests.

Micrographs judged by eyeΒΆ

The next three claims are judged by eye on the MT micrographs, as their criteria say. The images are the JPEG 2000 derivatives of the nd2 micrographs, shown below; the readings are the author's, recorded in pelot.py (RAT_SHEATH_BUNDLES, HUMAN_SUB_FAT, PIG_FAT, PIG_CELL_BODIES), and printed with the images they were read from.

InΒ [50]:
def montage(ds, items, cols, step, title, size=3.2):
    rows = int(np.ceil(len(items) / cols))
    fig, axs = plt.subplots(rows, cols, figsize=(cols * size, rows * size * 0.75))
    for ax in np.ravel(axs):
        ax.axis("off")
    for ax, (label, path) in zip(np.ravel(axs), items):
        ax.imshow(pelot.thumbnail(ds, path, step)); ax.set_title(label, fontsize=7)
    fig.suptitle(title); plt.tight_layout(); plt.show()

import io
from IPython.display import Image, display
def native(arr, box, step, title, marks=(), unsure=(), trace=None):
    """Show a region at `step` (1 = every pixel of the micrograph, 2 = every other) with one
    screen pixel per array pixel, as JPEG; marks are numbered (row, col), unsure open circles,
    trace a boolean mask of the region drawn in yellow."""
    r0, r1, c0, c1 = box
    if trace is not None:
        arr = arr.copy(); arr[trace[::step, ::step][:arr.shape[0], :arr.shape[1]]] = [255, 210, 0]
    h, w = arr.shape[:2]
    fig = plt.figure(figsize=(w / 100, h / 100), dpi=100)
    ax = fig.add_axes([0, 0, 1, 1]); ax.imshow(arr, extent=(c0, c1, r1, r0)); ax.axis("off")
    for n, (r, c) in enumerate(marks, start=1):
        ax.annotate(str(n), (c, r), color="yellow", fontsize=16, fontweight="bold", ha="center", va="center")
    for r, c in unsure:
        ax.plot(c, r, "o", mfc="none", mec="cyan", ms=22, mew=2)
    ax.text(0.01, 0.99, f"{title} (rows {r0} to {r1}, columns {c0} to {c1}, every {step} px)", transform=ax.transAxes,
            va="top", fontsize=11, color="k", bbox=dict(fc="w", alpha=0.7))
    buf = io.BytesIO(); fig.savefig(buf, format="jpeg", dpi=100, pil_kwargs=dict(quality=80)); plt.close(fig)
    display(Image(buf.getvalue()))

rat-carotid-sheath-bundlesΒΆ

The rat cervical carotid sheath holds up to six fascicles, of which the largest, taken as the vagus, was segmented.

InΒ [51]:
smp16 = pelot.read_excel("sparc-16", "files/samples.xlsx")
loc16 = {(a, b): str(l) for a, b, l in zip(smp16.subject_id, smp16.sample_id, smp16["specimen anatomical location"])}
cerv = [(f"R{a[4:]}-{b[4:]}", p) for a, b, p in pelot.micrograph_paths("sparc-16") if "cervical" in loc16.get((a, b), "")]
left = [x for x in cerv if "left" in loc16[("sub-" + x[0][1:].split("-")[0], "sam-" + x[0].split("-")[1])]]
right = [x for x in cerv if x not in left]
montage("sparc-16", right, 3, 6, "right cervical (thumbnails, every 6th pixel)")
# the nine analysed left sections at half resolution of the derivative, with the bundles
# counted (numbered; 1 is the traced vagus) and the profiles not counted (open circles)
for s, p in left:
    rd = pelot.RAT_SHEATH_FULLRES[s]
    native(pelot.crop("sparc-16", p, rd["box"], 2), rd["box"], 2, f"{s}: {len(rd['bundles'])} bundles", rd["bundles"], rd["unsure"])
b = pd.Series(pelot.RAT_SHEATH_BUNDLES)
an = [s for s in b.index if s in set(rat[rat.level == "C"]["sample"])]
print("bundles per sample (by eye; left at full resolution, right on thumbnails):", b.to_dict())
print("left counts equal the marked lists:", all(b[s] == len(pelot.RAT_SHEATH_FULLRES[s]["bundles"]) for s in an))
print("profiles not counted (could not be told from a vessel):", {s: len(v["unsure"]) for s, v in pelot.RAT_SHEATH_FULLRES.items()})
print(f"(a) analysed left cervical: max {b[an].max()}, samples with >1 bundle {int((b[an] > 1).sum())} of {len(an)}")
print(f"(b) all 18 cervical: max {b.max()}, samples with >1 bundle {int((b > 1).sum())} of {len(b)}")
print("traced vagus is the largest bundle in every analysed sample (by eye):", all(pelot.RAT_VAGUS_LARGEST.values()))
No description has been provided for this image
No description has been provided for this image
No description has been provided for this image
No description has been provided for this image
No description has been provided for this image
No description has been provided for this image
No description has been provided for this image
No description has been provided for this image
No description has been provided for this image
No description has been provided for this image
bundles per sample (by eye; left at full resolution, right on thumbnails): {'R16-3': 2, 'R17-3': 5, 'R18-1': 5, 'R20-3': 2, 'R21-3': 3, 'R22-3': 5, 'R23-3': 4, 'R24-3': 6, 'R25-3': 2, 'R16-2': 2, 'R17-2': 4, 'R18-2': 5, 'R20-2': 4, 'R21-2': 4, 'R22-2': 2, 'R23-2': 4, 'R24-2': 4, 'R25-2': 2}
left counts equal the marked lists: True
profiles not counted (could not be told from a vessel): {'R16-3': 2, 'R17-3': 1, 'R18-1': 1, 'R20-3': 2, 'R21-3': 0, 'R22-3': 0, 'R23-3': 1, 'R24-3': 0, 'R25-3': 1}
(a) analysed left cervical: max 6, samples with >1 bundle 9 of 9
(b) all 18 cervical: max 6, samples with >1 bundle 18 of 18
traced vagus is the largest bundle in every analysed sample (by eye): True

Result: reproduced (by eye, resting on the counting rule). At full resolution (shown at half resolution of the derivatives, bundles numbered), the nine analysed left cervical sheaths hold 2, 5, 5, 2, 3, 5, 4, 6 and 2 bundles (R16-3 to R25-3); the largest count is six (R24-3), every section has more than one bundle, and the bundle traced as the vagus (1) is the largest in each. Eight small profiles that could not be told from a vessel at this resolution (open circles) are not counted; counting them would raise R17-3 and R18-1 to six and no section above six (R24-3 has none). The outcome rests on these calls: had two small profiles of R24-3 (3 and 6) been vessels, the largest count would be five unless the open circle of R17-3 or that of R18-1 is a bundle. The first reading, on thumbnails, found at most five; the extra bundles are small profiles (for example R24-3 at row 3400, column 1250). The right sections keep their thumbnail counts (at most five), so reading (b) also gives six. Supplementary Figure 16, which shows the paper's count, was not available.

human-subdiaphragmatic-fatty-tissueΒΆ

Pig nerves have consistent collagenous epineurium, whereas many human subdiaphragmatic nerves have fatty extrafascicular tissue.

InΒ [52]:
smp61 = pelot.read_excel("sparc-61", "files/samples.xlsx")
loc61 = {(a, b): str(l).lower() for a, b, l in zip(smp61.subject_id, smp61.sample_id, smp61["specimen anatomical location"])}
hs = [(f"C{a[4:]}-{b[4:]}", p) for a, b, p in pelot.micrograph_paths("sparc-61") if "subdiaphragmatic" in loc61.get((a, b), "")]
montage("sparc-61", hs, 6, 8, "human subdiaphragmatic (sparc-61)", size=2.6)
pg = [(f"P{a[4:]}-{b[4:]}", p) for a, b, p in pelot.micrograph_paths("sparc-82")]
montage("sparc-82", pg, 6, 8, "pig, all levels (sparc-82)", size=2.6)
# full-resolution regions read as adipose tissue in analysed pig samples, with the nerve trace of
# sparc-64 (yellow) drawn over them: fat inside the trace is in the epineurium as the paper segmented it
from skimage.segmentation import find_boundaries
mp82 = {(f"P{a[4:]}-{b[4:]}"): p for a, b, p in pelot.micrograph_paths("sparc-82")}
crops = pelot.PIG_CROPS["fat"]
inside_frac = {}
for s, box in crops.items():
    sub, sam = s[1:].split("-")
    nm = pelot.read_mask("sparc-64", f"files/primary/sub-{sub}/sam-{sam}/sub-{sub}_sam-{sam}_{s}NerveMask.tif")
    r0, r1, c0, c1 = box
    e = ndi.binary_dilation(find_boundaries(nm[r0:r1, c0:c1], mode="inner"), iterations=3)
    step = 2 if (r1 - r0) * (c1 - c0) > 1.5e6 else 1
    native(pelot.crop("sparc-82", mp82[s], box, step), box, step, f"{s}, nerve trace of sparc-64 in yellow", trace=e)
    inside_frac[s] = round(float(nm[r0:r1, c0:c1].mean()), 2)
print("fraction of each region inside the nerve trace:", inside_frac)
hf = pd.Series(pelot.HUMAN_SUB_FAT)
print(f"human subdiaphragmatic micrographs read: {len(hf)} of {len(hs)} shown; with adipose tissue: {int(hf.sum())} ({hf.mean():.2f})")
print(f"pig micrographs: {len(pg)}; with adipose tissue within the epineurium: {len(pelot.PIG_FAT)}:",
      sorted(f"P{a[4:]}-{b[4:]}" for a, b in pelot.PIG_FAT))
print("readings of 'many': (a) at least half", hf.mean() >= 0.5, "; (b) at least a third", hf.mean() >= 1 / 3,
      "; pig rule, no more than one of 45:", len(pelot.PIG_FAT) <= 1)
No description has been provided for this image
No description has been provided for this image
No description has been provided for this image
No description has been provided for this image
No description has been provided for this image
No description has been provided for this image
No description has been provided for this image
fraction of each region inside the nerve trace: {'P11-1': 0.78, 'P13-1': 0.65, 'P5-1': 0.84, 'P9-3': 0.72, 'P8-7': 0.76}
human subdiaphragmatic micrographs read: 32 of 32 shown; with adipose tissue: 29 (0.91)
pig micrographs: 45; with adipose tissue within the epineurium: 13: ['P11-1', 'P13-1', 'P5-1', 'P5-3', 'P6-1', 'P6-5', 'P6-7', 'P7-1', 'P7-5', 'P8-1', 'P8-3', 'P8-7', 'P9-3']
readings of 'many': (a) at least half True ; (b) at least a third True ; pig rule, no more than one of 45: False

Result: not reproduced (by eye, resting on the criterion's rule). Adipose tissue is read in 29 of the 32 human subdiaphragmatic micrographs, which meets both readings of "many", but also within the epineurium of 13 of the 45 pig micrographs, where the criterion allows at most one. The full-resolution views show unilocular adipocytes inside the authors' own nerve traces of sparc-64 in P11-1, P13-1, P5-1, P9-3 and P8-7 (65 to 84% of each region shown lies inside the trace; in P5-1 the fat lies between fascicles). Pig epineurium is more collagenous than the human subdiaphragmatic tissue, as the paper says, but not free of fat. A reader is asked whether the criterion's pig rule, fat in at most one of 45 pig micrographs, reads the paper's comparative sentence (questions/pelot-2020.yaml).

pig-cervical-cell-bodiesΒΆ

In two pig cervical cross sections (P11-1 and P13-1) one fascicle contains cell bodies.

InΒ [53]:
mp82 = {(f"P{a[4:]}-{b[4:]}"): p for a, b, p in pelot.micrograph_paths("sparc-82")}
pc = [(s, mp82[s]) for s in pig[pig.level == "C"]["sample"]]
montage("sparc-82", pc, 3, 2, "analysed pig cervical sections, half resolution", size=6)
# full resolution: the fascicles read as holding cell bodies (P11-1, P13-1) and the pale
# fascicles of P14-2 that the half-resolution view could not call
for s, box in pelot.PIG_CROPS["cell_bodies"].items():
    native(pelot.crop("sparc-82", mp82[s], box), box, 1, s)
cb = pd.Series(pelot.PIG_CELL_BODIES)
print("fascicle with cell bodies (by eye):", cb.to_dict())
print("P11-1 and P13-1:", bool(cb["P11-1"] and cb["P13-1"]), "; other analysed cervical samples with one:", int(cb.drop(["P11-1", "P13-1"]).sum()))
No description has been provided for this image
No description has been provided for this image
No description has been provided for this image
No description has been provided for this image
fascicle with cell bodies (by eye): {'P11-1': True, 'P13-1': True, 'P12-1': False, 'P5-1': False, 'P6-7': False, 'P8-7': False, 'P9-3': False, 'P14-2': False, 'P15-2': False}
P11-1 and P13-1: True ; other analysed cervical samples with one: 0

Result: reproduced (by eye, resting on the reading). At full resolution, P11-1 (the fascicle at the upper edge) and P13-1 (the large fascicle at the left end) each have one fascicle holding large round somata with nuclei, unlike the fibre texture of the others. The pale fascicles of P14-2 that the half-resolution view could not call hold fibre profiles and no somata, and no other analysed cervical section shows a fascicle with cell bodies.

Literature values of Figure 7ΒΆ

Supplement 4, the spreadsheet of literature values, was not supplied with the text read. The paper's plotting code, files/code/DataPlotting_v4.m (deposited in sparc-60, 64 and 65), hard-codes them ("Stats in lit (see Supplementary Excel spreadsheet)") as the means, SDs and reference numbers that Figure 7 plots, in the order of the Figure 7 legend. They are parsed from the file in sparc-65 (pelot.literature_values); the studies are matched to the code's reference numbers by that order. The paper's summary statistics are recomputed from the traces as in Figure 7 (rat: largest fascicle).

InΒ [54]:
LIT = pelot.literature_values()
print(LIT.to_string(index=False))
print("\nFigure 7 legend order checked: human cervical diameters", LIT.query("species == 'human' and level == 'C' and stat == 'd_nerve_mm'").ref.to_list(),
      "; human cervical fascicle counts", LIT.query("species == 'human' and level == 'C' and stat == 'n_fasc'").ref.to_list())
OURS = MAIN.assign(A_nerve_mm2=MAIN.nerve_area / 1e6, d_nerve_mm=MAIN.nerve_d / 1000,
                   A_endo_mm2=np.where(MAIN.species == "rat", MAIN.endo_area_largest, MAIN.endo_area) / 1e6,
                   A_endo_pct=100 * np.where(MAIN.species == "rat", MAIN.endo_area_largest, MAIN.endo_area) / MAIN.nerve_area)
def ours(sp, lev, stat):
    x = OURS[(OURS.species == sp) & (OURS.level == lev)][stat]
    return x.mean(), x.std(), x.min(), x.max()
def compare(sp, lev, stat):
    m, sd, lo, hi = ours(sp, lev, stat)
    L = LIT[(LIT.species == sp) & (LIT.level == lev) & (LIT.stat == stat)]
    t = L[["study", "mean", "sd"]].copy()
    t["within_our_mean_sd"] = (t["mean"] >= m - sd) & (t["mean"] <= m + sd)
    t["ours_below"] = m < t["mean"]
    t["ranges_overlap"] = (lo <= t["mean"] + t["sd"]) & (hi >= t["mean"] - t["sd"])
    print(f"{sp} {LEVEL[lev]} {stat}: ours {m:.4g} +/- {sd:.3g} (range {lo:.4g} to {hi:.4g}), n = 9")
    print(t.round(4).to_string(index=False))
    return t
species level        stat  index       mean      sd  ref                            study
  human     C A_nerve_mm2      1   7.040000  3.3600    2               Hammer et al. 2015
  human     C A_nerve_mm2      2   6.740000  2.4300    2               Hammer et al. 2015
  human     C A_nerve_mm2      3   6.992000  3.0000    7            Verlinden et al. 2016
  human     C A_nerve_mm2      4   8.448000  2.4500    7            Verlinden et al. 2016
  human     C A_nerve_mm2      5   7.300000  3.6000    8               Hammer et al. 2018
  human     C A_nerve_mm2      6   7.200000  2.4000    8               Hammer et al. 2018
  human     C A_nerve_mm2      7   3.200000  0.0000    9           Stakenborg et al. 2020
  human     C  d_nerve_mm      1   2.994000  0.0000    2               Hammer et al. 2015
  human     C  d_nerve_mm      2   2.929000  0.0000    2               Hammer et al. 2015
  human     C  d_nerve_mm      3   2.984000  0.0000    7            Verlinden et al. 2016
  human     C  d_nerve_mm      4   3.280000  0.0000    7            Verlinden et al. 2016
  human     C  d_nerve_mm      5   3.049000  0.0000    8               Hammer et al. 2018
  human     C  d_nerve_mm      6   3.028000  0.0000    8               Hammer et al. 2018
  human     C  d_nerve_mm      7   2.017000  0.3470    9           Stakenborg et al. 2020
  human     C      n_fasc      1   5.000000  3.3170    7            Verlinden et al. 2016
  human     C      n_fasc      2   8.000000  6.6330    7            Verlinden et al. 2016
  human     C      n_fasc      3   6.460000  3.1250    5                 Seki et al. 2014
  human     C      n_fasc      4   9.140000  3.0000    5                 Seki et al. 2014
  human     C      n_fasc      5   5.100000  4.1000    8               Hammer et al. 2018
  human     C      n_fasc      6   5.200000  2.6000    8               Hammer et al. 2018
  human     C      n_fasc      7   7.000000  3.0000    9           Stakenborg et al. 2020
  human     C  A_endo_mm2      1   0.754000  0.3399    7            Verlinden et al. 2016
  human     C  A_endo_mm2      2   1.089500  0.3261    7            Verlinden et al. 2016
  human     C  A_endo_mm2      3   1.320000  0.2600    5                 Seki et al. 2014
  human     C  A_endo_mm2      4   1.840000  0.2700    5                 Seki et al. 2014
  human     C  A_endo_pct      1  10.782000  0.0000    7            Verlinden et al. 2016
  human     C  A_endo_pct      2  12.896000  0.0000    7            Verlinden et al. 2016
  human     S A_nerve_mm2      1   1.911000  0.0000    6               Tailai et al. 1980
  human     S A_nerve_mm2      2   3.801000  0.0000    6               Tailai et al. 1980
  human     S A_nerve_mm2      3   2.717000  0.0000   10                   Gravgaard 1968
  human     S A_nerve_mm2      4   5.027000  0.0000   10                   Gravgaard 1968
  human     S A_nerve_mm2      5   2.883000  0.0000    9           Stakenborg et al. 2020
  human     S  d_nerve_mm      1   1.560000  0.5000    6               Tailai et al. 1980
  human     S  d_nerve_mm      2   2.200000  0.5000    6               Tailai et al. 1980
  human     S  d_nerve_mm      3   1.860000  0.8000   10                   Gravgaard 1968
  human     S  d_nerve_mm      4   2.530000  1.2700   10                   Gravgaard 1968
  human     S  d_nerve_mm      5   1.916000  0.4730    9           Stakenborg et al. 2020
  human     S      n_fasc      1  16.000000  6.0000    9           Stakenborg et al. 2020
    pig     C A_nerve_mm2      1   6.729000  0.0000    9           Stakenborg et al. 2020
    pig     C  d_nerve_mm      1   2.927000  0.7770    9           Stakenborg et al. 2020
    pig     C      n_fasc      1  46.000000 10.0000    9           Stakenborg et al. 2020
    pig     S A_nerve_mm2      1   3.414000  0.0000    9           Stakenborg et al. 2020
    pig     S  d_nerve_mm      1   2.085000  0.2740    9           Stakenborg et al. 2020
    pig     S      n_fasc      1  43.000000  8.0000    9           Stakenborg et al. 2020
    rat     C A_nerve_mm2      1   0.063500  0.0072    1            Fazan and Lachat 1997
    rat     C A_nerve_mm2      2   0.062000  0.0088    3 Licursi de Alcantara et al. 2008
    rat     C A_nerve_mm2      3   0.070300  0.0077    3 Licursi de Alcantara et al. 2008
    rat     C  d_nerve_mm      1   0.225700  0.0240    1            Fazan and Lachat 1997
    rat     C  d_nerve_mm      2   0.281000  0.0000    3 Licursi de Alcantara et al. 2008
    rat     C  d_nerve_mm      3   0.299100  0.0000    3 Licursi de Alcantara et al. 2008
    rat     C      n_fasc      1   1.000000  0.0000    1            Fazan and Lachat 1997
    rat     C      n_fasc      2   1.000000  0.0000    3 Licursi de Alcantara et al. 2008
    rat     C   d_fasc_um      1 225.700000 24.0000    1            Fazan and Lachat 1997
    rat     C   d_fasc_um      2 240.500000 32.0000    3 Licursi de Alcantara et al. 2008
    rat     C   d_fasc_um      3 265.200000 33.0000    3 Licursi de Alcantara et al. 2008
    rat     S A_nerve_mm2      1   0.008171  0.0000    4          Prechtl and Powley 1985
    rat     S A_nerve_mm2      2   0.009331  0.0000    4          Prechtl and Powley 1985
    rat     S A_nerve_mm2      3   0.005809  0.0000    4          Prechtl and Powley 1985
    rat     S A_nerve_mm2      4   0.007088  0.0000    4          Prechtl and Powley 1985
    rat     S  d_nerve_mm      1   0.102000  0.0188    4          Prechtl and Powley 1985
    rat     S  d_nerve_mm      2   0.109000  0.0141    4          Prechtl and Powley 1985
    rat     S  d_nerve_mm      3   0.086000  0.0141    4          Prechtl and Powley 1985
    rat     S  d_nerve_mm      4   0.095000  0.0141    4          Prechtl and Powley 1985

Figure 7 legend order checked: human cervical diameters [2, 2, 7, 7, 8, 8, 9] ; human cervical fascicle counts [7, 7, 5, 5, 8, 8, 9]

literature-comparison-human-pigΒΆ

Human cervical fascicle numbers and endoneurial areas match prior reports while the nerve areas and diameters are generally smaller, so the endoneurial proportion is larger; human subdiaphragmatic sizes match prior reports, with fewer fascicles than one study of the posterior branch; pig fascicle numbers match literature, with slightly smaller mean diameters.

The criterion's rules: "comparable" each literature mean within our mean +/- SD; "smaller" our mean below the literature mean; "overlapping ranges" our sample range overlapping the literature mean +/- SD; "fewer fascicles" the human subdiaphragmatic mean below Stakenborg et al. (2020); "larger proportion" the human cervical endoneurial percentage above the two literature percentages.

InΒ [55]:
parts = {}
t = compare("human", "C", "n_fasc"); parts["human cervical fascicle number comparable"] = t.within_our_mean_sd.all()
t = compare("human", "C", "A_endo_mm2"); parts["human cervical endoneurial area comparable"] = t.within_our_mean_sd.all()
t1 = compare("human", "C", "A_nerve_mm2"); t2 = compare("human", "C", "d_nerve_mm")
parts["human cervical nerve area and diameter smaller (all studies)"] = t1.ours_below.all() and t2.ours_below.all()
print(f"   smaller than {int(t1.ours_below.sum())} of {len(t1)} areas and {int(t2.ours_below.sum())} of {len(t2)} diameters")
parts["human cervical ranges overlap"] = t1.ranges_overlap.all() and t2.ranges_overlap.all()
parts["human cervical diameter below 3.0 mm (Discussion)"] = ours("human", "C", "d_nerve_mm")[0] < 3.0
t = compare("human", "C", "A_endo_pct"); parts["human cervical endoneurial proportion larger"] = t.ours_below.eq(False).all()
t1 = compare("human", "S", "A_nerve_mm2"); t2 = compare("human", "S", "d_nerve_mm")
parts["human subdiaphragmatic area and diameter comparable (all studies)"] = t1.within_our_mean_sd.all() and t2.within_our_mean_sd.all()
ant = [0, 2]  # anterior VN rows of Tailai et al. and Gravgaard (legend order: anterior, posterior)
print("   anterior VN studies only: areas within", t1.iloc[ant].within_our_mean_sd.to_list(), "; diameters within", t2.iloc[ant].within_our_mean_sd.to_list())
t = compare("human", "S", "n_fasc"); parts["human subdiaphragmatic fewer fascicles than Stakenborg (posterior)"] = (~t.ours_below).sum() == 0 and t.ours_below.all()
for lev in "CS":
    t = compare("pig", lev, "n_fasc"); parts[f"pig {LEVEL[lev]} fascicle number comparable"] = t.within_our_mean_sd.all()
    t = compare("pig", lev, "d_nerve_mm"); parts[f"pig {LEVEL[lev]} mean diameter smaller"] = t.ours_below.all()
print()
for k, v in parts.items():
    print(f"{'holds' if v else 'FAILS'}: {k}")
print(f"\n{sum(parts.values())} of {len(parts)} parts hold")
human cervical n_fasc: ours 6.667 +/- 4.5 (range 1 to 15), n = 9
                 study  mean    sd  within_our_mean_sd  ours_below  ranges_overlap
 Verlinden et al. 2016  5.00 3.317                True       False            True
 Verlinden et al. 2016  8.00 6.633                True        True            True
      Seki et al. 2014  6.46 3.125                True       False            True
      Seki et al. 2014  9.14 3.000                True        True            True
    Hammer et al. 2018  5.10 4.100                True       False            True
    Hammer et al. 2018  5.20 2.600                True       False            True
Stakenborg et al. 2020  7.00 3.000                True        True            True
human cervical A_endo_mm2: ours 0.9221 +/- 0.337 (range 0.3392 to 1.475), n = 9
                study   mean     sd  within_our_mean_sd  ours_below  ranges_overlap
Verlinden et al. 2016 0.7540 0.3399                True       False            True
Verlinden et al. 2016 1.0895 0.3261                True        True            True
     Seki et al. 2014 1.3200 0.2600               False        True            True
     Seki et al. 2014 1.8400 0.2700               False        True           False
human cervical A_nerve_mm2: ours 3.048 +/- 1.35 (range 0.826 to 5.095), n = 9
                 study  mean   sd  within_our_mean_sd  ours_below  ranges_overlap
    Hammer et al. 2015 7.040 3.36               False        True            True
    Hammer et al. 2015 6.740 2.43               False        True            True
 Verlinden et al. 2016 6.992 3.00               False        True            True
 Verlinden et al. 2016 8.448 2.45               False        True           False
    Hammer et al. 2018 7.300 3.60               False        True            True
    Hammer et al. 2018 7.200 2.40               False        True            True
Stakenborg et al. 2020 3.200 0.00                True        True            True
human cervical d_nerve_mm: ours 1.922 +/- 0.46 (range 1.026 to 2.547), n = 9
                 study  mean    sd  within_our_mean_sd  ours_below  ranges_overlap
    Hammer et al. 2015 2.994 0.000               False        True           False
    Hammer et al. 2015 2.929 0.000               False        True           False
 Verlinden et al. 2016 2.984 0.000               False        True           False
 Verlinden et al. 2016 3.280 0.000               False        True           False
    Hammer et al. 2018 3.049 0.000               False        True           False
    Hammer et al. 2018 3.028 0.000               False        True           False
Stakenborg et al. 2020 2.017 0.347                True        True            True
   smaller than 7 of 7 areas and 7 of 7 diameters
human cervical A_endo_pct: ours 32.23 +/- 7.9 (range 22.2 to 43.72), n = 9
                study   mean  sd  within_our_mean_sd  ours_below  ranges_overlap
Verlinden et al. 2016 10.782 0.0               False       False           False
Verlinden et al. 2016 12.896 0.0               False       False           False
human subdiaphragmatic A_nerve_mm2: ours 2.279 +/- 0.889 (range 1.438 to 3.929), n = 9
                 study  mean  sd  within_our_mean_sd  ours_below  ranges_overlap
    Tailai et al. 1980 1.911 0.0                True       False            True
    Tailai et al. 1980 3.801 0.0               False        True            True
        Gravgaard 1968 2.717 0.0                True        True            True
        Gravgaard 1968 5.027 0.0               False        True           False
Stakenborg et al. 2020 2.883 0.0                True        True            True
human subdiaphragmatic d_nerve_mm: ours 1.677 +/- 0.316 (range 1.353 to 2.237), n = 9
                 study  mean    sd  within_our_mean_sd  ours_below  ranges_overlap
    Tailai et al. 1980 1.560 0.500                True       False            True
    Tailai et al. 1980 2.200 0.500               False        True            True
        Gravgaard 1968 1.860 0.800                True        True            True
        Gravgaard 1968 2.530 1.270               False        True            True
Stakenborg et al. 2020 1.916 0.473                True        True            True
   anterior VN studies only: areas within [True, True] ; diameters within [True, True]
human subdiaphragmatic n_fasc: ours 4.889 +/- 3.95 (range 1 to 13), n = 9
                 study  mean  sd  within_our_mean_sd  ours_below  ranges_overlap
Stakenborg et al. 2020  16.0 6.0               False        True            True
pig cervical n_fasc: ours 46.89 +/- 10.3 (range 33 to 63), n = 9
                 study  mean   sd  within_our_mean_sd  ours_below  ranges_overlap
Stakenborg et al. 2020  46.0 10.0                True       False            True
pig cervical d_nerve_mm: ours 2.195 +/- 0.195 (range 1.966 to 2.614), n = 9
                 study  mean    sd  within_our_mean_sd  ours_below  ranges_overlap
Stakenborg et al. 2020 2.927 0.777               False        True            True
pig subdiaphragmatic n_fasc: ours 38.22 +/- 7.08 (range 29 to 49), n = 9
                 study  mean  sd  within_our_mean_sd  ours_below  ranges_overlap
Stakenborg et al. 2020  43.0 8.0                True        True            True
pig subdiaphragmatic d_nerve_mm: ours 1.638 +/- 0.161 (range 1.413 to 1.859), n = 9
                 study  mean    sd  within_our_mean_sd  ours_below  ranges_overlap
Stakenborg et al. 2020 2.085 0.274               False        True            True

holds: human cervical fascicle number comparable
FAILS: human cervical endoneurial area comparable
holds: human cervical nerve area and diameter smaller (all studies)
FAILS: human cervical ranges overlap
holds: human cervical diameter below 3.0 mm (Discussion)
holds: human cervical endoneurial proportion larger
FAILS: human subdiaphragmatic area and diameter comparable (all studies)
holds: human subdiaphragmatic fewer fascicles than Stakenborg (posterior)
holds: pig cervical fascicle number comparable
holds: pig cervical mean diameter smaller
holds: pig subdiaphragmatic fascicle number comparable
holds: pig subdiaphragmatic mean diameter smaller

9 of 12 parts hold

Result: partially reproduced (resting on the criterion's rules). Of the 12 parts, 9 hold: the human cervical fascicle numbers (all 7 literature means within 6.7 +/- 4.5), smaller human cervical nerve areas and diameters (our 3.05 mm2 and 1.92 mm below all 7 studies' means), the diameter below 3.0 mm, the larger endoneurial proportion (32.2% against 10.8 and 12.9%), fewer human subdiaphragmatic fascicles than Stakenborg et al. (4.9 against 16), pig fascicle numbers (46 and 43 within 46.9 +/- 10.3 and 38.2 +/- 7.1) and smaller pig diameters (2.20 and 1.64 against 2.93 and 2.09 mm). Three fail: the human cervical endoneurial area (0.92 +/- 0.34 mm2; the two Seki et al. means, 1.32 and 1.84, lie outside), the overlapping ranges (the six literature diameters given without an SD lie above our largest, 2.55 mm, though 6 of 7 areas overlap), and the human subdiaphragmatic sizes, where the posterior-branch values of Tailai et al. (3.80 mm2, 2.20 mm) and Gravgaard (5.03 mm2, 2.53 mm) lie outside our mean +/- SD; the anterior-branch values, which the paper singles out, lie inside.

rat-literature-comparisonΒΆ

Rat cervical nerve diameters and areas agree with published data, while the rat subdiaphragmatic nerves are slightly larger than prior data.

The criterion: each published cervical mean within the rat cervical mean +/- SD, and the rat subdiaphragmatic mean above each published subdiaphragmatic mean. Rat nerve diameter and area are those of the outer perineurium of the largest fascicle (rat-nerve-diameter), as in Figure 7.

InΒ [56]:
rp = {}
for stat in ["d_nerve_mm", "A_nerve_mm2"]:
    t = compare("rat", "C", stat); rp[f"cervical {stat}: published means within ours +/- SD"] = (int(t.within_our_mean_sd.sum()), len(t))
    t = compare("rat", "S", stat); rp[f"subdiaphragmatic {stat}: ours above every published mean"] = (int((~t.ours_below).sum()), len(t))
for k, (a, n) in rp.items():
    print(f"{k}: {a} of {n}")
# variant: the version 1 traces of sparc-60
for lev in "CS":
    x = tab_v1[tab_v1.level == lev].nerve_d / 1000
    L = LIT.query("species == 'rat' and level == @lev and stat == 'd_nerve_mm'")["mean"]
    print(f"variant, version 1 traces, {LEVEL[lev]} diameter {x.mean():.4f} +/- {x.std():.4f} mm; published within: {int(((L >= x.mean() - x.std()) & (L <= x.mean() + x.std())).sum())} of {len(L)}; ours above: {int((x.mean() > L).sum())} of {len(L)}")
rat cervical d_nerve_mm: ours 0.2577 +/- 0.0249 (range 0.2247 to 0.2931), n = 9
                           study   mean    sd  within_our_mean_sd  ours_below  ranges_overlap
           Fazan and Lachat 1997 0.2257 0.024               False       False            True
Licursi de Alcantara et al. 2008 0.2810 0.000                True        True            True
Licursi de Alcantara et al. 2008 0.2991 0.000               False        True           False
rat subdiaphragmatic d_nerve_mm: ours 0.1352 +/- 0.0148 (range 0.1103 to 0.1546), n = 9
                  study  mean     sd  within_our_mean_sd  ours_below  ranges_overlap
Prechtl and Powley 1985 0.102 0.0188               False       False            True
Prechtl and Powley 1985 0.109 0.0141               False       False            True
Prechtl and Powley 1985 0.086 0.0141               False       False           False
Prechtl and Powley 1985 0.095 0.0141               False       False           False
rat cervical A_nerve_mm2: ours 0.05258 +/- 0.0102 (range 0.03966 to 0.06745), n = 9
                           study   mean     sd  within_our_mean_sd  ours_below  ranges_overlap
           Fazan and Lachat 1997 0.0635 0.0072               False        True            True
Licursi de Alcantara et al. 2008 0.0620 0.0088                True        True            True
Licursi de Alcantara et al. 2008 0.0703 0.0077               False        True            True
rat subdiaphragmatic A_nerve_mm2: ours 0.0145 +/- 0.00314 (range 0.009549 to 0.01877), n = 9
                  study   mean  sd  within_our_mean_sd  ours_below  ranges_overlap
Prechtl and Powley 1985 0.0082 0.0               False       False           False
Prechtl and Powley 1985 0.0093 0.0               False       False           False
Prechtl and Powley 1985 0.0058 0.0               False       False           False
Prechtl and Powley 1985 0.0071 0.0               False       False           False
cervical d_nerve_mm: published means within ours +/- SD: 1 of 3
subdiaphragmatic d_nerve_mm: ours above every published mean: 4 of 4
cervical A_nerve_mm2: published means within ours +/- SD: 1 of 3
subdiaphragmatic A_nerve_mm2: ours above every published mean: 4 of 4
variant, version 1 traces, cervical diameter 0.2612 +/- 0.0243 mm; published within: 1 of 3; ours above: 1 of 3
variant, version 1 traces, subdiaphragmatic diameter 0.1378 +/- 0.0150 mm; published within: 0 of 4; ours above: 4 of 4

Result: partially reproduced (resting on the criterion's rules). The rat subdiaphragmatic mean (0.135 mm, 0.0145 mm2) is above all four values of Prechtl and Powley (1985), so that part holds. The cervical part does not: of the three published means, only Licursi de Alcantara et al.'s left VN (0.281 mm, 0.0620 mm2) lies within our 0.258 +/- 0.025 mm and 0.053 +/- 0.010 mm2; Fazan and Lachat (0.226 mm) is below and the right VN of Licursi de Alcantara et al. (0.299 mm, 0.0703 mm2) above. The version 1 traces give the same counts.

InΒ [57]:
print(f"notebook ran in {time.time() - T0:.0f} s; peak memory {resource.getrusage(resource.RUSAGE_SELF).ru_maxrss / 1e6:.2f} GB")
print("files read (dataset, path, version, sha256):")
for (ds, path, ver), h in sorted(pelot.READ_LOG.items()):
    print(f"  {ds} v{ver} {path} {h}")
notebook ran in 459 s; peak memory 1.30 GB
files read (dataset, path, version, sha256):
  sparc-16 v5 files/derivative/sub-16/sam-2/sub-16_sam-2_R16-2Slide2p1MT20x.jp2 a99796458fe5c46c72c0e132022458b42a96b8b7aa5b67837521ef99f65371d7
  sparc-16 v5 files/derivative/sub-16/sam-3/sub-16_sam-3_R16-3Slide2p1MT20x.jp2 707f72342768e1e7762c0b46affcdbbcfc08f4f45a96bc62b09e2d2dd075b910
  sparc-16 v5 files/derivative/sub-17/sam-2/sub-17_sam-2_R17-2Slide2p2MT20x.jp2 5ebee21caedd2bef9b5f7d2d7fffb9d39b413b90525ad8e4fc0865dacde03bed
  sparc-16 v5 files/derivative/sub-17/sam-3/sub-17_sam-3_R17-3Slide2p2MT20x.jp2 59183dc1db88b0f0ab024cb242058aedc8ceb01086ed6c0c30fa8a05c5686409
  sparc-16 v5 files/derivative/sub-18/sam-1/sub-18_sam-1_R18-1Slide2p2MT20x.jp2 5bef60ea400ed504c83899b0215917793c1bfeb862c1c9d8236d411e54a31c99
  sparc-16 v5 files/derivative/sub-18/sam-2/sub-18_sam-2_R18-2Slide2p2MT20x.jp2 518d1839464e4346eb2db4bc862250b5561f1bb6c79fdc60f2bf0d2e208ebd45
  sparc-16 v5 files/derivative/sub-20/sam-2/sub-20_sam-2_R20-2Slide2p2MT20x.jp2 79b3e0f9feb2538303362e61ec32099eea0686a5ab43b8b96680ba07f27ac483
  sparc-16 v5 files/derivative/sub-20/sam-3/sub-20_sam-3_R20-3Slide2p1MT20x.jp2 01b1cdb04cbf476b85f770918a2c54f0b492aa77f23d662e1d6fe2800fdfd382
  sparc-16 v5 files/derivative/sub-21/sam-2/sub-21_sam-2_R21-2Slide2p1MT20x.jp2 1e3fbefad08b9663a676c61f722ab9297c74f82b4ecfcf1e8a9dd76ef6833cb7
  sparc-16 v5 files/derivative/sub-21/sam-3/sub-21_sam-3_R21-3Slide2p1MT20x.jp2 b4545b096500bcc678e207cfd1ce0559993b7570f1c7b448110a3eb34e8047bb
  sparc-16 v5 files/derivative/sub-22/sam-2/sub-22_sam-2_R22-2Slide2p1MT20x.jp2 378a4f4470478240ffdb85eb9e8e86a39fa650a2d172af2026751e9e20a77a2b
  sparc-16 v5 files/derivative/sub-22/sam-3/sub-22_sam-3_R22-3Slide2p1MT20x.jp2 8272676e5054436724c0627e326cf5215ae1da122779dfa254df3be0efb7179d
  sparc-16 v5 files/derivative/sub-23/sam-2/sub-23_sam-2_R23-2Slide2P1MT20x.jp2 80d16efb7bb820bc5f846ddd2de74119e5ad8d91d688093a14a4537fb3787ebc
  sparc-16 v5 files/derivative/sub-23/sam-3/sub-23_sam-3_R23-3Slide2P1MT20x.jp2 c7312df75ea54ac62b7b03c0af5b73c07c1a2c85f0f6c2f61c09c9f200812837
  sparc-16 v5 files/derivative/sub-24/sam-2/sub-24_sam-2_R24-2Slide2P1MT20x.jp2 e6515d158cc1d3862795b7d00d2adbd0c39618cb87a1c38b1aaca239827c424f
  sparc-16 v5 files/derivative/sub-24/sam-3/sub-24_sam-3_R24-3Slide2P1MT20x.jp2 b21a85e5286f3916319f394b0f0338cb2252a848ebd452577e362cf7ab95c184
  sparc-16 v5 files/derivative/sub-25/sam-2/sub-25_sam-2_R25-2Slide2P1MT20x.jp2 cf5a3c7f57e332ef3f1e689ac8049b682028ee779f1c4e4ff4f78f50a59aeeda
  sparc-16 v5 files/derivative/sub-25/sam-3/sub-25_sam-3_R25-3Slide2P1MT20x.jp2 6869fc3f377bb21200b8ce325dcbc6dc33d0450d77237157cbc2917994ed6d43
  sparc-16 v5 files/samples.xlsx 13f1ca1ab6296d62a332b10763ac28f49c4c17d095e0b367500ac42758b08b86
  sparc-16 v5 files/subjects.xlsx b33a2b5bd17820cddc53c68bade732720435ed9695be9025849cd305630023cf
  sparc-60 v5 files/code/RAbdominalAnteriorFemale.xlsx c3c48b2c7f737c5183de17da5f1005bc2755349576efba3f378b9457cc78d888
  sparc-60 v5 files/code/RAbdominalAnteriorMale.xlsx 71844b006d8e5b8d7a2992363fbeb9444cfdcd533f0588cdfd0bd66bb49285dc
  sparc-60 v5 files/code/RCervicalLeftFemale.xlsx 02797d79d9b4d9fdb5ba149453ef1f25ad29bfbffe258b3890a78c4c8610834f
  sparc-60 v5 files/code/RCervicalLeftMale.xlsx 930a7f5883341ea6ed959a1dc872a8d0c60133c6b71a8c7c2957804d9b425ca0
  sparc-60 v1 files/primary/sub-16/sam-1/sub-16_sam-1_R16-1NerveMask.tif fdaa3bc6921c8b891847965bbb673ff56f18c12003f808aae64fa2c74821c23d
  sparc-60 v5 files/primary/sub-16/sam-1/sub-16_sam-1_R16-1NerveMask.tif fdaa3bc6921c8b891847965bbb673ff56f18c12003f808aae64fa2c74821c23d
  sparc-60 v1 files/primary/sub-16/sam-1/sub-16_sam-1_R16-1PeriMask.tif 4937a4c62f8892e791d6eecd39262062c3fdfa79bb71100d89be0a6003f42d15
  sparc-60 v5 files/primary/sub-16/sam-1/sub-16_sam-1_R16-1PeriMask.tif 5fcd48566aa861dcfaca6d64bb76dd4d0a9e1543d488c5f7dc31eb0f6f5b9e4a
  sparc-60 v5 files/primary/sub-16/sam-1/sub-16_sam-1_R16-1ScaleLength.mat fc90d84c3814063512f31ee52aacd4d9789cb172e8f2abe94ad412b0b9a5081f
  sparc-60 v1 files/primary/sub-16/sam-1/sub-16_sam-1_R16-1ScaleMask.tif a11cf04f4981192fd89f84ae553109d795f844e0826035fae34cb58e9bff5fdd
  sparc-60 v5 files/primary/sub-16/sam-1/sub-16_sam-1_R16-1ScaleMask.tif a11cf04f4981192fd89f84ae553109d795f844e0826035fae34cb58e9bff5fdd
  sparc-60 v1 files/primary/sub-16/sam-3/sub-16_sam-3_R16-3NerveMask.tif 447d330b42af94613199cd38fe32cb4bcfbb1d84149ef96fcd8499654ea13e29
  sparc-60 v1 files/primary/sub-16/sam-3/sub-16_sam-3_R16-3PeriMask.tif 900fa84b364385468a6f243345641f0eb67bde6a08fb8e5135cccef6482286f7
  sparc-60 v5 files/primary/sub-16/sam-3/sub-16_sam-3_R16-3PeriMask.tif c40ffd6aa61717f5d68a07aae6ba1844972b6c2ccdfa9543f26b6bf0b90d0675
  sparc-60 v5 files/primary/sub-16/sam-3/sub-16_sam-3_R16-3ScaleLength.mat 917b056efab7008eb7a4642f04a8e02fab6c045f9c4b5c817494da04c060787c
  sparc-60 v1 files/primary/sub-16/sam-3/sub-16_sam-3_R16-3ScaleMask.tif fca450874604bd42a5b4a9e96563c33cc06cd3913ee4a39f0091ad309174b602
  sparc-60 v5 files/primary/sub-16/sam-3/sub-16_sam-3_R16-3ScaleMask.tif fca450874604bd42a5b4a9e96563c33cc06cd3913ee4a39f0091ad309174b602
  sparc-60 v1 files/primary/sub-17/sam-1/sub-17_sam-1_R17-1NerveMask.tif 5abafa04b2a3aab3a1d5115fd496c0a2b2533ed8d46017a7852f1d4b5dced2ea
  sparc-60 v5 files/primary/sub-17/sam-1/sub-17_sam-1_R17-1NerveMask.tif 5abafa04b2a3aab3a1d5115fd496c0a2b2533ed8d46017a7852f1d4b5dced2ea
  sparc-60 v1 files/primary/sub-17/sam-1/sub-17_sam-1_R17-1PeriMask.tif 254f930658849d33b0fb3933d3863b970ea5660f0a77560727fc0401a65ba34a
  sparc-60 v5 files/primary/sub-17/sam-1/sub-17_sam-1_R17-1PeriMask.tif b6055122634740b8c86900c4e7608ea88d38904b6ed52713ccf82d9599848277
  sparc-60 v5 files/primary/sub-17/sam-1/sub-17_sam-1_R17-1ScaleLength.mat f3a43c1ca16090d58905c91804ca1283c3979b0977511b19720ac343cfc82021
  sparc-60 v1 files/primary/sub-17/sam-1/sub-17_sam-1_R17-1ScaleMask.tif 40535761584fd0bad2693ebe54de6796f8d0dd0854edab0ec995da244198e715
  sparc-60 v5 files/primary/sub-17/sam-1/sub-17_sam-1_R17-1ScaleMask.tif 40535761584fd0bad2693ebe54de6796f8d0dd0854edab0ec995da244198e715
  sparc-60 v1 files/primary/sub-17/sam-3/sub-17_sam-3_R17-3NerveMask.tif 93bc260b726e16a87a1d19e1a3ae3bb411558ecfb86320c88cd3c1d4efdcdb3e
  sparc-60 v1 files/primary/sub-17/sam-3/sub-17_sam-3_R17-3PeriMask.tif 747d51dd520b08275703c136452e76763fe8442198c57d07c6f032c7c72256b0
  sparc-60 v5 files/primary/sub-17/sam-3/sub-17_sam-3_R17-3PeriMask.tif 0990cc04cd66f19b2373745ed0327fbeefac94dcfface13bec2b93ef50cfef36
  sparc-60 v5 files/primary/sub-17/sam-3/sub-17_sam-3_R17-3ScaleLength.mat 47c65b24fcaf264c4f976ee15198c8868cf0a61422f2791e9342d04a3dfe8aef
  sparc-60 v1 files/primary/sub-17/sam-3/sub-17_sam-3_R17-3ScaleMask.tif 9d245250a3af28356486c95979df8155dcd00d2ecb3b93449f953db5f97a807f
  sparc-60 v5 files/primary/sub-17/sam-3/sub-17_sam-3_R17-3ScaleMask.tif 9d245250a3af28356486c95979df8155dcd00d2ecb3b93449f953db5f97a807f
  sparc-60 v1 files/primary/sub-18/sam-1/sub-18_sam-1_R18-1NerveMask.tif b172f28f24f5570ddc0a2c97ac4796beebd31094f18e1138f7853bd1b68a8fb7
  sparc-60 v1 files/primary/sub-18/sam-1/sub-18_sam-1_R18-1PeriMask.tif 9be1d9cb4e2a3406e67e83749231f4b2c2b0619771aede4167857b5648de7240
  sparc-60 v5 files/primary/sub-18/sam-1/sub-18_sam-1_R18-1PeriMask.tif 2dd06ec214dbd6c539b4a61f90a77aa650b86e0a58a4f654485f5b5368e94720
  sparc-60 v5 files/primary/sub-18/sam-1/sub-18_sam-1_R18-1ScaleLength.mat 6857ae52917f70fa0e9a07da69acc972bb913eba0a07207fa7333a13e6088c3d
  sparc-60 v1 files/primary/sub-18/sam-1/sub-18_sam-1_R18-1ScaleMask.tif 18c1f2d1607d1571f63a4bad46285ab287e68c987a20e3f64718c2404af56156
  sparc-60 v5 files/primary/sub-18/sam-1/sub-18_sam-1_R18-1ScaleMask.tif 18c1f2d1607d1571f63a4bad46285ab287e68c987a20e3f64718c2404af56156
  sparc-60 v1 files/primary/sub-20/sam-1/sub-20_sam-1_R20-1NerveMask.tif faff91b78d0d8b1545c46243a49a07e1dfb5cfbc3b5bfaa0a2a2c21393af5139
  sparc-60 v1 files/primary/sub-20/sam-1/sub-20_sam-1_R20-1PeriMask.tif bfc89fc9e79587d13615e43a72808c7fdcd51754b5cc9fd30329089061e2bd52
  sparc-60 v5 files/primary/sub-20/sam-1/sub-20_sam-1_R20-1PeriMask.tif 3860e4d6b40798992e4480ac4889764809d778f2cb728c9e917b1fe8d0ef7cc0
  sparc-60 v5 files/primary/sub-20/sam-1/sub-20_sam-1_R20-1ScaleLength.mat 7e6ea263975e89f4ac132a13fc746c7661e89c511f9ade0cb095eed0dd8b193f
  sparc-60 v1 files/primary/sub-20/sam-1/sub-20_sam-1_R20-1ScaleMask.tif b14ecbec1aac30e3a0e03c5220f5a59c232bcac46f0980412a8f8a86516f0347
  sparc-60 v5 files/primary/sub-20/sam-1/sub-20_sam-1_R20-1ScaleMask.tif b14ecbec1aac30e3a0e03c5220f5a59c232bcac46f0980412a8f8a86516f0347
  sparc-60 v1 files/primary/sub-20/sam-3/sub-20_sam-3_R20-3NerveMask.tif a3f2c9dbc110a30aa22c22d3fbe0c9995467ed7687b49a2a7037ea05e895eb4f
  sparc-60 v1 files/primary/sub-20/sam-3/sub-20_sam-3_R20-3PeriMask.tif fff53db1e16f593085cde191945f74845013dd568996b2d8ec33cb4142739b70
  sparc-60 v5 files/primary/sub-20/sam-3/sub-20_sam-3_R20-3PeriMask.tif a0e207a110b57c646a645f2aee8feaad63e3a048f96332c10650bc88b460d0bb
  sparc-60 v5 files/primary/sub-20/sam-3/sub-20_sam-3_R20-3ScaleLength.mat 07ad1914c791c435fcc30f75cecf4b98aaff99234384c1b384f1c9bbfbb873bd
  sparc-60 v1 files/primary/sub-20/sam-3/sub-20_sam-3_R20-3ScaleMask.tif cf75e8aed8b9603d2b8620abf3bcf16fa2ed498646799c7b00e30c511603543d
  sparc-60 v5 files/primary/sub-20/sam-3/sub-20_sam-3_R20-3ScaleMask.tif cf75e8aed8b9603d2b8620abf3bcf16fa2ed498646799c7b00e30c511603543d
  sparc-60 v1 files/primary/sub-21/sam-1/sub-21_sam-1_R21-1NerveMask.tif 3b031eb26e55a54acdd68dff07204bbe4d334114191bead19870b337d51d4026
  sparc-60 v1 files/primary/sub-21/sam-1/sub-21_sam-1_R21-1PeriMask.tif 0211952e913fa8d9a9d1bf91654816ec654d9d2ba402617f0c1a216db1e902ee
  sparc-60 v5 files/primary/sub-21/sam-1/sub-21_sam-1_R21-1PeriMask.tif cb92376c93f650e9e0bab9908839c9bc0fd748d74b47bb1ea8893146bf54418b
  sparc-60 v5 files/primary/sub-21/sam-1/sub-21_sam-1_R21-1ScaleLength.mat e018031f1712baaac6957792ca7ce1aef2f825c8ef951f089e87ff539ce373e4
  sparc-60 v1 files/primary/sub-21/sam-1/sub-21_sam-1_R21-1ScaleMask.tif d90c688b4a004f5b15eec6f09dfc94e4a51cd27dd6ab2e3442af0a7bb411887b
  sparc-60 v5 files/primary/sub-21/sam-1/sub-21_sam-1_R21-1ScaleMask.tif d90c688b4a004f5b15eec6f09dfc94e4a51cd27dd6ab2e3442af0a7bb411887b
  sparc-60 v1 files/primary/sub-21/sam-3/sub-21_sam-3_R21-3NerveMask.tif 63b2a6af901afc91d568a91da5bcb7c82fef422722d508029e7acfc7257f9eb0
  sparc-60 v1 files/primary/sub-21/sam-3/sub-21_sam-3_R21-3PeriMask.tif 0e2ec4c3372e3abd017f7cf2429ecccb67970a6703d01fcaa6a7854d38f347a8
  sparc-60 v5 files/primary/sub-21/sam-3/sub-21_sam-3_R21-3PeriMask.tif 746cbfd4db9fd30404d770ff131815a448ceebc0a31fe5368667a16b8cc27c11
  sparc-60 v5 files/primary/sub-21/sam-3/sub-21_sam-3_R21-3ScaleLength.mat 6857ae52917f70fa0e9a07da69acc972bb913eba0a07207fa7333a13e6088c3d
  sparc-60 v1 files/primary/sub-21/sam-3/sub-21_sam-3_R21-3ScaleMask.tif 5f0f641df4a18e172aaad04054a86bfb9494d16229cf16a4a90cfaa924dae8b9
  sparc-60 v5 files/primary/sub-21/sam-3/sub-21_sam-3_R21-3ScaleMask.tif 5f0f641df4a18e172aaad04054a86bfb9494d16229cf16a4a90cfaa924dae8b9
  sparc-60 v1 files/primary/sub-22/sam-1/sub-22_sam-1_R22-1NerveMask.tif 54a06c3c9f8ca6eb50a6f10d716287de65825d0c87b024c95a742d9088b8df82
  sparc-60 v5 files/primary/sub-22/sam-1/sub-22_sam-1_R22-1NerveMask.tif 54a06c3c9f8ca6eb50a6f10d716287de65825d0c87b024c95a742d9088b8df82
  sparc-60 v1 files/primary/sub-22/sam-1/sub-22_sam-1_R22-1PeriMask.tif 50466692ca2ca709ccd4bc19d8f7b056541e7289863c6eb4e287371924dfd9c6
  sparc-60 v5 files/primary/sub-22/sam-1/sub-22_sam-1_R22-1PeriMask.tif da3d7617d18cb33e223dbcf4f2259a41d16d066f0cd56e4d4e7d60cf7906a43b
  sparc-60 v5 files/primary/sub-22/sam-1/sub-22_sam-1_R22-1ScaleLength.mat 4681f3d2f8070a35eb8f940da6208d7d66d095673260f824cef7b8e1a902d733
  sparc-60 v1 files/primary/sub-22/sam-1/sub-22_sam-1_R22-1ScaleMask.tif aed0fd094d3d6585e9bf12d1333a8c7a73f2cafd1c7aa71318a94a87c8b018d8
  sparc-60 v5 files/primary/sub-22/sam-1/sub-22_sam-1_R22-1ScaleMask.tif aed0fd094d3d6585e9bf12d1333a8c7a73f2cafd1c7aa71318a94a87c8b018d8
  sparc-60 v1 files/primary/sub-22/sam-3/sub-22_sam-3_R22-3NerveMask.tif 8d96df4f7610eb9c4cfd6d685a1dfc00245e2713af358f43ba63dbf3b4a5da7f
  sparc-60 v1 files/primary/sub-22/sam-3/sub-22_sam-3_R22-3PeriMask.tif 5bc6ae7fc67786b2b69507a6f5a577ec9b1a1ac783a05ca1adfbf6497f60ca42
  sparc-60 v5 files/primary/sub-22/sam-3/sub-22_sam-3_R22-3PeriMask.tif 88f76fba82b1bf5b248828e161411cdc845c32bdc628ed08019439d8ff1877e4
  sparc-60 v5 files/primary/sub-22/sam-3/sub-22_sam-3_R22-3ScaleLength.mat 6857ae52917f70fa0e9a07da69acc972bb913eba0a07207fa7333a13e6088c3d
  sparc-60 v1 files/primary/sub-22/sam-3/sub-22_sam-3_R22-3ScaleMask.tif f634de9952b30d9d92888fc63ff46b7541f5227eed27d5f192594b7ad4504912
  sparc-60 v5 files/primary/sub-22/sam-3/sub-22_sam-3_R22-3ScaleMask.tif f634de9952b30d9d92888fc63ff46b7541f5227eed27d5f192594b7ad4504912
  sparc-60 v1 files/primary/sub-23/sam-1/sub-23_sam-1_R23-1NerveMask.tif 5a4b43f2c8536e3a97e92e33438ad67da2843c180143c8366cd7a6421df80a50
  sparc-60 v5 files/primary/sub-23/sam-1/sub-23_sam-1_R23-1NerveMask.tif 5a4b43f2c8536e3a97e92e33438ad67da2843c180143c8366cd7a6421df80a50
  sparc-60 v1 files/primary/sub-23/sam-1/sub-23_sam-1_R23-1PeriMask.tif 02119f66f7d14811527b29dbf7a47b17039189cf005726abf7b3eaa3881fab5c
  sparc-60 v5 files/primary/sub-23/sam-1/sub-23_sam-1_R23-1PeriMask.tif 90c67e689b6af795a76fdee5ff889edffe19f3ed7730e711755dab99fef69348
  sparc-60 v5 files/primary/sub-23/sam-1/sub-23_sam-1_R23-1ScaleLength.mat 7c123e4635ac5ff1d888d97bc3707b3f04642753ac3339e54c73d14a38b0768e
  sparc-60 v1 files/primary/sub-23/sam-1/sub-23_sam-1_R23-1ScaleMask.tif e4f17a3157521b973c1f1eed2439e8e164218ade808579e0e435b3bd834dbdd6
  sparc-60 v5 files/primary/sub-23/sam-1/sub-23_sam-1_R23-1ScaleMask.tif e4f17a3157521b973c1f1eed2439e8e164218ade808579e0e435b3bd834dbdd6
  sparc-60 v1 files/primary/sub-23/sam-3/sub-23_sam-3_R23-3NerveMask.tif ff4112269e79e5197f4a8687aff27776a09b74d6189856469d3d1187f3b3809f
  sparc-60 v1 files/primary/sub-23/sam-3/sub-23_sam-3_R23-3PeriMask.tif dd51d9ea9cced1691921b40268d4d67aa8e3d78abfb9b2010255fd64fcb9cbac
  sparc-60 v5 files/primary/sub-23/sam-3/sub-23_sam-3_R23-3PeriMask.tif b6736eefca809a7ed36b86999899dc4207f91c9cf40b336f334ab9774022feee
  sparc-60 v5 files/primary/sub-23/sam-3/sub-23_sam-3_R23-3ScaleLength.mat 6857ae52917f70fa0e9a07da69acc972bb913eba0a07207fa7333a13e6088c3d
  sparc-60 v1 files/primary/sub-23/sam-3/sub-23_sam-3_R23-3ScaleMask.tif df3435e18f2373661fd28a5cd4a069de9794135fcd0b0c0d831e0e4874b608ac
  sparc-60 v5 files/primary/sub-23/sam-3/sub-23_sam-3_R23-3ScaleMask.tif df3435e18f2373661fd28a5cd4a069de9794135fcd0b0c0d831e0e4874b608ac
  sparc-60 v1 files/primary/sub-24/sam-1/sub-24_sam-1_R24-1NerveMask.tif 651e151d3576468523acf38ce13b32d4796b982551cb27ed98c364e4a52ca3a5
  sparc-60 v1 files/primary/sub-24/sam-1/sub-24_sam-1_R24-1PeriMask.tif 68e6e8b265a2eb38310aefc56b8267dda57044400ba562a3b787047b6e731934
  sparc-60 v5 files/primary/sub-24/sam-1/sub-24_sam-1_R24-1PeriMask.tif cd941807d81cb35c9c8964447ab181411f51616cd183104f056a98fdc3a87806
  sparc-60 v5 files/primary/sub-24/sam-1/sub-24_sam-1_R24-1ScaleLength.mat 2e9b961af5cda9ec43b97eaf493e47ef568eaabdd405dbd3915808d6c24b1cc5
  sparc-60 v1 files/primary/sub-24/sam-1/sub-24_sam-1_R24-1ScaleMask.tif 193b063c85a90657e953cae81cfa6390d6af2c4aa4cec7bbb3fda48362e12409
  sparc-60 v5 files/primary/sub-24/sam-1/sub-24_sam-1_R24-1ScaleMask.tif 193b063c85a90657e953cae81cfa6390d6af2c4aa4cec7bbb3fda48362e12409
  sparc-60 v1 files/primary/sub-24/sam-3/sub-24_sam-3_R24-3NerveMask.tif fc9cf9c07987cf2ac59e1957d3bf7571f2b28906553f054605c7a592fbe9bb82
  sparc-60 v1 files/primary/sub-24/sam-3/sub-24_sam-3_R24-3PeriMask.tif 1abe229278a1ba8a194d60de18a3df479e1fc006069a62230f78576e8fa1f691
  sparc-60 v5 files/primary/sub-24/sam-3/sub-24_sam-3_R24-3PeriMask.tif 77e30c4a296e528cd588d380158e80e2e18202465dc0e03c97180bbc8426f788
  sparc-60 v5 files/primary/sub-24/sam-3/sub-24_sam-3_R24-3ScaleLength.mat 6857ae52917f70fa0e9a07da69acc972bb913eba0a07207fa7333a13e6088c3d
  sparc-60 v1 files/primary/sub-24/sam-3/sub-24_sam-3_R24-3ScaleMask.tif 9fe97f926d027770790554a9cc3fd10eea367d4e8af1594ac6bc46137b1ed616
  sparc-60 v5 files/primary/sub-24/sam-3/sub-24_sam-3_R24-3ScaleMask.tif 9fe97f926d027770790554a9cc3fd10eea367d4e8af1594ac6bc46137b1ed616
  sparc-60 v1 files/primary/sub-25/sam-1/sub-25_sam-1_R25-1NerveMask.tif 964c51b35d4af01726c9dee0a81d164bfb5a59ccc8953cc5ad981d177509af62
  sparc-60 v1 files/primary/sub-25/sam-1/sub-25_sam-1_R25-1PeriMask.tif b60984e9aa17f8814a507a1454458de3b7ed71a3078596f33cc9a2dac975aae8
  sparc-60 v5 files/primary/sub-25/sam-1/sub-25_sam-1_R25-1PeriMask.tif 1c4c0fd8721fdc1bfb8d6dbeb101ba54c14401b585f72df2e43051068bd6efbc
  sparc-60 v5 files/primary/sub-25/sam-1/sub-25_sam-1_R25-1ScaleLength.mat d4ea97af0811544094759f3ee3533e04d8132003462aa554bb6483b3eaf75017
  sparc-60 v1 files/primary/sub-25/sam-1/sub-25_sam-1_R25-1ScaleMask.tif 72a7973482b2027b78972ba1330d4254bf603b6b067f671107495ec3d6c6da01
  sparc-60 v5 files/primary/sub-25/sam-1/sub-25_sam-1_R25-1ScaleMask.tif 72a7973482b2027b78972ba1330d4254bf603b6b067f671107495ec3d6c6da01
  sparc-60 v1 files/primary/sub-25/sam-3/sub-25_sam-3_R25-3NerveMask.tif baa2dbab19bea78cd47167e6f7a13f041e680f75ea54b22bebef42d280c5c545
  sparc-60 v1 files/primary/sub-25/sam-3/sub-25_sam-3_R25-3PeriMask.tif be29498ab2c2b0615a062769e01237135711742c4253b7289385417a1e44824e
  sparc-60 v5 files/primary/sub-25/sam-3/sub-25_sam-3_R25-3PeriMask.tif ddb3cc7ac388bef58385b483f904cc269d17d0f2b4f23bbcec551d10920bb59b
  sparc-60 v5 files/primary/sub-25/sam-3/sub-25_sam-3_R25-3ScaleLength.mat 6857ae52917f70fa0e9a07da69acc972bb913eba0a07207fa7333a13e6088c3d
  sparc-60 v1 files/primary/sub-25/sam-3/sub-25_sam-3_R25-3ScaleMask.tif 8be05bb4427523cd913dd7759d2f00c00fafcafcd6875601bfc7ddf347e84596
  sparc-60 v5 files/primary/sub-25/sam-3/sub-25_sam-3_R25-3ScaleMask.tif 8be05bb4427523cd913dd7759d2f00c00fafcafcd6875601bfc7ddf347e84596
  sparc-60 v1 files/primary/sub-26/sam-1/sub-26_sam-1_R26-1NerveMask.tif 8a48c93ef211d2221cdb0598129ce07b4462dfe18a5bd4e498e1b156e3d285fd
  sparc-60 v1 files/primary/sub-26/sam-1/sub-26_sam-1_R26-1PeriMask.tif 6a7753eca9e09c3421fa5fd9bc5bc117000727c58994b5b47cd4dc1324e5f027
  sparc-60 v5 files/primary/sub-26/sam-1/sub-26_sam-1_R26-1PeriMask.tif b4b382fddd03e2ac31c5ef7662d1c064590d5d3adba0c0e2714811ff7137cbea
  sparc-60 v5 files/primary/sub-26/sam-1/sub-26_sam-1_R26-1ScaleLength.mat e5df263f794ead86f4d4073415da1479054d2e2690df212160438c1d6802cb73
  sparc-60 v1 files/primary/sub-26/sam-1/sub-26_sam-1_R26-1ScaleMask.tif 8bf7986bf7a7f6c6bc5018dbca966f37268ceaff229f6d2ea394de5b9fce5487
  sparc-60 v5 files/primary/sub-26/sam-1/sub-26_sam-1_R26-1ScaleMask.tif 05aa25a6c92618707925ac4d00d1cf18f6e060b9b77cf63753e46ac13e5d881e
  sparc-60 v5 files/samples.xlsx e0580f8ab64a7c937e47a21f595f69edfdc2db5da6d9ffd1fc80dd4ce76622cb
  sparc-60 v5 files/subjects.xlsx 3891ee811838f77e23e3a26c341d030ae1102ea88070f6f54b4d97e3a85ec058
  sparc-60 v5 readme.md e494c0a5cef96ffd903ceecc16f53b90b6e052677d7e88773e9c9543818d0b7a
  sparc-61 v3 files/derivative/sub-51/sam-1/sub-51sam-1C51-1Slide2p2.jp2 24cd9ad2c025e14b9c147fb905a6491bcc490aa86eed5a18304fa5f2f14b82e1
  sparc-61 v3 files/derivative/sub-51/sam-3/sub-51sam-3C51-3Slide2p4MT.jp2 41fe70a4ce744c6bd2f8c881e8931d210c3ca026e100f74343b0365615a74fb8
  sparc-61 v3 files/derivative/sub-53/sam-3/sub-53sam-3C53-3Slide2p1MT10x.jp2 2098230163f8ede57ecb05d4ff7498d908a9a8aa46967e94dba3f4017505e03d
  sparc-61 v3 files/derivative/sub-53/sam-4/sub-53sam-4C53-4Slide2p1MT10x.jp2 7a83ff7b4423b76182045aec23c9baf0aa1bc8e8c41771616ae73f0078260fe0
  sparc-61 v3 files/derivative/sub-54/sam-1/sub-54sam-1C54-1Slide2p1MT10x.jp2 b42088d1c7992044e7e5ceaaa68ddd4fd842e03f246e6be1e6fd10d1236f8f9c
  sparc-61 v3 files/derivative/sub-54/sam-2/sub-54sam-2C54-2Slide2p3MT10x.jp2 45430c1d0cc43a0b9baa756d5034c48e621cb33b1ed428ef101e2f911ab7df9a
  sparc-61 v3 files/derivative/sub-55/sam-1/sub-55sam-1C55-1Slide2p2MT10x.jp2 75cba80d647bad7f6795ff1b2d7c04afda3b35f9c90702526d586032847eca90
  sparc-61 v3 files/derivative/sub-55/sam-2/sub-55sam-2C55-2Slide2p3MT10x.jp2 004c8dcde10d5733262805fb5b81cc96fa85de542d0dc7cc9bc7111ae6f0d136
  sparc-61 v3 files/derivative/sub-56/sam-1/sub-56sam-1C56-1Slide2p3MT10x.jp2 01c83cd78ea95a2e348be5b94cc454a9f6bfaae7d5477efa2cfd2e13b2a59ec1
  sparc-61 v3 files/derivative/sub-56/sam-2/sub-56sam-2C56-2Slide2p3MT10x (1).jp2 9c4cff4013d25da72d3c46a38c104502e889bc3e108e7aa8e1ef7a1ce2d6262b
  sparc-61 v3 files/derivative/sub-57/sam-1/sub-57sam-1C57-1Slide2p3MT10x (1).jp2 d7ab5bdf934aad4f87a2bca6a5500375858d95404f7cd0854cd5c8f9ba00f89d
  sparc-61 v3 files/derivative/sub-57/sam-2/sub-57sam-2C57-2Slide2p1MT10x.jp2 d26bb7d41a037049644111f8b599f6cead44ab4439a56c4084f7248bcb5b35fd
  sparc-61 v3 files/derivative/sub-58/sam-1/sub-58sam-1C58-1Slide2p1MT10x.jp2 204709fb7056fcecd10878ff6086f805584b168200fe1ae89cce588f204f7bf2
  sparc-61 v3 files/derivative/sub-58/sam-2/sub-58sam-2C58-2Slide2p4MT10x.jp2 2e497f874fa27e610f02cf3c65c8ffc6b9b1fa42d27cf451beee585463d32c2c
  sparc-61 v3 files/derivative/sub-62/sam-1/sub-63sam-1C63-1Slide2p3MT10x.jp2 61d8278c564b5929058b164c176ce5b87e8a00995492b11736b342e427ccf4bd
  sparc-61 v3 files/derivative/sub-64/sam-1/sub-64sam-1C64-1Slide2p1MT10x.jp2 2bd26e118f40d5a292262de6cb1090a952bfa6ee326f7406381b164c4b6867d7
  sparc-61 v3 files/derivative/sub-64/sam-2/sub-64sam-2C64-2Slide2p3MT10x (1).jp2 6d5a8ec11e36619c1bac066fbda2f8b316e9973c0fdf8c4eb83b48c3997b1146
  sparc-61 v3 files/derivative/sub-65/sam-1/sub-65sam-1C65-1Slide2p1MT10x (1).jp2 7915ed33d02b498e0647213866a612cf4cf6abfba0f3fc9c75cc7808f5bcfddf
  sparc-61 v3 files/derivative/sub-65/sam-2/sub-65sam-2C65-2Slide2p4MT10x.jp2 2fe4fb7733bbb4bed7ce7c7cbf9e1a3e850b8eb895b80a16330916ee1acbbab3
  sparc-61 v3 files/derivative/sub-66/sam-2/sub-66sam-2C66-2Slide2p4MT10x.jp2 7ca0470219e1f8593293a2d9c1a95756360229803621fdcdc054d0ec4972a87e
  sparc-61 v3 files/derivative/sub-67/sam-1/sub-67sam-1C67-1Slide2p1MT10x (1).jp2 31bc86661b0f09c262f18a332a4b6a12397058baae03192175c5742c751919b0
  sparc-61 v3 files/derivative/sub-67/sam-2/sub-67sam-2C67-2Slide2p2MT10x.jp2 bd6406c420636e9d31b5c5efc9fb516814e5a82a992d8e2acbe675e89ac06cb5
  sparc-61 v3 files/derivative/sub-68/sam-1/sub-68sam-1C68-1Slide2p3MT10x.jp2 e8612a8b1824ecf030928eeb7a22e1f7f8ee25a305b595c4d55d9f1debaae5be
  sparc-61 v3 files/derivative/sub-68/sam-2/sub-68sam-2C68-2Slide2p3MT10x.jp2 9fb2c60df5914253d29161b39b87515685f7474f4c8334f3bb20fc368ac74f55
  sparc-61 v3 files/derivative/sub-69/sam-1/sub-69sam-1C69-1Slide2p3MT10x (1).jp2 cc38e6c4d662978edf1bfc9fbb5845b7426bff47b2c7b81e97747c0de766a0b4
  sparc-61 v3 files/derivative/sub-69/sam-2/sub-69sam-2C69-2Slide2p4MT10x (1) (1).jp2 cc2c49a576d550bb6e145dd671d669720fd05c621398a1be7a74a74d55798144
  sparc-61 v3 files/derivative/sub-70/sam-1/sub-70sam-1C70-1Slide2p1MT10x (1) (1).jp2 a52ca79a76f52d7c8dc244c0c884131072c975c1e2634a1754a0309012082807
  sparc-61 v3 files/derivative/sub-70/sam-2/sub-70sam-2C70-2Slide2p3MT10x.jp2 1f9fffaa8a032252960594c1b5a6a818a12e34208c74c1442a0ccf65bad448a0
  sparc-61 v3 files/derivative/sub-71/sam-1/sub-71sam-1C71-1Slide2p1MT10x.jp2 a0f613431fa983f57862a94d99b98747dab3ae83cf0a86c587c51cd6cb63c63f
  sparc-61 v3 files/derivative/sub-71/sam-2/sub-71sam-2C71-2Slide2p1MT10x.jp2 c5f0065a538d93d67ccddf46df5c34d2d38ca12f858a23a8e4c8053fb8481548
  sparc-61 v3 files/derivative/sub-72/sam-1/sub-72sam-1C72-1Slide2p1MT10x.jp2 dbb2ca219a9ec4501734435912d10957bb342456e07c2835b30cc0eedf0ad16e
  sparc-61 v3 files/derivative/sub-72/sam-2/sub-72sam-2C72-2Slide2p1MT10x.jp2 defa47611d2bb52d5cd7583c57c03a613e30b56fdbdf2afea3ab13c8cace6a03
  sparc-61 v3 files/samples.xlsx a9be50a377b6620a1b16a97dea5bda1d8a542f23ad40bf97e6aa2014a93076be
  sparc-61 v3 files/subjects.xlsx 3ce75d0901ad06df702b006d65108b4ef6e8a77f3e60688299c439c8862d6a31
  sparc-64 v4 files/code/PAbdominalAnteriorFemale.xlsx 116936bb42049fb575775f4002773c251d30687c8e22d5270de1d665e0a22e64
  sparc-64 v4 files/code/PAbdominalAnteriorMale.xlsx db093e41c42e016fc8d7a2b9205c4759474088d4e763b425b1998ed40c837514
  sparc-64 v4 files/code/PCervicalLeftFemale.xlsx c8dfbd2d81727581af98942b1c9b3f97a8ba73a0cc77f43a9ec445de54bb3ec5
  sparc-64 v4 files/code/PCervicalLeftMale.xlsx 593bbb6aa733084ba7990d664563677ef8db13c855f610c11c054ebea5132809
  sparc-64 v1 files/primary/sub-10/sam-1/sub-10_sam-1_P10-1FascMask.tif bfecb59f787257090f8622c53df4d657e540f42d127fcfc6582b4abfb544afb8
  sparc-64 v4 files/primary/sub-10/sam-1/sub-10_sam-1_P10-1FascMask.tif 03dc83075f07f96fccbd6a2e3097cbb76b239e8aabf431a8f28f04d19acfa131
  sparc-64 v4 files/primary/sub-10/sam-1/sub-10_sam-1_P10-1NerveMask.tif 218c5a9cceb557d3e79b71931879fa229d129f081dbc1f9ea54f592e6079c5cb
  sparc-64 v1 files/primary/sub-10/sam-1/sub-10_sam-1_P10-1ScaleMask.tif ee217a952a55fc607e9f7ede37da4c93a95d87a6b1c835f9e0c6a81a1b7f39a4
  sparc-64 v4 files/primary/sub-10/sam-1/sub-10_sam-1_P10-1ScaleMask.tif ee217a952a55fc607e9f7ede37da4c93a95d87a6b1c835f9e0c6a81a1b7f39a4
  sparc-64 v1 files/primary/sub-11/sam-1/sub-11_sam-1_P11-1FascMask.tif 8850d6c14caac597351e2f17cee0f206b1c051c46d36beba2a2d0c02d5757bb9
  sparc-64 v4 files/primary/sub-11/sam-1/sub-11_sam-1_P11-1FascMask.tif 058c15d3a6493ee086aa6ae177364633cd8e8617351a301e9e286655380f4cb2
  sparc-64 v4 files/primary/sub-11/sam-1/sub-11_sam-1_P11-1NerveMask.tif d4a7d586ee6e642af6b36fa0f5007b990250cd97262ce24ca2acc6cc06f0dd32
  sparc-64 v1 files/primary/sub-11/sam-1/sub-11_sam-1_P11-1ScaleMask.tif fabb27640d6395a3dccf8214d682725414b3f8b67049d70e31340173a55a0373
  sparc-64 v4 files/primary/sub-11/sam-1/sub-11_sam-1_P11-1ScaleMask.tif fabb27640d6395a3dccf8214d682725414b3f8b67049d70e31340173a55a0373
  sparc-64 v1 files/primary/sub-11/sam-3/sub-11_sam-3_P11-3FascMask.tif b4fa1ebf618977f90bb5b20eee58781befba33460b1bcf0c2129af7463c6d3c3
  sparc-64 v4 files/primary/sub-11/sam-3/sub-11_sam-3_P11-3FascMask.tif 17a7b2821b1c256b4749f62d05f616e6ad83bcbb8e49b1eeda40c3a81c39a1b6
  sparc-64 v4 files/primary/sub-11/sam-3/sub-11_sam-3_P11-3NerveMask.tif 4b3c4c6694ebc93d14ca0381bb14117025e3941dbe776f0515a055f73be124f9
  sparc-64 v1 files/primary/sub-11/sam-3/sub-11_sam-3_P11-3ScaleMask.tif d48ae6526f2c3ce2fe544c5d0d8cd3be1e5237c8f91a2bca646cb1f4326d84aa
  sparc-64 v4 files/primary/sub-11/sam-3/sub-11_sam-3_P11-3ScaleMask.tif d48ae6526f2c3ce2fe544c5d0d8cd3be1e5237c8f91a2bca646cb1f4326d84aa
  sparc-64 v1 files/primary/sub-12/sam-1/sub-12_sam-1_P12-1FascMask.tif 11217358012fbb702a6a9488197c912ad7a4c45fc15c946b0c5c2ca3fe5a80b0
  sparc-64 v4 files/primary/sub-12/sam-1/sub-12_sam-1_P12-1FascMask.tif 618504178f702b7f57cab1ee093b1578e43913de491689c2c61a68893abb6940
  sparc-64 v4 files/primary/sub-12/sam-1/sub-12_sam-1_P12-1NerveMask.tif da1322a5d98e3ddafa6d5a5a925e55f6b91492cccecd4ba9c385068156d658b5
  sparc-64 v1 files/primary/sub-12/sam-1/sub-12_sam-1_P12-1ScaleMask.tif 1c09fbde7a2342ffd5cf727502c33bc071b45f3d9bd88dbf2882da3c3ccfe019
  sparc-64 v4 files/primary/sub-12/sam-1/sub-12_sam-1_P12-1ScaleMask.tif 1c09fbde7a2342ffd5cf727502c33bc071b45f3d9bd88dbf2882da3c3ccfe019
  sparc-64 v1 files/primary/sub-12/sam-3/sub-12_sam-3_P12-3FascMask.tif 7f7b1e88089cde10056e86c897abf08f49e3659bfcfcae2509fa8970f98a0df5
  sparc-64 v4 files/primary/sub-12/sam-3/sub-12_sam-3_P12-3FascMask.tif 7f7b1e88089cde10056e86c897abf08f49e3659bfcfcae2509fa8970f98a0df5
  sparc-64 v4 files/primary/sub-12/sam-3/sub-12_sam-3_P12-3NerveMask.tif d4efdd9c40ba26799b1cc4642e82821df0cad655c737e566830dd7157e4c80c9
  sparc-64 v1 files/primary/sub-12/sam-3/sub-12_sam-3_P12-3ScaleMask.tif 259ac8604de6da8133e222745a95e564e026d02842701b9f0d63fc5f0a44b12a
  sparc-64 v4 files/primary/sub-12/sam-3/sub-12_sam-3_P12-3ScaleMask.tif 259ac8604de6da8133e222745a95e564e026d02842701b9f0d63fc5f0a44b12a
  sparc-64 v1 files/primary/sub-13/sam-1/sub-13_sam-1_P13-1FascMask.tif 82114e8ef8fd860ae74c824ca5587ea6e758490ecd7f523284fb8d22716bef17
  sparc-64 v4 files/primary/sub-13/sam-1/sub-13_sam-1_P13-1FascMask.tif 27ae442248e1e669a706299500c1e5016d2c2b87e8e5e8d6daf80216b85c0971
  sparc-64 v4 files/primary/sub-13/sam-1/sub-13_sam-1_P13-1NerveMask.tif 50fa5e4429ffe2b00ad4de39e2372fee121216e027a291587171a57a207a3afc
  sparc-64 v1 files/primary/sub-13/sam-1/sub-13_sam-1_P13-1ScaleMask.tif 0713bcc848df12702569039a13235e943943aae95a86780ef9b27ae9294c444c
  sparc-64 v4 files/primary/sub-13/sam-1/sub-13_sam-1_P13-1ScaleMask.tif 0713bcc848df12702569039a13235e943943aae95a86780ef9b27ae9294c444c
  sparc-64 v1 files/primary/sub-13/sam-3/sub-13_sam-3_P13-3FascMask.tif e98996f7172ce0b61d3db898f8e688df9024e6c6c09379b48c29002a56159bab
  sparc-64 v4 files/primary/sub-13/sam-3/sub-13_sam-3_P13-3FascMask.tif 68f1e8933f7f3a257b752e0bceda2c9388b01a37afd1d55643f13346857463be
  sparc-64 v4 files/primary/sub-13/sam-3/sub-13_sam-3_P13-3NerveMask.tif a8f56fac6583726b42897a676039e12660b89455e142ae2e0bbf498b1066e6a7
  sparc-64 v1 files/primary/sub-13/sam-3/sub-13_sam-3_P13-3ScaleMask.tif 605ca093eec6afa3534750dcbdd35f5fd49c93b288e058bda03fa864d0471564
  sparc-64 v4 files/primary/sub-13/sam-3/sub-13_sam-3_P13-3ScaleMask.tif 605ca093eec6afa3534750dcbdd35f5fd49c93b288e058bda03fa864d0471564
  sparc-64 v1 files/primary/sub-14/sam-2/sub-14_sam-2_P14-2FascMask.tif 14548bef47b8420c933001be6e07a5e142ef7c56d8476bc18cb17dc620c3b70e
  sparc-64 v4 files/primary/sub-14/sam-2/sub-14_sam-2_P14-2FascMask.tif 63d90b6cc426bb967e31e6920941abf3a5212e9c95dd1227e589f33da7a3ceb8
  sparc-64 v4 files/primary/sub-14/sam-2/sub-14_sam-2_P14-2NerveMask.tif 3ea2e748df0dbdd8629d9f434374a205a3282733b7261642238d1740d03e2bb6
  sparc-64 v1 files/primary/sub-14/sam-2/sub-14_sam-2_P14-2ScaleMask.tif a8f0b592e4bfdc2425f07329efe29446fd942d2f1007852623a4d224f455fdc5
  sparc-64 v4 files/primary/sub-14/sam-2/sub-14_sam-2_P14-2ScaleMask.tif a8f0b592e4bfdc2425f07329efe29446fd942d2f1007852623a4d224f455fdc5
  sparc-64 v1 files/primary/sub-14/sam-3/sub-14_sam-3_P14-3FascMask.tif 72aef862cd89268d6abfe904faca087b25a9671f7234c81e5d8e3d9bf0b30ba5
  sparc-64 v4 files/primary/sub-14/sam-3/sub-14_sam-3_P14-3FascMask.tif a4b1d6e7e27799d69b6621d17a3bb2206515cad79edbaf68b5d7a6eee2eb2294
  sparc-64 v4 files/primary/sub-14/sam-3/sub-14_sam-3_P14-3NerveMask.tif ea34586fe28accd579cedef2ca3e4e9ab1a66a62f1bfe8233373a378daffa950
  sparc-64 v1 files/primary/sub-14/sam-3/sub-14_sam-3_P14-3ScaleMask.tif 65df208a082f17c2807a9536dd751a5438ee746fa453f22b2da1afa0830b9f2b
  sparc-64 v4 files/primary/sub-14/sam-3/sub-14_sam-3_P14-3ScaleMask.tif 65df208a082f17c2807a9536dd751a5438ee746fa453f22b2da1afa0830b9f2b
  sparc-64 v1 files/primary/sub-15/sam-2/sub-15_sam-2_P15-2FascMask.tif 56b8b6d065e8be96e933a48fea1520f972968b6953091c963d290c7ce25bffdb
  sparc-64 v4 files/primary/sub-15/sam-2/sub-15_sam-2_P15-2FascMask.tif ec085f6f4ba6ae9de8422d036bbae96a5d0602f76562a999febb38cb48ce29e5
  sparc-64 v4 files/primary/sub-15/sam-2/sub-15_sam-2_P15-2NerveMask.tif 619d239bbe501bebca69c002b4d520436c2da5bd649b23214c60a4be482112ff
  sparc-64 v1 files/primary/sub-15/sam-2/sub-15_sam-2_P15-2ScaleMask.tif 54d5cc6e5586b01700e6b98f3bd2bfe8d1eba2a0fc82e03212ce52a3b6f20712
  sparc-64 v4 files/primary/sub-15/sam-2/sub-15_sam-2_P15-2ScaleMask.tif 54d5cc6e5586b01700e6b98f3bd2bfe8d1eba2a0fc82e03212ce52a3b6f20712
  sparc-64 v1 files/primary/sub-15/sam-3/sub-15_sam-3_P15-3FascMask.tif 77ebf84cc6a9e7d9c25a940826a3673b3b51f2e10fe86a2c7e6761fd0bbd8679
  sparc-64 v4 files/primary/sub-15/sam-3/sub-15_sam-3_P15-3FascMask.tif 77ebf84cc6a9e7d9c25a940826a3673b3b51f2e10fe86a2c7e6761fd0bbd8679
  sparc-64 v4 files/primary/sub-15/sam-3/sub-15_sam-3_P15-3NerveMask.tif 90e9c80288bc3717bdc94dcfe050db94e45bdfd6f79e2aab8c0bb83873d2bb38
  sparc-64 v1 files/primary/sub-15/sam-3/sub-15_sam-3_P15-3ScaleMask.tif 8ba43338eabbd2027d0a5cf071a898832c58c8942857419c40986d4b0aa82b7e
  sparc-64 v4 files/primary/sub-15/sam-3/sub-15_sam-3_P15-3ScaleMask.tif 8ba43338eabbd2027d0a5cf071a898832c58c8942857419c40986d4b0aa82b7e
  sparc-64 v1 files/primary/sub-4/sam-3/sub-4_sam-3_P4-3FascMask.tif 26e65b9b141a61adbf7227d3dfe7e946136cd17d14110547792e773bb2e16c13
  sparc-64 v4 files/primary/sub-4/sam-3/sub-4_sam-3_P4-3FascMask.tif 3d6f5ac7a0de70b7a88e21ca480d897cdea4b1221da5b030c50c2abdb51abea4
  sparc-64 v4 files/primary/sub-4/sam-3/sub-4_sam-3_P4-3NerveMask.tif bbb5e077bdb0a3dc5ccfa8df5530793c48e37495c97aeb58a2a0c522aa7b492e
  sparc-64 v1 files/primary/sub-4/sam-3/sub-4_sam-3_P4-3ScaleMask.tif e37453280a596ef1e8a2ca9211fee94a4894124c4222103915eb0a1f5524258c
  sparc-64 v4 files/primary/sub-4/sam-3/sub-4_sam-3_P4-3ScaleMask.tif e37453280a596ef1e8a2ca9211fee94a4894124c4222103915eb0a1f5524258c
  sparc-64 v1 files/primary/sub-5/sam-1/sub-5_sam-1_P5-1FascMask.tif 233b95f4799798d482f1a652ff623888d59dca6b5268b22e758f07398a376f01
  sparc-64 v4 files/primary/sub-5/sam-1/sub-5_sam-1_P5-1FascMask.tif e31f9e6e2291096fdff8dcb8a2c1a075488a5f9fece473bcf1b4853329291e80
  sparc-64 v4 files/primary/sub-5/sam-1/sub-5_sam-1_P5-1NerveMask.tif a21ced69309b2b864ec92e9937764e125ce908ca763a3160c9811b8886b8bcdd
  sparc-64 v1 files/primary/sub-5/sam-1/sub-5_sam-1_P5-1ScaleMask.tif 111cf6a6617e428e3a139711d5b408101ba136b6e2183e97537b4b2660567750
  sparc-64 v4 files/primary/sub-5/sam-1/sub-5_sam-1_P5-1ScaleMask.tif 111cf6a6617e428e3a139711d5b408101ba136b6e2183e97537b4b2660567750
  sparc-64 v1 files/primary/sub-5/sam-3/sub-5_sam-3_P5-3FascMask.tif faff8dd650bb0eb3201573eed4d66cc503cb42f2191ff690aa5fc619fb575bf0
  sparc-64 v4 files/primary/sub-5/sam-3/sub-5_sam-3_P5-3FascMask.tif 02756e8564947cb7004fcd799d7c27f0a8e8876f29358eb81577a66cfee81117
  sparc-64 v4 files/primary/sub-5/sam-3/sub-5_sam-3_P5-3NerveMask.tif 22a8c340b4063ae05b086b39d44783980e0138e775f5ca0ba1c6de96bfd9eec2
  sparc-64 v1 files/primary/sub-5/sam-3/sub-5_sam-3_P5-3ScaleMask.tif bd7ffcbc3633b115d0972c1eb5405bc791cfb49ae398f5bbc070631aecbb898f
  sparc-64 v4 files/primary/sub-5/sam-3/sub-5_sam-3_P5-3ScaleMask.tif bd7ffcbc3633b115d0972c1eb5405bc791cfb49ae398f5bbc070631aecbb898f
  sparc-64 v1 files/primary/sub-6/sam-7/sub-6_sam-7_P6-7FascMask.tif 20137a3c72db533bbf1739289acbf0dd74c2c8da5da0a8cdabccf274ca34b1bf
  sparc-64 v4 files/primary/sub-6/sam-7/sub-6_sam-7_P6-7FascMask.tif 20137a3c72db533bbf1739289acbf0dd74c2c8da5da0a8cdabccf274ca34b1bf
  sparc-64 v4 files/primary/sub-6/sam-7/sub-6_sam-7_P6-7NerveMask.tif 90915daea13fb0141ad5e0967b02a06637e024813e46fb62d01cd35a98518913
  sparc-64 v1 files/primary/sub-6/sam-7/sub-6_sam-7_P6-7ScaleMask.tif 0a2352d13d66b761d37efafc1695e829a99602adcfe08a3a5e216043b3827acf
  sparc-64 v4 files/primary/sub-6/sam-7/sub-6_sam-7_P6-7ScaleMask.tif 0a2352d13d66b761d37efafc1695e829a99602adcfe08a3a5e216043b3827acf
  sparc-64 v1 files/primary/sub-8/sam-1/sub-8_sam-1_P8-1FascMask.tif 3cd54b3652122075aadcf40bdf40c61d7faf29615c73de475c97159bb6010b0e
  sparc-64 v4 files/primary/sub-8/sam-1/sub-8_sam-1_P8-1FascMask.tif 3cd54b3652122075aadcf40bdf40c61d7faf29615c73de475c97159bb6010b0e
  sparc-64 v4 files/primary/sub-8/sam-1/sub-8_sam-1_P8-1NerveMask.tif 9370bb84f16e43ce14c5f7c51ab2d13401899325cedd637961c29d26e0dac6ba
  sparc-64 v1 files/primary/sub-8/sam-1/sub-8_sam-1_P8-1ScaleMask.tif c6bc2cc5c3176ad7231b0cfb477a4259bd3ef4269afb9ff0ab04c62e6ad50d7f
  sparc-64 v4 files/primary/sub-8/sam-1/sub-8_sam-1_P8-1ScaleMask.tif c6bc2cc5c3176ad7231b0cfb477a4259bd3ef4269afb9ff0ab04c62e6ad50d7f
  sparc-64 v1 files/primary/sub-8/sam-7/sub-8_sam-7_P8-7FascMask.tif e0002ea82c5e53407bdf40c40e3027f12d0887f04d9b517baaa16a497eb908b2
  sparc-64 v4 files/primary/sub-8/sam-7/sub-8_sam-7_P8-7FascMask.tif b49657b9d2911d1efafa71e80bcd7c71a0e0dac8029896168cbb1387e1358257
  sparc-64 v4 files/primary/sub-8/sam-7/sub-8_sam-7_P8-7NerveMask.tif de0d5f8832b062ceaba385e4fad1dbc669ad7a49d0d0892f35d638af33dd3a26
  sparc-64 v1 files/primary/sub-8/sam-7/sub-8_sam-7_P8-7ScaleMask.tif d4143e7ecb8d37f98bf76bd173b8b0b37b0652ee699121d569655543461e3224
  sparc-64 v4 files/primary/sub-8/sam-7/sub-8_sam-7_P8-7ScaleMask.tif d4143e7ecb8d37f98bf76bd173b8b0b37b0652ee699121d569655543461e3224
  sparc-64 v1 files/primary/sub-9/sam-3/sub-9_sam-3_P9-3FascMask.tif a7088a1dbae731a51373f5f7e21a0bccf3c7295a9abfb055897eb7c90689bbc3
  sparc-64 v4 files/primary/sub-9/sam-3/sub-9_sam-3_P9-3FascMask.tif 78cf95fe5d640f0ce8f2e1fe86159de46d65135dce66de1ac63522bfb9fdf556
  sparc-64 v4 files/primary/sub-9/sam-3/sub-9_sam-3_P9-3NerveMask.tif 3ac6277e6d6c4d4b5d4abdb119879f7b7e0a546613fff51df10f03b5463e1683
  sparc-64 v1 files/primary/sub-9/sam-3/sub-9_sam-3_P9-3ScaleMask.tif d820ff8325f5d6ea054c671265c168648bd3a8a96f8d734716a8ad2984098418
  sparc-64 v4 files/primary/sub-9/sam-3/sub-9_sam-3_P9-3ScaleMask.tif d820ff8325f5d6ea054c671265c168648bd3a8a96f8d734716a8ad2984098418
  sparc-64 v4 files/subjects.xlsx d17a3fc1b14a1c0832b9027c874c0416273054bf2b8a0c6089831f7101dc4ae8
  sparc-65 v8 files/code/CAbdominalAnteriorFemale.xlsx c7a40c802d8daef3dd07d0b763e270aa27b3056a3d35ac8c6a117394cef960c0
  sparc-65 v8 files/code/CAbdominalAnteriorMale.xlsx 49267f75608b410e44fae54bb0b3e93e2d568c93ecc1c3cea1176b6d7739eb5b
  sparc-65 v8 files/code/CCervicalLeftFemale.xlsx 42ee373265b755b24e3dcdc0e360b144b696491080886b2ab459699a0c990c83
  sparc-65 v8 files/code/CCervicalLeftMale.xlsx 30b4b87ecfd16a1690a48de9765064a667457fe338c2a50e7ddbfa0fcb36b1c5
  sparc-65 v8 files/code/DataPlotting_v4.m e1f9c743dd6a2544daa3702d590a5a64e42efbc57375016b6cd1d2a1533df4ad
  sparc-65 v8 files/code/Sunderland1984.mat e123fb20467cdd9368b8774ea88192d1f0b0416aa180c55c47ca25280b255abb
  sparc-65 v8 files/derivative/CadaverVNMorphology_OutputMetrics.mat 5cab90020913d9704ab5025c4d53df95e4820042626fa77b9a6d189c4df776d7
  sparc-65 v8 files/primary/sub-46/sam-2/sub-46_sam-2_C46-2NerveMask.tif 3a5f2a0b70091aa36a280d25d0d06fd440e07b1a95d44910f375265e2ef0ebde
  sparc-65 v8 files/primary/sub-46/sam-2/sub-46_sam-2_C46-2PeriExtMask.tif 67442b9020eb368d3533455f4f1871e2747e333192ab9069d09e9595a11f807d
  sparc-65 v8 files/primary/sub-46/sam-2/sub-46_sam-2_C46-2PeriInnerMask.tif 839066fd4ba55b403cb36b877f7b2add961187f971d5990bf57d2319432ee58f
  sparc-65 v8 files/primary/sub-46/sam-2/sub-46_sam-2_C46-2ScaleLength.mat 170785e855f9c84c1eee5ac85435591c86265314b53e37e75e3fcb4a2d09edfe
  sparc-65 v8 files/primary/sub-46/sam-2/sub-46_sam-2_C46-2ScaleMask.tif ff6239d3d01b56b3ec20776002e696f057c30e97051c495e21d7b8f93c5b130c
  sparc-65 v8 files/primary/sub-47/sam-2/C47-2NerveMask_AllTissue.tif 65f8f97c8508cc8dd3fe5ba67cbb620d87026b1d1af6a4e0ef07b6166a91fdac
  sparc-65 v8 files/primary/sub-47/sam-2/sub-47_sam-2_C47-2NerveMask.tif fd3f88597ffea5553d82ca11a606d6c976228bb3a0e63df137cfe6b95e43a2cc
  sparc-65 v8 files/primary/sub-47/sam-2/sub-47_sam-2_C47-2PeriExtMask.tif 82e5b3fa07727cc780b161e8d79f163a7dbce4949796f8e4abe5db1f01856dce
  sparc-65 v8 files/primary/sub-47/sam-2/sub-47_sam-2_C47-2PeriInnerMask.tif 74f6750779b1854e8344cb38a251e153d5c995babf09f9ab595509b615bf7256
  sparc-65 v8 files/primary/sub-47/sam-2/sub-47_sam-2_C47-2ScaleLength.mat bf56efb9ea683845ed1210d2a6a674897ec714bb84fc86946d9ef950b93c38bc
  sparc-65 v8 files/primary/sub-47/sam-2/sub-47_sam-2_C47-2ScaleMask.tif 32132d95f9c64168237f8a6efa57cdd75489a6a88047d7a7d00de8ae5cc02fc0
  sparc-65 v8 files/primary/sub-50/sam-2/sub-50_sam-2_C50-2NerveMask.tif 6cc71ae115436341005953362dcfbac5189b106892be3449f7eeb36ead9c905e
  sparc-65 v8 files/primary/sub-50/sam-2/sub-50_sam-2_C50-2PeriExtMask.tif 85db5b3b0a08bb6580fe6951fded3e36800e9fb55f9c139555c53222930be12b
  sparc-65 v8 files/primary/sub-50/sam-2/sub-50_sam-2_C50-2PeriInnerMask.tif 213b30fb416cc6be9a4fce1282f869e354d994284e162a5065afa52b80c9e684
  sparc-65 v8 files/primary/sub-50/sam-2/sub-50_sam-2_C50-2ScaleLength.mat b9cfb8cbdd87bc55c117ae82fee72d60088cb2d4dbb44090eae5458198429982
  sparc-65 v8 files/primary/sub-50/sam-2/sub-50_sam-2_C50-2ScaleMask.tif 49ce959ad2e9f2463154df70537a4a67365b3d7a6a14dbdf71b85371497657ee
  sparc-65 v8 files/primary/sub-53/sam-2/sub-53_sam-2_C53-2NerveMask.tif e2b8bab6f0db128c65889615559cda6784d86351560fbb0fb0c3483d852a9404
  sparc-65 v8 files/primary/sub-53/sam-2/sub-53_sam-2_C53-2PeriExtMask.tif 53b13a4542adf96bcb021b1d76db7b8e0cc9077659147fce2083a304e101bd0b
  sparc-65 v8 files/primary/sub-53/sam-2/sub-53_sam-2_C53-2PeriInnerMask.tif b3d570fdb07ad1a1d5c87cc1df9f39d5d86cfdb4921bc0435818ed9180484370
  sparc-65 v8 files/primary/sub-53/sam-2/sub-53_sam-2_C53-2ScaleLength.mat 87102aafec8e82c75a2a37c1ea253490fd769c2b716eae17a93793fbcc27e737
  sparc-65 v8 files/primary/sub-53/sam-2/sub-53_sam-2_C53-2ScaleMask.tif a2b07fc06d76f9476658394fec91792d1c779cc7841a478714ec1258f2fe19a8
  sparc-65 v8 files/primary/sub-54/sam-2/sub-54_sam-2_C54-2NerveMask.tif cf39069fde79630a252c04700d7baaa144b5f69c86ce44d5cd74b311bebf113f
  sparc-65 v8 files/primary/sub-54/sam-2/sub-54_sam-2_C54-2PeriExtMask.tif 47baf2905647355b9720ab543de72ab69901d66b8778e169a486134961aa7bd8
  sparc-65 v8 files/primary/sub-54/sam-2/sub-54_sam-2_C54-2PeriInnerMask.tif abdeadb769a80257054176b2991d07372a576523031e398ab3678d8cea3c15f3
  sparc-65 v8 files/primary/sub-54/sam-2/sub-54_sam-2_C54-2ScaleLength.mat f05015cdaba5abae0cd40e422bfbc0a3c9d27c1ff97820bec52da9a434b1b125
  sparc-65 v8 files/primary/sub-54/sam-2/sub-54_sam-2_C54-2ScaleMask.tif 2645b5361968f35b7034b49cb64a5a06d7a2beae5a23838853db7a74f306f880
  sparc-65 v8 files/primary/sub-54/sam-3/C54-3NerveMask_AllTissue.tif aa206db3e3eb73d9fe585abc50554979bd0afc5a1083c4936a97d7eac409af8e
  sparc-65 v8 files/primary/sub-54/sam-3/sub-54_sam-3_C54-3NerveMask.tif 8fbe42ff8428d4fbaa4d4f42828597e33107e68073d10c029c65c3ed19f2cf4c
  sparc-65 v8 files/primary/sub-54/sam-3/sub-54_sam-3_C54-3PeriExtMask.tif 2505b18d6d225dae72f6ce70c7819c132f695f44e0644f875086c68d14482f6a
  sparc-65 v8 files/primary/sub-54/sam-3/sub-54_sam-3_C54-3PeriInnerMask.tif fd3c583f9e0c9ebe57be01c72be8226958921e0854b73e518789ab02d6ff1d1b
  sparc-65 v8 files/primary/sub-54/sam-3/sub-54_sam-3_C54-3ScaleLength.mat 22a0f335e750bfd4bbcfc7c6b82e38a49a07dc4ef5ecdf2f35853afb08e90149
  sparc-65 v8 files/primary/sub-54/sam-3/sub-54_sam-3_C54-3ScaleMask.tif 0b8ae386552008c73dde4d6399ccb2136b6fd950682d5acde5e91de7e38bc46f
  sparc-65 v8 files/primary/sub-55/sam-3/C55-3NerveMask_AllTissue.tif 5a689cdab0a32e1ffe4ef19a5566b74094f057d619d4aceb2783c402ccbc4f91
  sparc-65 v8 files/primary/sub-55/sam-3/sub-55_sam-3_C55-3NerveMask.tif 84cbc55a537f1c64a4e1aa38e51dd5c3438e9ad2730a8b794e2190ae17f38acc
  sparc-65 v8 files/primary/sub-55/sam-3/sub-55_sam-3_C55-3PeriExtMask.tif bf22c671740f3290913bda446b77966e4de8d030f90dbd3b1f6f2049ce969abb
  sparc-65 v8 files/primary/sub-55/sam-3/sub-55_sam-3_C55-3PeriInnerMask.tif 6a0744bfe7e4fd04a07ee8776755934156587a3279d80d49f93ce0f169398e30
  sparc-65 v8 files/primary/sub-55/sam-3/sub-55_sam-3_C55-3ScaleLength.mat 951527058f4dc007b45fc0c48a12d7eb9a25245fd4445963d9bbf072fb52937f
  sparc-65 v8 files/primary/sub-55/sam-3/sub-55_sam-3_C55-3ScaleMask.tif 027a5d70c66522b974c4bd3a1ed33253683d523213fb784c7ede203aa014bd3c
  sparc-65 v8 files/primary/sub-56/sam-1/sub-56_sam-1_C56-1NerveMask.tif afc2bdf41caaf7fd9f04b233ff177fd30a67f98abf12071781c4a5687c8a3fb8
  sparc-65 v8 files/primary/sub-56/sam-1/sub-56_sam-1_C56-1PeriExtMask.tif fd96a6b756427043746c64cf55fdcaabcc415f5279c4058148603ba26c727e3b
  sparc-65 v8 files/primary/sub-56/sam-1/sub-56_sam-1_C56-1PeriInnerMask.tif ed0acedd04dca135e97bb56dbef11566724f52108f75cccbc69a8a37475c3a67
  sparc-65 v8 files/primary/sub-56/sam-1/sub-56_sam-1_C56-1ScaleLength.mat f05015cdaba5abae0cd40e422bfbc0a3c9d27c1ff97820bec52da9a434b1b125
  sparc-65 v8 files/primary/sub-56/sam-1/sub-56_sam-1_C56-1ScaleMask.tif 4825011245b98db45b5b65600241808f8bc1c83ea7c33e1d323f049c75984405
  sparc-65 v8 files/primary/sub-56/sam-3/sub-56_sam-3_C56-3NerveMask.tif 2d52947b15e90a2d04bfab2cd53c9aa84465c9cebd83c1ad714ae8e09a1a7764
  sparc-65 v8 files/primary/sub-56/sam-3/sub-56_sam-3_C56-3PeriExtMask.tif 7025cbf4f5608be89d8b3ef127b1e907b32654c5db8b6d5001b355d7769b8111
  sparc-65 v8 files/primary/sub-56/sam-3/sub-56_sam-3_C56-3PeriInnerMask.tif 81f7067410e32b7428f45cba12639eba0612e5eff8ac5fa96bf3e4caf894e1f8
  sparc-65 v8 files/primary/sub-56/sam-3/sub-56_sam-3_C56-3ScaleLength.mat 4a458e0daeaf334980ec17c5afdd0e7e2ccb255ce29c99424fe36efd9956fbea
  sparc-65 v8 files/primary/sub-56/sam-3/sub-56_sam-3_C56-3ScaleMask.tif 3184df12ff003b3e52c124c48ae3d9a869d434aa20cfc3c0b671984f2c68ffbd
  sparc-65 v8 files/primary/sub-57/sam-1/sub-57_sam-1_C57-1NerveMask.tif 56c132aa202afb2b5ff2cf8d537f486fa810bba07d6b61ee7ee4e3b5f543402d
  sparc-65 v8 files/primary/sub-57/sam-1/sub-57_sam-1_C57-1PeriExtMask.tif 047d595f8b0541c0c278d8c1093ed15c50b234fd40adb78c6f00842740cf4b01
  sparc-65 v8 files/primary/sub-57/sam-1/sub-57_sam-1_C57-1PeriInnerMask.tif 564633e4a636e8f86c23de321fd541c22411c5092c599b2d6561e1650d8b28fc
  sparc-65 v8 files/primary/sub-57/sam-1/sub-57_sam-1_C57-1ScaleLength.mat f05015cdaba5abae0cd40e422bfbc0a3c9d27c1ff97820bec52da9a434b1b125
  sparc-65 v8 files/primary/sub-57/sam-1/sub-57_sam-1_C57-1ScaleMask.tif 263d5f70d6d7ef1d6a253f1258ba4243a871c67bb4fd3101d2bde1654b3e1370
  sparc-65 v8 files/primary/sub-57/sam-3/sub-57_sam-3_C57-3NerveMask.tif 532df4704c150944b8ce4f9fb308329c5b710c3435e11d5506cb2b4221ca7ff2
  sparc-65 v8 files/primary/sub-57/sam-3/sub-57_sam-3_C57-3PeriExtMask.tif ae129f6d9f9f4e0dd8095ef1d79c97882b3a1500301512e754dc81bf9af82cb3
  sparc-65 v8 files/primary/sub-57/sam-3/sub-57_sam-3_C57-3PeriInnerMask.tif f393b032c8b3521c7daa04679d1d25662467bc93c89819670b8dbf91babf2650
  sparc-65 v8 files/primary/sub-57/sam-3/sub-57_sam-3_C57-3ScaleLength.mat bd507484b15dcc4277b88d0645cdcd8b78302a586c211a2b19a76e27642de40b
  sparc-65 v8 files/primary/sub-57/sam-3/sub-57_sam-3_C57-3ScaleMask.tif 3adc8b0ad531631d6871907a57a8f8c6570953779242ef707afdd0c067d3bc5c
  sparc-65 v8 files/primary/sub-58/sam-1/sub-58_sam-1_C58-1NerveMask.tif 39d327c949b7ec615a7515c46dbaf39ca3387140274e1153dad8efcecf5683b8
  sparc-65 v8 files/primary/sub-58/sam-1/sub-58_sam-1_C58-1PeriExtMask.tif 63d066915b153c32dcc5763d987dbb4673299f28746a24aa4d9079f72bb0d8aa
  sparc-65 v8 files/primary/sub-58/sam-1/sub-58_sam-1_C58-1PeriInnerMask.tif d2e098f14eb61383018082e3f76ef26f89592843edabffed428480f985bbea4f
  sparc-65 v8 files/primary/sub-58/sam-1/sub-58_sam-1_C58-1ScaleLength.mat f05015cdaba5abae0cd40e422bfbc0a3c9d27c1ff97820bec52da9a434b1b125
  sparc-65 v8 files/primary/sub-58/sam-1/sub-58_sam-1_C58-1ScaleMask.tif 5db80c88098464f5e0f72f00db4d6be226aa171e582179526303dd4466086cd8
  sparc-65 v8 files/primary/sub-58/sam-3/sub-58_sam-3_C58-3NerveMask.tif 19a4aa67b5178c2de90ff437d04b7348b80a8def2fe7c027da4808b6e052607b
  sparc-65 v8 files/primary/sub-58/sam-3/sub-58_sam-3_C58-3PeriExtMask.tif 264ab641b8d50b39042f76c5fe33b87abfdf095955a0c06954fbfd5f33fc364d
  sparc-65 v8 files/primary/sub-58/sam-3/sub-58_sam-3_C58-3PeriInnerMask.tif a5ba5318a5c7817047cd13497023275d8bb5aa09593d93227453faec9e1e7734
  sparc-65 v8 files/primary/sub-58/sam-3/sub-58_sam-3_C58-3ScaleLength.mat 38890994fa0b3c5424aa23b463ed54823f8f40b9ffef01c795ada9e273161212
  sparc-65 v8 files/primary/sub-58/sam-3/sub-58_sam-3_C58-3ScaleMask.tif 454f69c0152be03dab110e5fbd73a7c4ae1a274a95bed97cf015fe102fa2dcec
  sparc-65 v8 files/primary/sub-63/sam-1/C63-1NerveMask_AllTissue.tif 001e90cbed1c506676a9cd856137816ee47801e383b2e3e9df6abe7167479a73
  sparc-65 v8 files/primary/sub-63/sam-1/sub-63_sam-1_C63-1NerveMask.tif 3acf53cdfc9422bc9d9db37998350b78be99086c3fb98fb5c21353b1ad365e2e
  sparc-65 v8 files/primary/sub-63/sam-1/sub-63_sam-1_C63-1PeriExtMask.tif 3a5a484060f870e111b70e07dc1024fd13410d80491641b9c14c72e9df38c911
  sparc-65 v8 files/primary/sub-63/sam-1/sub-63_sam-1_C63-1PeriInnerMask.tif cab147cec55a66201fadfc32bf101203dcaef853a3699dcc595adea1c56d3ad6
  sparc-65 v8 files/primary/sub-63/sam-1/sub-63_sam-1_C63-1ScaleLength.mat f05015cdaba5abae0cd40e422bfbc0a3c9d27c1ff97820bec52da9a434b1b125
  sparc-65 v8 files/primary/sub-63/sam-1/sub-63_sam-1_C63-1ScaleMask.tif bd1668197a1935a2aebc7e863ab41e155f33aa8287973d03c42450437aebb9c5
  sparc-65 v8 files/primary/sub-64/sam-1/sub-64_sam-1_C64-1NerveMask.tif d255f216b553fdbbdf022ca337ab077473707430798e3b41b0208f87990cd683
  sparc-65 v8 files/primary/sub-64/sam-1/sub-64_sam-1_C64-1PeriExtMask.tif dea38ec2e02e03a22081a2834c08bb1dbca426fa44e7140c0f6f3a62ac393d20
  sparc-65 v8 files/primary/sub-64/sam-1/sub-64_sam-1_C64-1PeriInnerMask.tif a2f39aadfa8372e283df3a9d255e574beca5bd024d2efc4e0152a6ec557a6280
  sparc-65 v8 files/primary/sub-64/sam-1/sub-64_sam-1_C64-1ScaleLength.mat f05015cdaba5abae0cd40e422bfbc0a3c9d27c1ff97820bec52da9a434b1b125
  sparc-65 v8 files/primary/sub-64/sam-1/sub-64_sam-1_C64-1ScaleMask.tif a4f040e1f694a39776c08bd687a162d9c836df9cbd875480be46199d15388cb8
  sparc-65 v8 files/primary/sub-65/sam-1/sub-65_sam-1_C65-1NerveMask.tif 2f5d2b7c52a3889e34b089d872d39add9b5fbe239916bd073cbba3319e4878d1
  sparc-65 v8 files/primary/sub-65/sam-1/sub-65_sam-1_C65-1PeriExtMask.tif c1b85047f1a0816f6cf9ed7460797591488914d66c7168af2d0d3ed3efd4f5fc
  sparc-65 v8 files/primary/sub-65/sam-1/sub-65_sam-1_C65-1PeriInnerMask.tif a635b9ed54fcc5f410afc9aa7b9d3bff57a129d977d55bcc77866f1c4057e619
  sparc-65 v8 files/primary/sub-65/sam-1/sub-65_sam-1_C65-1ScaleLength.mat f05015cdaba5abae0cd40e422bfbc0a3c9d27c1ff97820bec52da9a434b1b125
  sparc-65 v8 files/primary/sub-65/sam-1/sub-65_sam-1_C65-1ScaleMask.tif 3153b066ed89b347670b088dea8bee17173ba23e7454bcb0d9ad578d12ded620
  sparc-65 v8 files/primary/sub-69/sam-1/sub-69_sam-1_C69-1NerveMask.tif 6ae7850ca8b4dd6126c39c2362c3a27a618bdef74d4590d91f3a4fa7a5253f5e
  sparc-65 v8 files/primary/sub-69/sam-1/sub-69_sam-1_C69-1PeriExtMask.tif a7198a64ff69bb5824cfc3df917141157cd64dc51e4adeb395b3e4c738407cba
  sparc-65 v8 files/primary/sub-69/sam-1/sub-69_sam-1_C69-1PeriInnerMask.tif 757cbd86d03d55df7f65d3ea32b383875d86a71bd3e699132fa644285ea2d006
  sparc-65 v8 files/primary/sub-69/sam-1/sub-69_sam-1_C69-1ScaleLength.mat f05015cdaba5abae0cd40e422bfbc0a3c9d27c1ff97820bec52da9a434b1b125
  sparc-65 v8 files/primary/sub-69/sam-1/sub-69_sam-1_C69-1ScaleMask.tif a4c98bfcff12b76fb416cbc21fed53b259deb8fad313fc368054c7a960ba2e40
  sparc-65 v8 files/primary/sub-70/sam-1/sub-70_sam-1_C70-1NerveMask.tif f7cad8742c722efa77ba41d40c0ae3f9ad232f455af6acf81e9acdb7f66eff25
  sparc-65 v8 files/primary/sub-70/sam-1/sub-70_sam-1_C70-1PeriExtMask.tif 29e2360afc29d6a74f505837492cec45f2497c557916b99d63990767cba5daa9
  sparc-65 v8 files/primary/sub-70/sam-1/sub-70_sam-1_C70-1PeriInnerMask.tif 2b6a69cb3250b345650d08eb14ef332ecb7042d68f5830e07bcfa1322520d6e1
  sparc-65 v8 files/primary/sub-70/sam-1/sub-70_sam-1_C70-1ScaleLength.mat f05015cdaba5abae0cd40e422bfbc0a3c9d27c1ff97820bec52da9a434b1b125
  sparc-65 v8 files/primary/sub-70/sam-1/sub-70_sam-1_C70-1ScaleMask.tif 782f33ebb8f1a2e854255355cd08e49375457416ba51883dad9db56720cff4c2
  sparc-65 v8 files/subjects.xlsx c67db9bf3396611e7355d1098e94f00b50fabcec53383653237c6682346fb2bf
  sparc-82 v1 files/derivative/sub-10/sam-1/sub-10sam-1P10-1Slide2p3MT10x.jp2 56930cddb41e8eb94d9630f9b59f7de17d85a6ffceca7dc64c1adbe1df71f7f6
  sparc-82 v1 files/derivative/sub-10/sam-2/sub-10sam-2P10-2Slide2p1MT10x.jp2 75cf29bcd322b0da634262e2fe564ca3688138fa99fedc57125a23f0a1c9934d
  sparc-82 v1 files/derivative/sub-10/sam-4/sub-10sam-4P10-4Slide2p2MT10x.jp2 268244b6b7be1ce1e0c5ca1c6a960b703f765ab939e5cd916fe266581d56abd7
  sparc-82 v1 files/derivative/sub-11/sam-1/sub-11sam-1P11-1Slide2P1_10x.jp2 61a4d18abfa4ae08d86418be6c787d30481177bba428386a83e67717d2ed2f1b
  sparc-82 v1 files/derivative/sub-11/sam-2/sub-11sam-2P11-2Slide14P1_10x.jp2 1ea2b57bbc0c79bf3b7ff0e73c967105d9de2ba4bb5a5909235b1b458fbc1f3b
  sparc-82 v1 files/derivative/sub-11/sam-3/sub-11sam-3P11-3Slide2P1_10x.jp2 8e0d1a7e0589e5680b5a7c23e9321d8254f208803436f64af2c870f605ed6d3b
  sparc-82 v1 files/derivative/sub-11/sam-4/sub-11sam-4P11-4Slide2P1_10x.jp2 e242a96d02a51379d3731198faa4db970a00b8582fc44c4e6ba2d949a35d3030
  sparc-82 v1 files/derivative/sub-12/sam-1/sub-12sam-1P12-1Slide2P1_10x.jp2 7e6919f930ef46097cc5eadec7dc0a9c40eb5399df29c25246abd55e7bb87f63
  sparc-82 v1 files/derivative/sub-12/sam-2/sub-12sam-2P12-2Slide2P3_10x.jp2 8e9dd6950dace11da30713ac0655393982ed34d2f1b327345c66fb3b89b3c379
  sparc-82 v1 files/derivative/sub-12/sam-3/sub-12sam-3P12-3Slide2P2_10x.jp2 d8800d6d1cc0dd2c569ae18880961f73232c7bb428802e13242aa5512db3d772
  sparc-82 v1 files/derivative/sub-12/sam-4/sub-12sam-4P12-4Slide2P1_10x.jp2 581cc729f7a475dc050f326a4429d7bea2682ede42b100aec0c2f44b58e4cb42
  sparc-82 v1 files/derivative/sub-13/sam-1/sub-13sam-1P13-1Slide2P4_10x.jp2 9938614b22a4fffc3fe33941361ec63f6e61a9ed8ca0bdbc91d1ae7a97095ec3
  sparc-82 v1 files/derivative/sub-13/sam-2/sub-13sam-2P13-2Slide2P2_10x.jp2 2a2343b962b99423e618d5aee680585fac2e5d8924f8d1cd99ed087953c560df
  sparc-82 v1 files/derivative/sub-13/sam-3/sub-13sam-3P13-3Slide2P3_10x.jp2 80940565f2bdea71c46fcf6a2378a0fc03fb112b9565b85b22c98d28bf1fa1a3
  sparc-82 v1 files/derivative/sub-13/sam-4/sub-13sam-4P13-4Slide14P2_10x.jp2 c8537eee966719fc2bb5e33bf4b54e50de8899ca5a69392f03ae530531277f1f
  sparc-82 v1 files/derivative/sub-14/sam-1/sub-14sam-1P14-1Slide14P2MT10x.jp2 59813dfc5037fa74f99977e2ddaeb68ec428e1854adfaffef316574155cda013
  sparc-82 v1 files/derivative/sub-14/sam-2/sub-14sam-2P14-2Slide2P1MT10x.jp2 caeed824c11e5f907dc0e83c26bfb172cef39342e9a2111b25a52159170b15df
  sparc-82 v1 files/derivative/sub-14/sam-3/sub-14sam-3P14-3Slide2P3MT10x.jp2 eaebe9ab208cfb350978d58abc4e16abd1190f08f69b4de7b90c96ace082f278
  sparc-82 v1 files/derivative/sub-14/sam-4/sub-14sam-4P14-4Slide2P3MT10x.jp2 7fd8a56389c3deeb111b646d7f21fa22ce34691ae5a6fe0eaad8d92685a1fd1b
  sparc-82 v1 files/derivative/sub-15/sam-1/sub-15sam-1P15-1Slide2P3MT10x.jp2 db91d6e70de823b99335bc88ed17a16a0a0877bca5e2b4ed89d32075f56159cd
  sparc-82 v1 files/derivative/sub-15/sam-2/sub-15sam-2P15-2Slide2P2MT10x.jp2 97f983a2d69382784bf8c6e3ec2764239a733c0a07837d99d0fd79417c0ec121
  sparc-82 v1 files/derivative/sub-15/sam-3/sub-15sam-3P15-3Slide4P14MT10x.jp2 96cfd002fb5aacb864df8d8072c9a5bdcd5fde4eae54bb567d674fd44c1bf915
  sparc-82 v1 files/derivative/sub-15/sam-4/sub-15sam-4P15-4Slide2P3MT10x.jp2 dd7a1a0e34bcfa3f10f2fe19d1752d6b3f722ec3e08e8141138abb576e00354b
  sparc-82 v1 files/derivative/sub-4/sam-2/sub-4sam-2P4-2Slide2p2_10x.jp2 9cf70ae4f17920fb9c0fb431a0ff1168d7d2e159f9f8d006dba84841bf7411c7
  sparc-82 v1 files/derivative/sub-4/sam-3/sub-4sam-3P4-3Slide2p1_10x.jp2 f7427f32c7ad90a3d99633f3ff267d20a4a3cf9fe4d8cd0ae1ef38edbaef8dd8
  sparc-82 v1 files/derivative/sub-4/sam-4/sub-4sam-4P4-4Slide2P1MT10x.jp2 0ad5017b0c1e4199985ec32f4bf2491b240185ec566f54888017f8d569e6636f
  sparc-82 v1 files/derivative/sub-5/sam-1/sub-5sam-1P5-1Slide2p2_10x.jp2 659b812c5ee2066af1f096e9312bf2803ffa460930a244a0ae93fa170a05f037
  sparc-82 v1 files/derivative/sub-5/sam-2/sub-5sam-2P5-2Slide2p3_10x.jp2 a738db939a102aeb3ffc212c9de1fa2afdbda270cd8d2c26a39372df19ef16a2
  sparc-82 v1 files/derivative/sub-5/sam-3/sub-5sam-3P5-3Slide2p1_10x.jp2 430ff87f9529340bb9b9ff35228291853b56aae7c5c56135bfe45a1f9a8d90dc
  sparc-82 v1 files/derivative/sub-5/sam-4/sub-5sam-4P5-4Slide2p3_10x.jp2 c78d119706f1bbfc6ca0718a826bbe689ba780dcd43607d753b9f2ee63141e43
  sparc-82 v1 files/derivative/sub-6/sam-1/sub-6sam-1P6-1Slide2p3_10x.jp2 552a42288b987b8c05defefea9239b4dfdfa103f109234497cdcd97d869365cd
  sparc-82 v1 files/derivative/sub-6/sam-3/sub-6sam-3P6-3Slide2p3_10x.jp2 cc533772f69b8607d3b1cdf73ab9fd6a2e91e58ae2176de63038bcf2f37bd06b
  sparc-82 v1 files/derivative/sub-6/sam-5/sub-6sam-5P6-5Slide2p1_10x.jp2 530064590279d47cf5fb95d58141f5296e2fff098f3936111aa23569fada7e8f
  sparc-82 v1 files/derivative/sub-6/sam-7/sub-6sam-7P6-7Slide2p3_10x.jp2 c23bd57cd8209712f1cd6bf815451c255669e22d521fbbea2662c1cc5563e13d
  sparc-82 v1 files/derivative/sub-7/sam-1/sub-7sam-1P7-1Slide2p3_10x.jp2 d5e8d221e4192382ff1bc58adb1d46ed5d4d291554935bd838314452e5a213af
  sparc-82 v1 files/derivative/sub-7/sam-3/sub-7sam-3P7-3Slide2p3_10x.jp2 7db59208fa37ec6bb2adaec0840baf0643f7a2d67b312b2bbb8b36e8b9333e58
  sparc-82 v1 files/derivative/sub-7/sam-5/sub-7sam-5P7-5Slide2p1_10x.jp2 ab138beff34c2d9df45e993c5a6cff87e7c68e542326398eb8df328e9c2b653a
  sparc-82 v1 files/derivative/sub-8/sam-1/sub-8sam-1P8-1Slide2p3_10x.jp2 758862452973d5d6308454a5dd8378df2efb321fb87c4328a8166b0df66efadb
  sparc-82 v1 files/derivative/sub-8/sam-3/sub-8sam-3P8-3Slide2p4_10x.jp2 92802ba07ce8b52d5f7e93ea91e5957130ace78539493cd4ffd4e3b497274653
  sparc-82 v1 files/derivative/sub-8/sam-5/sub-8sam-5P8-5Slide2p3_10x.jp2 a4e58e4be86d284a1766ddda2ecd66540fedb12eff37230a0f3e0990a6cdde3d
  sparc-82 v1 files/derivative/sub-8/sam-7/sub-8sam-7P8-7Slide2p1_10x.jp2 05bd842604253f4cfe99499f439edee58ec4f9523060ba15eabfe527405c7043
  sparc-82 v1 files/derivative/sub-9/sam-1/sub-9sam-1P9-1Slide2p2MT10x.jp2 7d79d35c6d0c990ffa0a087929e6722cdf9521a39766139052abd3f78234d745
  sparc-82 v1 files/derivative/sub-9/sam-2/sub-9sam-2P9-2Slide2p3MT10x.jp2 ce3c2f70aabe09befcb2e4f3ec5fc8c329501038539244c420a96860c77a6517
  sparc-82 v1 files/derivative/sub-9/sam-3/sub-9sam-3P9-3Slide2p3MT10x.jp2 db718a265c144cd653f32e4229822fe30b9fd2a0a93cf80a727ef34d43d7896d
  sparc-82 v1 files/derivative/sub-9/sam-4/sub-9sam-4P9-4Slide2p4MT10x.jp2 c83d1fc923f67866efbb6ad8898ca489c9d0a4fa6e05d1c4cca0289af6b5f589
  sparc-82 v1 files/samples.xlsx ad957e9d094ea08a83c1eb725959c0218a5b3d86373075d978c99de7d0831f81
  sparc-82 v1 files/subjects.xlsx 59305122ebd66f2ac0036a4d1da7e55484d5af68d291447072f4455b6ec1354e
  sparc-89 v1 files/code/PigIFMorphology.mat 642e99a4e9c38ca54b42b5b3fdfde070c99650cb33848e9c691ab92cac61338b
  sparc-89 v1 files/primary/sub-11/sam-1/sub-11_sam-1_P11-1NerveMask.tif b169aa00a06eb918fee5f64102ba7bafbe42d21e550c01cbe76e5d383f1f72e5
  sparc-89 v1 files/primary/sub-11/sam-1/sub-11_sam-1_P11-1PeriExtMask.tif 3b169d747f80dda32188f85cc26c7ec7cd9339a973960a680a83d22e0eb42707
  sparc-89 v1 files/primary/sub-11/sam-1/sub-11_sam-1_P11-1PeriInMask.tif 5e6063afef964689170e8a2691b98a68461d228f46bcbee94cd1f0ac1294ba3e
  sparc-89 v1 files/primary/sub-11/sam-1/sub-11_sam-1_P11-1ScaleMask.tif e0e54dcbb3a7887d36a52dd095fffe3d6145bf0de10b0a56bdf763d206775f86
  sparc-89 v1 files/primary/sub-12/sam-1/sub-12_sam-1_P12-1NerveMask.tif b7b30ab1fb0429753203e9fc4a203070ca1f8a505bdec7476b6cf92308030ac4
  sparc-89 v1 files/primary/sub-12/sam-1/sub-12_sam-1_P12-1PeriExtMask.tif 54fa72742a1a83177f56175d5658a4a9a35818fca4b9b85c2f2e76563e97b901
  sparc-89 v1 files/primary/sub-12/sam-1/sub-12_sam-1_P12-1PeriInMask.tif 2df14627d9f0895acef36b5d080d60a7e8603ef77dce9c03b6af0b3d68e275a5
  sparc-89 v1 files/primary/sub-12/sam-1/sub-12_sam-1_P12-1ScaleMask.tif 929405ab6fd628f97cd3796499845505f2cc139832468cbffb0a7717fbcd0e8a
  sparc-89 v1 files/primary/sub-12/sam-3/sub-12_sam-3_P12-3NerveMask.tif 8b68918321fe5ea0c36d83200fd2df4ac812f6da2afa98a475765b792f89d743
  sparc-89 v1 files/primary/sub-12/sam-3/sub-12_sam-3_P12-3PeriExtMask.tif 96c97c79f4155d1dcf047a3e4d172d11ee91a07a75588fdfae52d48d1bb231e7
  sparc-89 v1 files/primary/sub-12/sam-3/sub-12_sam-3_P12-3PeriInMask.tif 4eff32af65e995004a0ffeace12830d3f0a1da98d42d05c2a122ddf8acd405d7
  sparc-89 v1 files/primary/sub-12/sam-3/sub-12_sam-3_P12-3ScaleMask.tif a89ce0aa94caca47825f40b8f6123bb0ac7b601e8631e0c69e8fcee3dd4bbea7
  sparc-89 v1 files/primary/sub-13/sam-3/sub-13_sam-3_P13-3NerveMask.tif 82170be30bfca98fc9a0defdd0ecf62e773515c4e646701628ecf9e19b579ec4
  sparc-89 v1 files/primary/sub-13/sam-3/sub-13_sam-3_P13-3PeriExtMask.tif 75960dab55ae50f5bd356f11ddf7d5accb1fb695326fb38a72cb57b406d4b20c
  sparc-89 v1 files/primary/sub-13/sam-3/sub-13_sam-3_P13-3PeriInMask.tif 45b9c18e24e654676e0bbb2d8b5efaf94db194dc1bf1628e1f3cecc463f0cf14
  sparc-89 v1 files/primary/sub-13/sam-3/sub-13_sam-3_P13-3ScaleMask.tif dd33f30451b8021094a35bbb556cda824924c031ea57df6d85fca522379a60c0
  sparc-89 v1 files/primary/sub-14/sam-2/sub-14_sam-2_P14-2NerveMask.tif d5f87ffe07cd14bf6d4e76d36e86a65c840949f5c30ad204954db87225914ade
  sparc-89 v1 files/primary/sub-14/sam-2/sub-14_sam-2_P14-2PeriExtMask.tif 125dde101022ad0330409d6e9c4013289f7e0168581754d2db991286a68e5978
  sparc-89 v1 files/primary/sub-14/sam-2/sub-14_sam-2_P14-2PeriInMask.tif 3397cbd0656c5befc9459ea11cc9338b67da10143dd6342c4479c925d2bdbb87
  sparc-89 v1 files/primary/sub-14/sam-2/sub-14_sam-2_P14-2ScaleMask.tif 804dd8cbc46c6011f00ea9b63c19e8bb798955e1d5bb7c6ce839fcef0b94b90d
  sparc-89 v1 files/primary/sub-14/sam-3/sub-14_sam-3_P14-3NerveMask.tif ddc7428a28def2363f619d7ee601f76671f98360ff48ade23c12dd49db3adc42
  sparc-89 v1 files/primary/sub-14/sam-3/sub-14_sam-3_P14-3PeriExtMask.tif 4de463911b0e8dd1c8ae5d5f66f00ea3cc7de887b48e8788ba3ed324ad8ea54a
  sparc-89 v1 files/primary/sub-14/sam-3/sub-14_sam-3_P14-3PeriInMask.tif d6673391c0af9b2312345f6dae366cd4df2ba9eb389046a91a19530b989acb7c
  sparc-89 v1 files/primary/sub-14/sam-3/sub-14_sam-3_P14-3ScaleMask.tif 8d166994a832654350e7fada26f9771a3588ba08909e87aa6ff80009a5aabaf4
  sparc-89 v1 files/primary/sub-15/sam-3/sub-15_sam-3_P15-3NerveMask.tif 75a7dc840f043f836a9c58b1539acefa1ec352fad4b78f513669bf8882666bbe
  sparc-89 v1 files/primary/sub-15/sam-3/sub-15_sam-3_P15-3PeriExtMask.tif 69f875a338d19d39d17ac8d25e84c7ca3ff189d436b2caec763efaea801634fd
  sparc-89 v1 files/primary/sub-15/sam-3/sub-15_sam-3_P15-3PeriInMask.tif b0baa8be80e9f0a99e2c247991051c067bbccb5aba9c360e0b9d9283b1f1860b
  sparc-89 v1 files/primary/sub-15/sam-3/sub-15_sam-3_P15-3ScaleMask.tif 0dd3fd92bf3e4aa494e7aca7d1737c243e0bdccff4e4ef9a921104d6979904e9
  sparc-89 v1 files/primary/sub-9/sam-3/sub-9_sam-3_P9-3NerveMask.tif dbdcc966ac885308ac92386dcd857b1704d5ddf1426aad06efba2cf4d09b0d6a
  sparc-89 v1 files/primary/sub-9/sam-3/sub-9_sam-3_P9-3PeriExtMask.tif 953e655d86e8da8f66d4b8885a5cd4b8a46a7b0d540871ec01d7eb720f4dffbc
  sparc-89 v1 files/primary/sub-9/sam-3/sub-9_sam-3_P9-3PeriInMask.tif eefba2fe3d7fc0c43167fadb645ace090f6e68fd566c4ac6abffc95eba254a43
  sparc-89 v1 files/primary/sub-9/sam-3/sub-9_sam-3_P9-3ScaleMask.tif d1501a15db5da516dfa48063033a69c678cded3c1243e7681d1ef3cac7ee98da
  sparc-89 v1 files/samples.xlsx 4e718259978ed413e940d2d4639b0f0692342c754cd1bf337d6c82a0ef3626c2

SummaryΒΆ

Claim Outcome
rat-sample-set, human-sample-set, pig-mt-sample-set, pig-if-sample-set, mt-micrograph-collections reproduced
nerve-diameter-anova reproduced (unbounded variance, JMP's default)
human-pig-nerve-diameter-similar, rat-nerve-diameter, rat-ten-times-smaller, nerve-cervical-larger reproduced
fascicle-number-human-pig, rat-subdiaphragmatic-multifascicular, rat-multifascicular-proportions reproduced
fascicle-diameter-anova, rat-fascicle-diameter, cervical-fascicle-diameter-species, subdiaphragmatic-fascicle-diameter-comparable, fascicles-larger-cervical reproduced
rat-diameter-like-fascicle, human-pig-tissue-proportions, pig-if-endoneurium-lower, rat-level-ratios, human-pig-level-ratios, human-variability, pig-oblong-human-round reproduced
human-subdiaphragmatic-fatty-tissue not reproduced (by eye; pig nerve traces also hold fat)
pig-cervical-cell-bodies reproduced (by eye)
rat-carotid-sheath-bundles reproduced (by eye at full resolution; at most six bundles, R24-3)
literature-comparison-human-pig partially reproduced (9 of 12 parts; literature values from DataPlotting_v4.m)
rat-literature-comparison partially reproduced (subdiaphragmatic larger; 1 of 3 cervical values within the SD)
perineurium-species-order, perineurium-ratio-decreases, human-perineurium-fit, pig-perineurium-fit, rat-perineurium-fit, perineurium-thicker-larger-fascicles reproduced
perineurium-no-level-difference not reproduced (human and pig fits differ between levels on the criterion's tests; human also with sample clustering)
sunderland-reanalysis reproduced
rat-perineurium-near-3-percent, human-pig-perineurium-thicker, pig-if-mt-consistent reproduced
peanut-fascicle-counts partially reproduced (pig cervical: 57 bundles in 24 peanut fascicles, not 25)
no-age-trend not reproduced (3 of 27 uncorrected Pearson tests below 0.05, all pig; none after correction)

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 mixed models are refitted in Python by REML with Kenward-Roger degrees of freedom, JMP's method, implemented here and checked on balanced designs and, by finite differences, on the unbalanced fascicle fit, though not against JMP; F values come within 0.2 to 9% of the paper's and p values agree in significance, though the per-species fascicle contrasts of pigs and rats are weaker than the paper's (fascicles-larger-cervical). Morphometry follows the paper's deposited MATLAB code, emulated (boundary areas by Pick's theorem, with object traces 8-connected and hole traces 4-connected as bwboundaries makes them, masks stored as MinIsWhite inverted as MATLAB reads them); the human values match the deposited output file exactly. The rat fascicle the criteria name, the largest, differs in two samples from the one the paper's code keeps, the first in bwboundaries order, which reproduces the paper's rat values; both are shown. Three claims are judged by eye on the JPEG 2000 derivatives, now at full resolution where the readings matter, and two no-difference claims rest on tests the paper does not name. The literature values come from the paper's plotting code, as Supplement 4 was not available.

What was found about the datasets. The rat traces of sparc-60 changed between version 1 and version 2 (outer perineurium boundaries moved inward); the paper's perineurium results match the current traces, while the output metrics file deposited in sparc-60 and sparc-65 was computed from version 1, and gives the connective tissue boundary as the nerve diameter of the three multifascicular rat samples. The pig fascicle diameters in that file are about 1.4 times those measured from the pig masks and reported in the paper, by a factor that varies between fascicles, and its pig fascicle counts are those of the version 1 pig masks in all 18 samples. Several binary masks are stored with photometric MinIsWhite, so that readers that take the raw bits get inverted masks. sparc-60's readme gives the rats' ages as 65 to 268 days, the subjects sheet 75 to 268. In sparc-61 the micrograph of C48-2 is filed under sub-48/sam-2, which has no row in samples.xlsx, while the sheet lists sub-48/sam-1 with no file; copies of C51-3 and C63-1 are also filed under other subjects' folders. About the paper: its code keeps the first rat fascicle where the Methods say the largest.