Skip Navigation
Skip to contents

J Pathol Transl Med : Journal of Pathology and Translational Medicine

OPEN ACCESS
SEARCH
Search

Articles

Page Path
HOME > J Pathol Transl Med > Forthcoming articles > Article
Original Article
Digital image analysis–based quantification of p53 immunohistochemistry in gastric cancer: a systematic comparison of three-tier cutoff-derivation strategies in tissue microarrays
Jaeyoung Ahn1orcid, Kyungeun Kim1,2orcid, Hee-Jung Yang3orcid, Boram Song1orcid, Dong Hoon Kim1orcid, Yumin Chung1orcid, Seoung Wan Chae1orcid

DOI: https://doi.org/10.4132/jptm.2026.08.13
Published online: October 19, 2026

1Department of Pathology, Kangbuk Samsung Hospital, Sungkyunkwan University School of Medicine, Seoul, Korea

2Pathology Center, Seegene Medical Foundation, Seoul, Korea

3Department of Pathology, Keimyung University Dongsan Medical Center, Daegu, Korea

Corresponding Author: Seoung Wan Chae, MD, PhD Department of Pathology, Kangbuk Samsung Hospital, Sungkyunkwan University School of Medicine, 29 Saemunan-ro, Jongno-gu, Seoul 03181, Korea Tel: +82-2-2001-1935, Fax: +82-2-2001-2398, E-mail: swan.chae@samsung.com
Yumin Chung, MD, PhD Department of Pathology, Kangbuk Samsung Hospital, Sungkyunkwan University School of Medicine, 29 Saemunan-ro, Jongno-gu, Seoul 03181, Korea Tel: +82-2-2001-2389, Fax: +82-2-2001-2398, E-mail: umin0501@naver.com
• Received: March 23, 2026   • Revised: August 11, 2026   • Accepted: August 13, 2026

© The Korean Society of Pathologists/The Korean Society for Cytopathology

This is an Open Access article distributed under the terms of the Creative Commons Attribution Non-Commercial License (https://creativecommons.org/licenses/by-nc/4.0) which permits unrestricted non-commercial use, distribution, and reproduction in any medium, provided the original work is properly cited.

  • 64 Views
  • 3 Download
  • Background
    p53 immunohistochemistry (IHC) is a common surrogate for TP53 alteration, but in gastric cancer, its concordance is imperfect and depends on a non-standardized cutoff. Digital pathology enables H-score quantification, yet neither its reproducibility nor the choice of cutoff-derivation strategy has been systematically compared.
  • Methods
    A semi-automated digital workflow quantified p53 IHC in tissue microarrays from 528 gastric cancer patients. Tumor cells were detected with a deep-learning model (InstanSeg), and nuclear staining was expressed as a continuous H-score (0–300). Reproducibility was assessed at each observer-dependent step. Five thresholding strategies were compared: manual cutoffs, tertiles, log-rank optimization, the extended Youden index, and volume under the receiver operating characteristic surface (VUS). The latter two strategies used the manual three-tier IHC interpretation as the reference standard.
  • Results
    Quantification was reproducible: two independent manual interpretations agreed in 91.7% of cores (κ = 0.845). The H-score was robust to the detection algorithm (intraclass correlation coefficient, 0.990) and to repeated threshold determination (0.954). H-scores were right-skewed (median, 45.5), and the strategies yielded distinct cutoffs (8.0–27.6 and 78.6–106.0). Log-rank optimization provided the widest separation but lost significance after multiplicity adjustment (p = .168). The extended Youden and VUS cutoffs were statistically indistinguishable. As a supporting check, all classifications showed nominal overall-survival separation, with low and overexpression faring similarly worse than wild-type.
  • Conclusions
    Digital p53 IHC quantification was reproducible at each observer-dependent step. The extended Youden and VUS criteria performed equivalently; therefore, we propose Youden as a reasonable default, pending validation and TP53 correlation.
Gastric cancer remains the fifth most frequently diagnosed malignancy and the fifth leading cause of cancer-related mortality worldwide, according to 2022 global statistics [1]. The tumor suppressor gene TP53 is among the most frequently mutated genes in this malignancy [2]. As a central regulator of cell cycle arrest, DNA repair, and apoptosis, the loss of normal p53 function is a critical hallmark of carcinogenesis [3,4].
Aberrant p53 immunohistochemical phenotypes, particularly the complete null-type and diffuse nuclear overexpression patterns, correlate with TP53 mutational status in gastric adenocarcinoma and can serve as a putative molecular surrogate. However, the concordance is imperfect and varies with the immunohistochemical positivity cutoff and the molecular-histologic subtype [5-10]. These alterations are frequently, though not invariably, associated with more aggressive tumor behavior and a less favorable prognosis, and the strength of this association can vary by tumor type [11,12]. Therefore, precise evaluation of p53 status is important for understanding tumor biology and informing prognosis.
Historically, the status of the p53 protein has been assessed using immunohistochemistry (IHC), with pathologists manually examining samples under a microscope. In clinical practice, p53 IHC results are usually classified into three categories: “null” (no staining), “wild-type” (scattered, weak-to-moderate staining), and “overexpression” (widespread, strong nuclear staining) [13-16]. However, this conventional methodology is subject to significant limitations. Visual assessment is inherently subjective, leading to substantial inter-observer variability, particularly when distinguishing weak staining intensities [17]. Manual grading also often depends on arbitrary thresholds, such as 10%, 50%, or 60% positivity in tumor cells [12,18-20]. This lack of standardized and objective criteria hinders the reproducibility of p53 assessments.
With whole-slide imaging, computational pathology, and automated image analysis, researchers can quantify biomarker expression with high precision and reproducibility [21,22]. Open-source platforms like QuPath [23] enable cell-by-cell detection, classification, and quantification of individual cell staining intensity. This allows for the calculation of continuous metrics like the H-score, which combines staining intensity with the percentage of positive tumor cells. Such an approach significantly reduces the subjectivity associated with manual scoring and offers a reproducible alternative to the arbitrary cutoffs that hinder p53 assessment [24].
Despite these technological advances, a major gap remains in the application of quantitative digital pathology for p53 assessment in gastric cancer. Although modern algorithms can efficiently generate H-scores, there is no widely accepted method for translating these continuous values into clinically useful categories. Previous studies have relied on study-specific cutoffs derived from individual cohorts [25,26], which may lack generalizability or biological intuition. Furthermore, the reproducibility of such digital workflows—across cell-detection algorithms, intensity-threshold determinations, and observers—has rarely been quantified.
To address this deficiency, we analyzed a clinically annotated cohort of 528 gastric cancer patients, assembled on tissue microarrays, to perform a digital assessment of nuclear p53 expression. We applied a semi-automated workflow to calculate p53 H-scores and subsequently evaluated five distinct strategies for defining expression cutoffs: manual H-score cutoffs, tertile-based statistical distribution, exhaustive log-rank survival optimization, an extended Youden index for three-group classification, and a three-dimensional receiver operating characteristic (ROC) surface (volume under the ROC surface [VUS]) method.
The aim of this study was to establish a framework for translating continuous p53 H-scores into three-tier categories. We achieved this by systematically comparing five cutoff-derivation strategies and assessing the reproducibility of the workflow. Survival stratification was used as a supporting check of the resulting cutoffs, rather than as the primary endpoint.
Patient cohort and tissue microarray construction
The study population comprised patients who underwent curative gastrectomy for primary gastric adenocarcinoma at Kangbuk Samsung Hospital between January 2011 and December 2014. All patients received either a total or subtotal gastrectomy. From an initial pool of 616 consecutive patients, 54 cases were excluded because their corresponding tissue microarray (TMA) cores contained no tumor (e.g., only normal mucosa), leaving 562 evaluable tumor-bearing cores. Since survival data are used only by the log-rank–optimized cutoff among the five strategies, an additional 17 cases with no survival or follow-up data were excluded. This ensured that all methods could be derived and compared on an identical cohort. Finally, 17 cores with fewer than 100 detected tumor cells by either the InstanSeg or Legacy classifier were excluded to ensure reliable H-score quantification [24]. The final analytic cohort therefore consisted of 528 gastric cancer cases (patient flow: 616 → −54, no tumor → −17, no survival data → −17, <100 detected tumor cells → 528) (Supplementary Fig. S1). The cohort included 209 patients with advanced gastric cancer (AGC; 39.6%) and 319 patients with early gastric cancer (EGC; 60.4%). The mean age at surgery was 60.4 ± 12.4 years (range, 29 to 91 years), with a male predominance (359 men, 68.0%; 169 women, 32.0%). Detailed clinicopathologic variables (TNM stage, histologic grade, resection margin status, etc.) were extracted from the hospital’s prospectively maintained cancer registry. The median follow-up duration was 60.5 months (range, 0.3 to 103.9 months; mean ± standard deviation, 55.1 ± 26.0 months).
Representative tumor regions were identified on the corresponding hematoxylin and eosin slide. From each case, a single cylindrical core of 2.0 mm diameter was taken and arrayed into recipient blocks, each accommodating up to 60 cases.
Immunohistochemical staining for p53
Formalin-fixed, paraffin-embedded TMA blocks were sectioned at 4 µm, mounted on glass slides, and baked at 60°C for 1 hour to ensure tissue adherence. Immunostaining for p53 was performed on a Leica BOND-III automated staining platform (Leica Biosystems, Wetzlar, Germany), which carried out on-board dewaxing, heat-induced epitope retrieval, antibody incubation, and detection. Heat-induced epitope retrieval was performed using BOND Epitope Retrieval Solution 1 (ER1, citrate-based, pH 6) for 20 minutes. The primary mouse monoclonal antibody clone DO-7 (Dako, Glostrup, Denmark) was applied at a dilution of 1:300. Immunoreactivity was visualized using the BOND Polymer Refine Detection kit with 3,3′-diaminobenzidine (DAB) as the chromogen, according to the manufacturer’s standard protocol. All TMA blocks were stained in a single run using the same antibody lot to minimize staining batch effects.
Manual three-tier IHC interpretation of p53 expression
The stained TMA slides were independently examined by two pathologists (S.W.C. and K.K.) blinded to all clinicopathologic data. Each pathologist assessed the nuclear p53 immunostaining and assigned one of three intensity grades. Grade 0, a “null pattern,” indicated the complete absence of staining in tumor cell nuclei. Grade 1, a “wild-type pattern,” was assigned when at least 10% of tumor cells exhibited weak to moderate nuclear staining. Grade 2, an “overexpression pattern,” indicated strong nuclear staining in at least 60% of tumor cells [5,6]. For downstream analyses, grade 1 was interpreted as wild-type p53 expression. Grades 0 (complete loss) and 2 (strong overexpression) were regarded as mutant-pattern (aberrant) p53 expression, reflecting the well-established association between TP53 genomic alterations and either total loss or protein accumulation [6,13]. Interobserver agreement between the two independent readings was high: 500 of 545 cores were concordant (91.7%; Cohen’s κ = 0.845; weighted κ = 0.861) (Supplementary Table S1). All 45 discordances occurred between adjacent categories; no core was classified as null by one pathologist and as overexpression by the other. Discordant cores were subsequently reconciled in a joint review by three pathologists (S.W.C., K.K., and J.A.). The resulting consensus classification served as the reference standard for the extended-Youden and VUS analyses.
Digital slide processing and tumor region annotation
Whole-slide images of the TMA blocks were generated on an Aperio GT 450 scanner (Leica Biosystems, Vista, CA, USA) at a resolution of 0.26 µm per pixel. Identical scanning settings were used for all slides to minimize scanner-related batch effects. The resulting high-resolution images were imported into the open-source digital pathology platform QuPath version 0.7.0 (University of Edinburgh) for downstream analysis. The first step in QuPath was a de-arraying procedure that automatically identified and separated each 2.0 mm diameter core from the composite slide, creating individual whole-core images for independent examination. Tumor regions on each core were then manually annotated using QuPath’s polygon drawing tool by two pathologists (K.K. and B.S.) and subsequently reviewed by a third (S.W.C.). Errors identified during review were corrected in consultation with the pathologist who made the original annotation. Normal mucosa, stromal tissue, and necrosis were excluded from the annotations. Because this process yielded a single reviewed annotation set rather than independent duplicate annotations of the same cores, interobserver variability of tumor annotation could not be quantified. Color deconvolution was applied to separate the DAB and hematoxylin channels. A single H-DAB stain vector set (hematoxylin, 0.69466/0.58636/0.41669; DAB, 0.38793/0.56464/0.72848) was defined for this cohort and applied uniformly to every slide (Supplementary Methods). As all slides were stained in a single run and digitized on a single scanner, using one deconvolution matrix ensured that optical-density values, and thus H-scores, were directly comparable across cores. Each core was individually reviewed during de-arraying and annotation; 54 cores with no evaluable tumor were excluded. Within the retained cores, normal mucosa, stroma, necrosis, and staining artifacts were excluded from the annotated tumor regions. Subsequent analyses were performed on these annotated areas.
Cell detection and tumor cell classification
Within the annotated tumor regions, cell detection was performed using two independent algorithms for comparison: a deep-learning instance-segmentation model (InstanSeg) [27] and QuPath’s built-in watershed-based cell detection (“legacy” detection), which utilized the “optical density sum” setting to enhance sensitivity to the DAB chromogenic signal. InstanSeg served as the primary detector, while the legacy watershed detector was retained as a robustness comparator. For each cell in the tumor compartment, the algorithm generated nucleus-centered detection objects. To differentiate tumor cells from non-malignant stromal and immune cells, a Random Trees object classifier was trained on a set of manually labeled cells (539 cells for the InstanSeg classifier). For classifier training, all available morphological and intensity features generated by QuPath were used, with the exception of the DAB optical density itself. This ensured that the classification was based on shape, size, texture, and other independent parameters. The feature set included hematoxylin optical density, nuclear and cell morphometry, and Haralick texture features computed at 1 and 2 µm per pixel. All DAB-derived features were excluded, making tumor-cell identification independent of p53 staining intensity. Pathologists manually labeled representative cells as “tumor” or “other” (encompassing stromal and immune cells) to create the training set for the Random Trees classifier. After training, the classifier was applied to all detected cells, assigning each to either the tumor cell or the “other” class. Its classification accuracy was validated separately for each detection method against a two-pathologist consensus ground truth of 500 independently labeled cells. For the primary InstanSeg detector, the classifier achieved 90.4% accuracy (Cohen’s κ = 0.81; tumor-cell F1 = 0.90), which approached the interobserver agreement of the reference labels themselves (weighted κ ≈ 0.87–0.88). Detailed information regarding the cell-detection settings (InstanSeg model configuration and QuPath watershed parameters), the Random Trees classifier training design (numbers of labeled cells and cases, and the feature set), the full validation procedures with per-class metrics, and the legacy-detector comparison are provided in the Supplementary Methods (Supplementary Tables S2 and S3, Supplementary Fig. S2).
Classification of p53 staining intensity
The staining intensity of each tumor cell was quantified using the mean nuclear DAB optical density. The optical density cut-points for the conventional intensity categories—negative, weak (1+), moderate (2+), and strong (3+)—were determined empirically rather than fixed a priori. For each grade, at least 50 representative tumor cells (typically 50 to 70) were manually labeled by a single pathologist (S.W.C.), and their mean nuclear DAB optical densities were recorded. The cut-point between adjacent grades was set at the midpoint of their mean optical densities. To account for measurement uncertainty, the same pathologist repeated this procedure on three independent sets of cells from different tissue-microarray images, resulting in three threshold sets (v1a, v1b, and v1c). The agreement among these three determinations was high (intraclass correlation coefficient [ICC], 0.954 for InstanSeg and 0.957 for Legacy). The mean of the three thresholds was used to compute the H-scores in all primary analyses; using the median yielded nearly identical values (ICC, 0.997 and 0.996) and identical three-tier assignments in 98.3% and 97.5% of cores (Supplementary Table S4). For visualization, tumor cells were color-coded by intensity (negative, blue; 1+, yellow; 2+, orange; 3+, red), while other cells were labeled in varying shades of green (Fig. 1).
Calculation of p53 H-score
For each annotated tumor core, the percentage of tumor cells in each positive intensity category (1+, 2+, and 3+) was determined. The H-score was calculated by summing the percentages of 1+, 2+, and 3+ cells, multiplied by 1, 2, and 3, respectively. Each core’s H-score reflects the overall nuclear p53 expression across all tumor cells, serving as a single continuous metric to quantify p53 protein expression. Because the intensity cut-points were defined in triplicate (v1a/v1b/v1c), the primary H-score for each core was computed by applying the component-wise mean of the three threshold sets to the detected tumor cells. An H-score was additionally computed for each of the three individual threshold sets and retained for the reproducibility analysis described below.
Manual H-score assessment
Manual H-scores were assessed on each TMA core (one core per case), with the assessor blinded to clinicopathologic data. Scoring was restricted to nuclear staining of tumor cells in well-preserved areas, excluding necrosis, artifacts, and non-neoplastic cells. All assessments referenced the internal control within the same section. For each core, tumor-cell nuclear staining intensity was graded as 0, 1+, 2+, or 3+. The percentage of tumor cells in each intensity category was estimated in 5% increments, summing to 100%. The H-score was calculated as 1 × (% 1+) + 2 × (% 2+) + 3 × (% 3+), with a range of 0 to 300. A single pathologist (S.W.C.) performed the assessment on two separate occasions, 2 weeks apart, and blinded to the first reading. The mean of these two readings was used as the final manual H-score. Intraobserver agreement was high (ICC, 0.955; 95% confidence interval [CI], 0.95 to 0.96; mean bias, −3.6 points; 95% limits of agreement, −57.5 to +50.3) (Supplementary Table S5). All manual assessments were recorded using custom Groovy-based input tools developed in QuPath ver. 0.7.0. Values were stored per core and exported as a per-core comma-separated values for analysis. The scripts are provided as Supplementary Methods.
Determination of H-score cutoff values
To translate the continuous p53 H-score into clinically meaningful expression categories, five distinct strategies were applied to the same set of 2 mm TMA cores. Each method generated a pair of numerical cutoffs that divided the cohort into three groups: p53 low expression (low H-score), wild-type (intermediate H-score), and overexpression (high H-score). For the extended Youden index and VUS analyses, the manual three-tier IHC interpretation (null/wild-type/overexpression) served as the reference standard against which sensitivity, specificity, and correct-classification probabilities were computed. Because this manual three-tier IHC interpretation was performed on the same tissue-microarray images from which the H-scores were derived, the extended Youden and VUS cutoffs are not independent of that reference. The agreement between these cutoffs and the manual three-tier IHC interpretation should therefore be interpreted as a measure of internal consistency rather than as independent validation. We acknowledge this circularity as an inherent limitation of the present design and revisit it in the Discussion. The cutoffs derived from each method were subsequently examined in Kaplan-Meier survival analysis as a supporting check of how each three-group partition related to overall survival, rather than to select the cutoff method with the strongest survival separation.

Manual H-score cutoff method

For the first approach, two pathologists (S.W.C. and J.A.) jointly examined all TMA cores. The cores were ordered from the lowest to the highest p53 H-score, and the pathologists were blinded to patients’ clinical or survival data. They identified the point at which the p53 staining shifted from a complete lack of nuclear labeling (null pattern) to a weak to moderate, diffuse pattern consistent with wild-type expression. Continuing toward higher-scoring cores, a second visual transition was recognized where nuclear staining became uniformly strong in the majority of tumor cells, corresponding to the overexpression phenotype. The H-score values that best demarcated these two visual transitions were recorded as the lower and upper cutoffs, respectively, resulting in thresholds of 8.0 and 106.0 for the digital H-score derived with the primary detector. These two cutoffs were then used to assign each core to one of the three p53 expression groups (low, wild-type, overexpression).

Tertile-based cutoff method

The second strategy relied purely on the distribution of H-scores across all tumor cores. Continuous H-score values were sorted in ascending order and divided into three equally sized groups. Cutoffs were set at the 33.3rd and 66.7th percentiles, corresponding to H-scores of 27.6 and 78.6, respectively. Cores were then classified as p53 low (≤27.6), wild-type (>27.6 to ≤78.6), and overexpression (>78.6).

Log-rank test–based cutoff method

The third approach used overall survival as the biological endpoint to define the two H-score cutoffs. An exhaustive search identified lower and upper cutoffs of 21.3 and 95.7, respectively, defining low (≤21.3), wild-type (>21.3 to ≤95.7), and overexpression (>95.7) groups. Because these cutoffs are derived from the same survival data used for testing, they are prone to optimistic bias. Adjustment for the multiplicity of the "cutpoint" search using maximally selected rank statistics (maxstat package; Lausen-Schumacher approximation) yielded a maximally selected statistic of 2.56 with an adjusted p-value of .168. This confirms that the apparent separation does not withstand correction for multiple testing, and therefore, this cutoff is treated as exploratory.

Extended Youden index method

The fourth strategy employed an extension of the classic Youden index to determine two cut points that simultaneously maximize sensitivity and specificity for a three-category classification. For a binary test, Youden’s index (J) is defined as J = sensitivity + specificity – 1, and the optimal threshold corresponds to the point on the ROC curve that lies farthest from the diagonal line (y = x). To adapt this principle to three ordered groups (low, wild-type, overexpression), the analysis was performed with the Youden3Grp function from the R package DiagTest3Grp. This function determines the pair of cut points that maximizes the extended Youden index, representing the greatest combined discrimination across the three categories. Cut points were estimated using the normal-distribution option of Youden3Grp, which models the H-score distribution of each reference group as Gaussian. This analysis yielded a lower cutoff of 14.5 and an upper cutoff of 100.8, classifying cores as low (≤14.5), wild-type (>14.5 to ≤100.8), or overexpression (>100.8). Because the H-scores of the low-expression group are bounded at zero and right-skewed, an empirical (distribution-free) version of the same criterion was computed as a sensitivity analysis; it yielded cut points of 12.5 and 102.9 (Supplementary Table S6).

ROC surface (VUS)–based method

The fifth approach extended the conventional two-dimensional ROC analysis to three dimensions, reflecting the three categories of p53 expression. In a binary ROC curve, the optimal cut point is the coordinate closest to the upper-left corner (0, 1), which maximizes the true positive rate while minimizing the false positive rate. To apply the same principle to three ordered groups, a three-dimensional ROC surface was constructed. For any candidate pair of H-score cutoffs, the surface is defined by three coordinates: x = P(correctly classified as low) = a/(a + b + c), y = P(correctly classified as wild-type) = d/(d + e + f), and z = P(correctly classified as overexpression) = g/(g + h + i), where a, d, and g denote the numbers of cases correctly assigned to the low, intermediate, and high groups, respectively, and the remaining letters represent the corresponding misclassifications. The ideal classifier would occupy the point (1, 1, 1) on this surface, indicating perfect concordance for all three groups. To locate the pair of cutoffs that brings the observed point closest to (1, 1, 1), the VUS function from the R package DiagTest3Grp was employed. The algorithm evaluates every admissible pair of thresholds, computes the three true classification probabilities, and then calculates the Euclidean distance from (1, 1, 1). The threshold pair with the minimal distance is selected as the optimal cutoffs. The search was performed empirically over all admissible threshold pairs, without distributional assumptions. Application of VUS to the cohort’s H-score distribution yielded a lower cutoff of 12.4 and an upper cutoff of 103.8. Consequently, cores were classified as low (≤12.4), wild-type (>12.4 to ≤103.8), or overexpression (>103.8).
Statistical analysis
Overall survival (OS) was defined as the interval from the date of gastrectomy to the date of all-cause death. Patients alive at last contact were censored at the date of last follow-up. Since only 60 deaths (11.4%) occurred, the median OS was not reached; therefore, the median follow-up duration is reported instead.
All survival analyses were performed using R ver. 4.6.0 (R Foundation for Statistical Computing, Vienna, Austria). H-score cutoffs were derived using the rolr package ver. 1.0.0 (exhaustive log-rank optimization) and the DiagTest3Grp package ver. 1.6 (extended Youden index and ROC-surface [VUS] analyses). Survival analyses utilized the survival (ver. 3.8-6), survminer ver. 0.5.2, and maxstat ver. 0.7-26 packages.
Robustness to the choice of cell-detection method and reproducibility across the three intensity-threshold sets were evaluated against the manual three-tier IHC interpretation (null/wild-type/overexpression) as the reference standard. This assessment uses the continuous H-score without applying any cutoff, making it independent of the cutoff-derivation step and thus not subject to the circularity inherent in Youden- and VUS-derived thresholds. The H-score's ability to discriminate the three reference categories without thresholding was summarized by the VUS, a three-class generalization of the area under the curve (chance, 0.167; perfect, 1.0). Paired between-method differences were tested by case-resampling bootstrap (2,000 replicates). Agreement of the continuous H-score—between detection methods and among threshold sets—was quantified by the two-way absolute-agreement ICC and Lin’s concordance correlation coefficient. Agreement of the resulting three-group classifications was assessed by overall agreement with linear- and quadratic-weighted kappa (for two methods/sets) or Fleiss’ kappa (for three sets).
For each cutoff method, patients were stratified into three p53 expression groups, and a Kaplan-Meier survival curve was generated. Pairwise differences among the three curves were tested with the log-rank test. Univariable and multivariable Cox proportional-hazards models were fitted to estimate hazard ratios (HRs) with 95% confidence intervals.
Because deaths occurred almost exclusively in the AGC group (58 of 60 deaths; only 2 deaths among 319 EGC patients), including stage as an ordinary covariate caused quasi-complete separation and unstable estimates. Tumor stage (EGC/AGC) was therefore handled by stratification (stratified Cox), and a separate AGC-only subgroup analysis was performed. Models were additionally adjusted for age, sex, differentiation (poorly differentiated vs. well or moderately differentiated), and signet-ring cell component.
With only 60 events, the number of covariates that could be reliably estimated was constrained by events-per-variable considerations [28,29]. Covariates were therefore pre-specified and limited to established confounders rather than selected by statistical significance. Lymphatic, venous, and perineural invasion and resection-margin status were not added because they are strongly correlated with tumor stage (used for stratification) and would have reduced the events-per-variable ratio (from approximately 12 to approximately 7).
The proportional-hazards assumption was assessed using scaled Schoenfeld residuals and was satisfied for all terms. The H-score was also analyzed as a continuous variable, and a combined aberrant (low + overexpression) versus wild-type comparison was performed. The continuous H-score was further modeled with a restricted cubic spline (4 knots at the 5th, 35th, 65th, and 95th percentiles) within the stage-stratified Cox model, adjusted for age and sex. This reduced covariate set was chosen to ensure that the additional degrees of freedom of the spline did not lower the events-per-variable ratio. The median H-score served as the reference value, and departure from linearity was assessed by a likelihood-ratio test comparing the spline and linear models. To address the optimism of the log-rank-optimized cutoff [30], a multiplicity-adjusted p-value was obtained using maximally selected rank statistics. Internal stability was assessed by bootstrap resampling, using 2,000 replicates for both the extended-Youden and VUS cut points (Supplementary Table S6) and for the aberrant-versus-wild-type HR. Statistical significance was set at p < .05. The reproducibility and agreement analyses were reported in accordance with the Guidelines for Reporting Reliability and Agreement Studies (GRRAS) guidelines for reliability and agreement studies [31]. The classification of the H-score against the manual three-tier IHC interpretation was reported according to the Standards for Reporting Diagnostic Accuracy Studies (STARD) 2015 guidelines for diagnostic accuracy studies [32]. The supporting survival analysis was reported according to the Reporting Recommendations for Tumor Marker Prognostic Studies (REMARK) recommendations for tumor marker prognostic studies [33].
Patient characteristics
The baseline clinicopathologic characteristics of the 528 patients included in the study are summarized in Table 1. The cohort consisted of 209 patients with AGC and 319 patients with EGC, with a mean age of 60.4 ± 12.4 years and a male predominance of 68.0%. While age and sex did not differ significantly between groups, the AGC group showed a higher frequency of poorly differentiated tumors (63.6%) and aberrant p53 expression (48.3%) compared to the EGC group (53.0% and 33.9%, respectively). Furthermore, patients with AGC had significantly worse OS than those with EGC (p < .001); the median follow-up was 58.6 months in AGC and 60.6 months in EGC.
Distribution of p53 H-scores within the gastric cancer cohort
A quantitative assessment of p53 IHC across 528 evaluable 2 mm tissue-microarray cores revealed considerable heterogeneity in nuclear expression. Tumor cell H-scores ranged from 0.09 to 291.03, with a median of 45.51 and a mean of 78.11. The interquartile range, spanning from 21.0 (25th percentile) to 106.6 (75th percentile), indicated significant dispersion across the expression spectrum. The histogram (Fig. 2) shows a markedly right-skewed distribution, with a dense concentration of cores at low H-scores and a long, attenuated upper tail. A secondary rise in density was apparent above an H-score of approximately 200. This pattern mirrors the biological heterogeneity of putative TP53 alteration–associated immunohistochemical patterns, reflecting the coexistence of tumors with little or no p53 staining and those with strong, diffuse overexpression. The cutoffs derived by the five strategies are overlaid on the distribution; the upper thresholds cluster within a narrow range, whereas the lower thresholds are more dispersed.
Robustness and reproducibility of the digital H-score
Tumor-cell detection by InstanSeg and the legacy watershed algorithm was highly concordant (Spearman ρ = 0.947), though InstanSeg detected approximately 9% fewer cells per core (median per-core ratio, 0.911). The resulting H-scores agreed closely (Pearson r = 0.996; Spearman ρ = 0.994; ICC, 0.996 for consistency and 0.990; 95% CI, 0.988 to 0.992, for absolute agreement), with the difference between the two coefficients reflecting a systematic offset: InstanSeg yielded slightly lower H-scores (mean bias, −8.6; 95% limits of agreement, −22.2 to +5.0). Cutoff-independent discrimination of the manual three-tier IHC interpretation was comparable between the two algorithms. Under the normal-distribution estimator, the VUS was 0.927 (95% CI, 0.906 to 0.949) for InstanSeg and 0.944 (95% CI, 0.926 to 0.962) for the legacy detector, whereas under an empirical, distribution-free estimator, it was 0.972 (95% CI, 0.955 to 0.985) and 0.967 (95% CI, 0.948 to 0.983), respectively. The two estimators therefore rank the detectors in opposite orders, but neither difference is significant: in a paired case-resampling bootstrap, the between-detector difference in the empirical VUS was +0.005 (95% CI, −0.000 to +0.012). Because the H-score is bounded at zero and right-skewed, the empirical estimator is more appropriate; on either estimate, discrimination is equivalent between the detectors. InstanSeg was adopted as the primary detector because it is a deep-learning method requiring no dataset-specific parameter tuning, with the legacy algorithm retained as a robustness comparator (Supplementary Table S7).
Reproducibility across the three intensity-threshold sets was high for the continuous H-score (ICC, 0.95; median per-core standard deviation ≈ 13 H-score points). It was substantial for the resulting three-tier categories, with identical assignments across all three sets in 85.4% of cores for InstanSeg and 84.3% for the legacy detector (Fleiss' kappa, 0.82 and 0.80, respectively; pairwise quadratic-weighted kappa, 0.78 to 0.96) (Supplementary Table S4). Therefore, the intensity-threshold determination, rather than the detection algorithm, was the principal source of measurement variability, supporting the use of the component-wise mean of the three threshold sets for the primary H-score.
The manual three-tier IHC interpretation, which served as the reference standard, was reproducible between the two pathologists (500 of 545 cores concordant, 91.7%; Cohen’s κ = 0.845; weighted κ = 0.861) (Supplementary Table S1). Additionally, the tumor-cell classifier was formally validated against a two-pathologist consensus ground truth, achieving near pathologist-level accuracy for the primary InstanSeg detector (90.4% accuracy; Cohen’s κ = 0.81) (Supplementary Table S2). The corresponding validation of the legacy classifier is reported in Supplementary Table S2.
Cutoff setting methods
To categorize p53 expression into three groups (low, wild-type, and overexpression), we established H-score thresholds using five different methodologies (Table 2). The manual method set cutoffs at 8.0 and 106.0. Other methods yielded the following cutoffs: tertiles at 27.6 and 78.6; log-rank optimization at 21.3 and 95.7; the extended Youden index at 14.5 and 100.8; and VUS at 12.4 and 103.8. For the upper boundary, the data-derived methods clustered closely around the pathologist-derived threshold of 106.0 (VUS, 103.8; Youden, 100.8; log-rank, 95.7). In contrast, all lower cutoffs were higher than the manual threshold of 8.0, with VUS (12.4) yielding the closest value (Table 3). To confirm that these numerical thresholds correspond to biologically recognizable staining patterns, representative cores immediately flanking the extended-Youden cutoffs are shown in Fig. 3. H-scores of 9.6 and 15.2 bracket the lower cutoff (14.5), while 98.6 and 123.9 bracket the upper cutoff (100.8). These examples illustrate the visual transition from minimal nuclear staining (low) through wild-type to diffuse strong overexpression. Agreement among the five H-score–based cutoff methods, using the manual H-score cutoff method (8.0/106.0) as the common comparator, is summarized in Table 3, with the full confusion matrices provided in Supplementary Table S8. Because the extended-Youden and VUS cutoffs were optimized against the manual three-tier IHC interpretation of these same images, this agreement reflects internal consistency rather than independent validation (see Materials and Methods).
Survival stratification by p53 expression groups
For each cutoff strategy, patients were classified into low, wild-type, and overexpression groups and analyzed using Kaplan-Meier survival estimates. The extended Youden index is presented in Fig. 4 as a representative example (the rationale for its focus is provided in the Discussion), with the remaining four methods (manual, tertiles, ROC surface [VUS], and log-rank optimization) detailed in Supplementary Fig. S3. All five methods showed statistically significant differences in OS among the three groups by nominal global log-rank testing. The nominal global log-rank p-values were 0.012 for the manual cutoffs, 0.005 for tertiles, 0.003 for the Youden-based cutoffs, 0.002 for the ROC-surface (VUS) method, and <0.001 for the log-rank-optimized cutoffs. Because the log-rank-optimized cutoffs were derived from the same survival data against which they were tested, their nominal significance did not survive adjustment for the multiplicity of the cutpoint search (adjusted p = .168); this cutoff should therefore be regarded as exploratory. Across all cutoff definitions, tumors classified as wild-type consistently exhibited more favorable survival than those with aberrant p53 expression patterns. Conversely, low-expression and overexpression tumors showed broadly similar survival trajectories. Pairwise log-rank testing confirmed this pattern: the low-vs-overexpression comparison was non-significant for every method (p > .4), whereas both aberrant groups differed significantly from wild-type. Per-group case and event counts, along with pairwise comparisons, are presented in Table 2. The aberrant-vs-wild-type contrast for the extended Youden index is directly illustrated in Fig. 4B.
In multivariable Cox models, stratified by tumor stage (EGC/AGC) and adjusted for age, sex, poor differentiation, and signet-ring cell component, an aberrant p53 pattern (low + overexpression) remained associated with worse OS for four of the five cutoff methods (Tables 4, 5): tertiles HR 2.50 (95% CI, 1.21 to 5.14), extended Youden HR 1.81 (95% CI, 1.05 to 3.10), log-rank HR 2.65 (95% CI, 1.43 to 4.88), and ROC-surface (VUS) HR 1.91 (95% CI, 1.12 to 3.27). For the manual cutoffs, the association was of similar magnitude but did not reach significance (HR, 1.63; 95% CI, 0.97 to 2.76; p = .066). When analyzed continuously, each 50-point increase in H-score was associated with an HR of 1.20 (95% CI, 1.03 to 1.39; p = .019). Modeling the H-score flexibly with a restricted cubic spline showed that the estimated hazard was lowest near the median H-score and increased at both extremes, most steeply at high H-scores. This paralleled the aberrant-versus-wild-type contrast. This departure from linearity was not statistically significant (likelihood-ratio test, p = .320), so the more parsimonious linear term was retained (Supplementary Fig. S4). The AGC-only subgroup analysis (209 patients, 58 deaths) yielded concordant estimates (e.g., extended Youden HR, 1.93; 95% CI, 1.11 to 3.37). After multiplicity adjustment by maximally selected rank statistics, the log-rank-optimized cutoff was no longer significant (adjusted p = .168, optimal-cutpoint maxstat). Bootstrap resampling of the extended-Youden aberrant-vs-wild-type effect provided a stable median HR of 1.83 (95% CI, 1.08 to 3.24). Therefore, survival outcomes were primarily determined by whether p53 expression was wild-type or aberrant.
In this study, a semi-automated digital workflow quantified nuclear p53 immunoreactivity in 528 patients who underwent curative gastrectomy for gastric adenocarcinoma. The quantification proved reproducible at every observer-dependent step. The two pathologists agreed on the manual three-tier IHC interpretation in 91.7% of cores (κ = 0.845). The H-score was robust to both the cell-detection algorithm (ICC, 0.990) and repeated calibration of the intensity thresholds (ICC, 0.954). In contrast, the five cutoff strategies produced appreciably different cut points (lower, 8.0 to 27.6; upper, 78.6 to 106.0). Therefore, the method of cutoff derivation, rather than H-score measurement, is the primary source of variation in case classification. The extended Youden index and the ROC-surface criterion were statistically indistinguishable. As a supporting check, all five classifications separated OS in the three-group comparison, with the wild-type group faring best and the low-expression and overexpression groups performing similarly worse. In the multivariable model, the aberrant pattern remained associated with survival for four of the five strategies, with the manual cutoffs being the exception. The log-rank-optimized strategy lost its significance once the multiplicity of the cutpoint search was considered.
The application of digital image analysis and H-scoring to p53 immunohistochemistry has been studied in several malignancies. Yan et al. [25] recently used digital quantification to define a TP53 mutational surrogate in mantle cell lymphoma, deriving a single cutoff within their own cohort. The most closely related work is that of Bankhead et al. [24], who established the foundational QuPath workflow in breast cancer, applying it to five biomarkers, including p53, in a 293-patient tissue microarray. Several design elements are shared with the present study: digital H-scoring of tumor nuclei; exclusion of cores containing fewer than 100 tumor cells; and, because p53 was the only marker requiring two cutoffs, a three-tier structure contrasting extreme-low and extreme-high cases with intermediate ones, the aberrant-versus-wild-type comparison adopted here. We also share their two routes to a cutoff—derivation against the pathologist’s classification as the reference standard and optimization of the log-rank statistic across candidate thresholds—together with their caution that the latter entails multiple testing [30]. The present study extends this framework in three directions. First, we broaden the comparison to five derivation strategies and generalize the reference-standard-derived cutoff from two classes to three, using the extended Youden index and the VUS. Second, we carry the multiple-testing caution into the two-cutoff setting, for which adjusted p-values had been reported only for the single-cutoff biomarkers. Applying maximally selected rank statistics to the three-tier log-rank search, the nominal significance of the optimized cutoffs (p < .001) did not survive correction (adjusted p = .168); therefore, we report that strategy as exploratory rather than recommending it. Third, we quantify the reproducibility of the workflow itself across two independent cell-detection algorithms and three repeated calibrations of the intensity thresholds. To our knowledge, this is one of the first studies to apply semi-automated digital quantification to p53 in gastric cancer, and the first to systematically compare cutoff-derivation strategies in this setting.
The five strategies produced substantially different cut points, most notably at the lower boundary, where values ranged from 8.0 to 27.6. These differences were not cosmetic: the tertile-based classification agreed with the manual cutoffs in only 72.0% of cores, while the ROC-surface classification agreed in 95.8% (Table 3). Therefore, the choice of derivation strategy alters how a substantial minority of cases are labeled, even when their underlying H-score is identical. However, two of the strategies were indistinguishable from each other. The extended Youden index and the ROC-surface (VUS) criterion yielded numerically close cut points (14.5/100.8 vs. 12.4/103.8), assigned only 14 of 528 cores (2.7%) to different tiers (κ = 0.955), and in a paired case-resampling bootstrap, the confidence intervals for the between-method difference included zero at both boundaries (Supplementary Table S6). While the VUS cutoffs provided marginally better point estimates than the extended Youden index—a slightly higher concordance with the manual cutoffs (95.8% vs. 93.2%) (Table 3) and marginally lower survival p-values (global log-rank, .002 vs. .003; multivariable aberrant-vs-wild-type, .018 vs. .032)—given their statistical equivalence, these small differences should not be interpreted as evidence of a superior method. The residual difference lies in the estimator rather than the criterion: the extended Youden index was estimated under a normal-distribution assumption, and the VUS cutoffs by an empirical grid search. When the Youden criterion was maximized on the same empirical grid, it assigned 527 of the 528 cores identically to the VUS cutoffs; the two solutions differ for a single core whose H-score falls between the two reported upper cut points. Consistent with this, cores falling on either side of the two lower cutoffs, or of the two upper cutoffs, are not visually distinguishable (Fig. 3).
Which strategy, then, should be used in practice? Each carries a different caveat. Log-rank optimization derives its cut points from the survival data against which they are then tested. Its nominal significance did not survive adjustment for the multiplicity of that search, and it requires outcome data that are not available at the time of diagnosis. The extended Youden index and the ROC-surface criterion avoid this outcome dependence, but they are derived against the pathologist’s three-tier reading of the same images. Thus, their agreement with the manual H-score cutoffs measures internal consistency rather than validity. The tertile method is free of both limitations, yet its cut points simply follow the H-score distribution of the cohort at hand and have no basis in staining phenotype. Deriving the cutoffs against the pathologist’s reading is a deliberate choice here because the aim is to reproduce expert three-tier IHC interpretation digitally. The limitation it imposes is on what may be claimed from the resulting concordance, not on the usefulness of the cutoffs themselves. Given that the extended Youden index and the ROC-surface criterion are statistically indistinguishable, the choice between them rests on practical grounds. We propose the extended Youden index as a reasonable default rather than advance it as a recommendation: it generalizes a criterion already familiar from two-class diagnostic testing, and it yields cut points that can be stated and applied directly. The ROC-surface criterion remains an equally defensible alternative. The Youden-derived cutoffs (14.5 and 100.8) are a starting point for evaluation in other cohorts, not a threshold for clinical use.
This study has several limitations. It is retrospective and single-center, and immunostaining used a single antibody clone (DO-7) with fixed antigen retrieval. Therefore, the cutoffs derived here require confirmation with other techniques and in other laboratories. As TP53 sequencing was not performed, the immunohistochemical patterns are described as putative surrogates rather than confirmed mutations. This absence also underlies the circularity discussed previously: because the extended-Youden and VUS cutoffs were derived against the manual interpretation of the same images, their concordance with the manual H-score cutoffs cannot serve as validation. Breaking this circularity would require an outcome-independent external reference, such as TP53 sequencing or an independent cohort from another institution. The reproducibility demonstrated here is also limited to a single laboratory and a single staining batch. All slides were stained and scanned together, applying one deconvolution matrix throughout. Consequently, the cutoffs should be recalibrated rather than directly transferred when the staining run, scanner, or laboratory changes. Several observer-dependent steps could only be partially characterized. Tumor regions were annotated by two pathologists and reviewed by a third, rather than in independent duplicate, precluding quantification of annotation variability between observers. The tumor-cell classifier was trained interactively rather than with a held-out training and validation split, although its accuracy was subsequently confirmed against an independent, blinded cell-level ground truth. Furthermore, the intensity thresholds were calibrated by a single reader, allowing quantification of intraobserver reproducibility across three repeated calibrations, but not interobserver variation in threshold setting. Since threshold calibration was the largest source of measurement variability identified, between-reader variation at this step is the most important open question for multi-center use. Each case was represented by a single annotated core, which under-samples intratumoral heterogeneity. Finally, deaths were heavily concentrated in the advanced group, with only two among 319 early gastric cancers. This precluded a stable model using stage as an ordinary covariate. Treatment details, including adjuvant chemotherapy, were unavailable, and progression-free survival was not analyzed. Thus, the survival analyses serve as a supporting check of cutoff behavior rather than a prognostic claim.
Against these limitations, the digital workflow offers real advantages over visual interpretation alone. Measuring nuclear DAB intensity by image analysis yields a continuous, reproducible quantity rather than a categorical impression. This approach confines the observer-dependent step to tumor annotation and threshold calibration, after which quantification becomes deterministic. Once an analysis protocol is established, it can be applied consistently to large datasets or across institutions, making the pipeline auditable. For instance, the detection parameters, classifier, and intensity thresholds used here are fully reported, allowing the workflow to be re-executed rather than merely described. Furthermore, measurements beyond the H-score, such as intratumoral heterogeneity or tumor-stroma relationships, can be extracted from the same data. These properties translate into concrete practical guidance. A laboratory adopting this pipeline need not replicate our exact detector, as the H-score proved robust to that choice. However, it should calibrate the intensity thresholds using its own material and report the calibration method. Because the two detectors produced systematically different H-scores, cutoffs are not transferable between detection algorithms and should be re-derived whenever the detector or staining protocol changes.
In conclusion, digital image analysis provides a reproducible quantification of p53 immunohistochemistry in gastric cancer. This quantification is robust to the choice of cell-detection algorithm and to repeated calibration of the intensity thresholds. Among the five cutoff strategies compared, the two derived against the manual three-tier IHC interpretation as the reference standard—the extended Youden index and the ROC-surface criterion—performed equivalently and were statistically indistinguishable. We propose the former as a reasonable default and regard the latter as an equally defensible alternative, as the choice between them had no material effect on classification. The resulting classifications were associated with OS, although prognostic prediction was not the primary aim of this study. Evaluation in independent cohorts and correlation with TP53 sequencing are required before these cutoffs can be considered for clinical use.
The Data Supplement is available with this article at https://doi.org/10.4132/jptm.2026.08.13.
Fig. 1.
Representative cases and QuPath-based digital quantification of p53 immunohistochemistry. (A, B) Whole tissue-microarray cores (2.0 mm). Tumor regions were manually annotated using the polygon tool, excluding normal mucosa, stroma, and necrosis; the annotation boundary is shown as a black outline. (C, D) Higher-magnification views of the annotated regions in (A) and (B), respectively. Cells were first classified as tumor or non-tumor. Tumor cells were then color-coded by mean nuclear DAB optical density: negative (blue), 1+ (yellow), 2+ (orange), and 3+ (red). Non-tumor (stromal and immune) cells are shown in green. The case in (A) and (C) shows predominantly negative (blue) tumor nuclei, whereas the case in (B) and (D) shows predominantly strongly positive (red) tumor nuclei.
jptm-2026-08-13f1.jpg
Fig. 2.
Distribution of the digital p53 H-score in the study cohort (n = 528), computed with the primary detector (InstanSeg) and the mean of the three intensity-threshold determinations. Grey bars show the histogram, and the solid black line represents the kernel density estimate. The distribution is markedly right-skewed, with a dense concentration of cores at low H-scores and a secondary rise in density above an H-score of approximately 200. Vertical lines indicate the lower and upper cutoffs derived by each of the five thresholding strategies: manual (blue), log-rank optimization (purple), tertiles (dark green), extended Youden index (red), and receiver operating characteristic (ROC) surface (volume under the ROC surface [VUS]; orange).
jptm-2026-08-13f2.jpg
Fig. 3.
Representative p53 immunohistochemistry at the proposed cutoff boundaries. Cases were deliberately selected to lie immediately adjacent to the extended Youden index thresholds (14.5 and 100.8) to allow visual assessment of the transition at the cutoff itself rather than between extremes. Each panel shows a representative field with its corresponding QuPath overlay. (A) H-score 9.6: low expression (minimal nuclear staining). (B) H-score 15.2: wild-type (scattered weak-to-moderate nuclear staining). (C) H-score 98.6: wild-type (moderate, non-diffuse staining). (D) H-score 123.9: overexpression (diffuse strong nuclear positivity). For all four cases, the digital assignment, the manual three-tier immunohistochemistry interpretation, and the manual H-score category were concordant.
jptm-2026-08-13f3.jpg
Fig. 4.
Kaplan-Meier overall survival stratification by p53 expression using the extended Youden index. (A) Three-group stratification into low (≤14.5), wild-type (>14.5 to ≤100.8), and overexpression (>100.8) H-score categories (global log-rank p = .003). (B) Two-group comparison of aberrant (low + overexpression) versus wild-type p53. In both panels, the number-at-risk table is shown below the curves, tick marks denote censored observations, and the hazard ratio for aberrant versus wild-type p53 (from the stage-stratified multivariable Cox model adjusted for age, sex, poor differentiation, and signet-ring cell component) is annotated within each panel (hazard ratio [HR], 1.81; 95% confidence interval [CI], 1.05 to 3.10). Bootstrap resampling (2,000 replicates) of this effect yielded a stable median HR of 1.83 (2.5–97.5th percentile, 1.08 to 3.24). Results for the other four thresholding methods are provided in Supplementary Fig. S3.
jptm-2026-08-13f4.jpg
jptm-2026-08-13f5.jpg
Table 1.
Clinicopathologic characteristics of the study cohort according to tumor stage group
Characteristic AGC (n = 209) EGC (n = 319) Total (n = 528) p-value
Age (yr) 61.4 ± 13.3 59.8 ± 11.7 60.4 ± 12.4 .156
Sex .775
 Male 144 (68.9) 215 (67.4) 359 (68.0)
 Female 65 (31.1) 104 (32.6) 169 (32.0)
T category <.001
 T1 0 319 (100.0) 319 (60.4)
 T2 49 (23.4) 0 49 (9.3)
 T3 103 (49.3) 0 103 (19.5)
 T4 57 (27.3) 0 57 (10.8)
N category <.001
 N0 73 (34.9) 263 (82.4) 336 (63.6)
 N1 32 (15.3) 25 (7.8) 57 (10.8)
 N2 27 (12.9) 5 (1.6) 32 (6.1)
 N3a 39 (18.7) 1 (0.3) 40 (7.6)
 N3b 27 (12.9) 0 27 (5.1)
AJCC 8th pStagea <.001
 Stage I 24 (11.5) 288 (90.3) 312 (59.1)
 Stage II 78 (37.3) 6 (1.9) 84 (15.9)
 Stage III 96 (45.9) 0 96 (18.2)
Lymphatic invasion <.001
 Absent 83 (39.7) 270 (84.6) 353 (66.9)
 Present 126 (60.3) 49 (15.4) 175 (33.1)
Venous invasion <.001
 Absent 171 (81.8) 313 (98.1) 484 (91.7)
 Present 38 (18.2) 6 (1.9) 44 (8.3)
Perineural invasion <.001
 Absent 104 (49.8) 314 (98.4) 418 (79.2)
 Present 105 (50.2) 5 (1.6) 110 (20.8)
Resection margin .003
 Negative 201 (96.2) 318 (99.7) 519 (98.3)
 Positive 8 (3.8) 1 (0.3) 9 (1.7)
Signet-ring component .048
 Absent 130 (62.2) 170 (53.3) 300 (56.8)
 Present 79 (37.8) 149 (46.7) 228 (43.2)
Differentiationb <.001
 WD 14 (6.7) 63 (19.7) 77 (14.6)
 MD 62 (29.7) 87 (27.3) 149 (28.2)
 PD 133 (63.6) 169 (53.0) 302 (57.2)
Lauren classification .002
 Intestinal 83 (39.7) 157 (49.2) 240 (45.5)
 Diffuse 69 (33.0) 115 (36.1) 184 (34.8)
 Mixed 57 (27.3) 47 (14.7) 104 (19.7)
p53 expression (manual IHC interpretation)c .003
 Null 37 (17.7) 36 (11.3) 73 (13.8)
 Wild-type 108 (51.7) 211 (66.1) 319 (60.4)
 Overexpression 64 (30.6) 72 (22.6) 136 (25.8)
p53, aberrant grouping (manual IHC)c .001
 Wild-type 108 (51.7) 211 (66.1) 319 (60.4)
 Aberrant (null + overexpression) 101 (48.3) 108 (33.9) 209 (39.6)
Overall survival status <.001
 Alive 151 (72.2) 317 (99.4) 468 (88.6)
 Dead 58 (27.8) 2 (0.6) 60 (11.4)

Values are presented as mean ± SD or number (%). p-values are determined by independent t-test (Welch) for age and chi-square test (or Fisher's exact test for 2 × 2 tables) for categorical variables.

AGC, advanced gastric cancer; EGC, early gastric cancer; AJCC, American Joint Committee on Cancer; WD, well differentiated; MD, moderately differentiated; PD, poorly differentiated; IHC, immunohistochemistry; SD, standard deviation.

aAJCC 8th edition pathologic stage derived from pT and pN; T4 treated as T4a. All patients underwent gastrectomy with curative intent and were M0 at surgery, so no case was assigned to stage IV. Nodal status (hence stage) is missing in 36 cases (11 AGC, 25 EGC); percentages are calculated over the full group, so N-category and stage rows may not sum to 100%;

bHistologic differentiation is grouped as WD, MD, or PD;

cp53 by manual three-tier IHC interpretation (null/wild-type/overexpression); aberrant denotes null plus overexpression.

Table 2.
Three-tier classification and overall survival according to five H-score cutoff strategies
Cutoff method Cutoffs Low, n (events) Wild-type, n (events) Overexpression, n (events) Global log-rank pa,b
Manual 8.0/106.0 70 (11) 324 (27) 134 (22) .012
Tertiles 27.6/78.6 176 (24) 176 (9) 176 (27) .005
Log-rank optimization 21.3/95.7 136 (23) 249 (14) 143 (23) <.001c
Extended Youden index 14.5/100.8 99 (16) 288 (21) 141 (23) .003
ROC surface (VUS) 12.4/103.8 88 (15) 302 (22) 138 (23) .002

Final analytic cohort (n = 528, 60 deaths). H-scores were computed with the primary detector (InstanSeg) using the mean of the three intensity-threshold determinations.

ROC, receiver operating characteristic; VUS, volume under the ROC surface.

aGroup sizes are given as n (number of deaths). The reported p-value is the global (three-group) log-rank p-value. Multivariable hazard ratios for the aberrant versus wild-type comparison are reported in Table 4;

bPairwise log-rank comparisons showed that the low and overexpression groups did not differ significantly for any method (p = .48–.95), whereas both differed from wild-type. This supports their combination into a single aberrant category;

cFor the log-rank-optimized cutoffs, the nominal p-value is optimistically biased because the cutoffs were selected from the same survival data. After adjusting for the multiplicity of the cutpoint search (maximally selected rank statistics; Lausen-Schumacher approximation), the maximally selected statistic of 2.56 corresponded to an adjusted p-value of .168. Therefore, this strategy is reported as exploratory.

Table 3.
Concordance of the four data-derived cutoff strategies with the manual H-score cutoff methoda
Cutoff method Cutoffs Lower Δb Upper Δ Total deviation Concordant n (%)c κ Linear-weighted κ Aberrant sensitivityd Aberrant specificity
Tertiles 27.6/78.6 +19.6 −27.4 47.0 380 (72.0) 0.580 0.648 1.000 0.543
Log-rank optimization 21.3/95.7 +13.3 −10.3 23.6 453 (85.8) 0.766 0.800 1.000 0.769
Extended Youden index 14.5/100.8 +6.5 −5.2 11.7 492 (93.2) 0.881 0.896 1.000 0.889
ROC surface (VUS) 12.4/103.8 +4.4 −2.2 6.6 506 (95.8) 0.926 0.935 1.000 0.932

Final analytic cohort (n = 528). The manual H-score cutoffs (8.0 and 106.0) served as the common comparator, yielding three groups: 70 low, 324 wild-type, and 134 overexpression cases.

κ, Cohen's kappa; ROC, receiver operating characteristic; VUS, volume under the ROC surface.

aThe extended-Youden and ROC-surface cutoffs were derived against the pathologists’ three-tier immunohistochemistry interpretation of these same images as the reference standard. The comparator used in this table—the manual H-score cutoffs—is a separate classification, but it was set by the same pathologists on the same images and agrees with the reference standard in 493 of 528 cores (93.4%; κ = 0.878). The agreement reported here therefore reflects internal consistency rather than independent validation. Measured directly against the reference standard, the five classifications agree in 93.4% (manual), 72.2% (tertiles), 85.2% (log-rank), 91.5% (extended Youden) and 93.4% (ROC surface) of cores. The tertile and log-rank cutoffs were derived without reference to the manual interpretation;

bΔ denotes the difference between each data-derived cutoff and the corresponding manual cutoff; total deviation is the sum of the two absolute differences. Positive values indicate a higher cutoff than the manual threshold;

cConcordance denotes exact agreement of the three-tier assignment with the manual-cutoff classification. All discordances occurred between adjacent categories. Full confusion matrices are provided in Supplementary Table S8;

dSensitivity and specificity refer to the detection of the aberrant pattern (low plus overexpression) as defined by the manual cutoffs. The manual cutoffs define the narrowest aberrant category of the five—the lowest lower cutoff (8.0) and the highest upper cutoff (106.0). Every core called aberrant by the manual cutoffs is therefore also called aberrant by every data-derived method, so sensitivity is 1.000 by construction and the methods differ only in specificity;

Table 4.
Multivariable Cox proportional-hazards analysis of aberrant (low + overexpression) versus wild-type p53 by cutoff strategy
Cutoff strategy (lower/upper) Aberrant vs. wild-type HR (95% CI) p-value
Manual (8.0/106.0) 1.63 (0.97–2.76) .066
Tertiles (27.6/78.6) 2.50 (1.21–5.14) .013
Extended Youden index (14.5/100.8) 1.81 (1.05–3.10) .032
Log-rank optimization (21.3/95.7)a 2.65 (1.43–4.88) .002
ROC surface, VUS (12.4/103.8) 1.91 (1.12–3.27) .018

Final analytic cohort (n = 528, 60 deaths). Models were stratified by tumor stage (advanced vs. early gastric cancer) and adjusted for age, sex, poor differentiation, and signet-ring cell component.

Stage was handled by stratification rather than as a covariate because deaths occurred almost exclusively in the advanced gastric cancer group (58 of 60 deaths).

HR, hazard ratio; CI, confidence interval; ROC, receiver operating characteristic; VUS, volume under the ROC surface.

aThe log-rank–optimized cutoffs are derived from the same survival data used for testing and are therefore exploratory. After adjusting for the multiplicity of the cutpoint search (maximally selected rank statistics), the log-rank–optimized cutpoint was no longer significant (adjusted p = .168).

Table 5.
Fully adjusted Cox proportional-hazards model for the primary classification (extended Youden index)
Variable Adjusted HR (95% CI) p-value
Aberrant p53 (vs. wild-type) 1.81 (1.05–3.10) .032
Age (per 1 year) 1.03 (1.01–1.06) .002
Female sex (vs. male) 1.14 (0.66–1.95) .640
Poor differentiation (vs. other) 1.99 (1.03–3.85) .041
Signet-ring-cell component (vs. none) 1.09 (0.59–2.01) .777

Final analytic cohort (n = 528, 60 deaths). The model was stratified by tumor stage (advanced vs. early gastric cancer).

Stage was handled by stratification rather than as a covariate because deaths occurred almost exclusively in the advanced gastric cancer group (58 of 60 deaths). The proportional-hazards assumption was satisfied for all terms (scaled Schoenfeld residuals, global p = .15).

HR, hazard ratio; CI, confidence interval.

  • 1. Bray F, Laversanne M, Sung H, et al. Global cancer statistics 2022: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries. CA Cancer J Clin 2024; 74: 229-63. ArticlePubMed
  • 2. Cristescu R, Lee J, Nebozhyn M, et al. Molecular analysis of gastric cancer identifies subtypes associated with distinct clinical outcomes. Nat Med 2015; 21: 449-56. ArticlePubMedPDF
  • 3. Lane DP. Cancer: p53, guardian of the genome. Nature 1992; 358: 15-6. ArticlePubMedPDF
  • 4. Hanahan D, Weinberg RA. Hallmarks of cancer: the next generation. Cell 2011; 144: 646-74. ArticlePubMed
  • 5. Grosser B, Kohlruss M, Slotta-Huspenina J, et al. Impact of tumor localization and molecular subtypes on the prognostic and predictive significance of p53 expression in gastric cancer. Cancers (Basel) 2020; 12: 1689.ArticlePubMedPMC
  • 6. Yemelyanova A, Vang R, Kshirsagar M, et al. Immunohistochemical staining patterns of p53 can serve as a surrogate marker for TP53 mutations in ovarian carcinoma: an immunohistochemical and nucleotide sequencing analysis. Mod Pathol 2011; 24: 1248-53. ArticlePubMedPDF
  • 7. Sung YN, Kim D, Kim J. p53 immunostaining pattern is a useful surrogate marker for TP53 gene mutations. Diagn Pathol 2022; 17: 92.ArticlePubMedPMCPDF
  • 8. Huang SC, Chang IY, Chen TC, et al. Redefining aberrant p53 expression of gastric cancer and its distinct clinical significance among molecular-histologic subtypes. Asian J Surg 2024; 47: 4699-705. ArticlePubMed
  • 9. Yu R, Sun T, Zhang X, et al. TP53 co-mutational features and NGS-calibrated immunohistochemistry threshold in gastric cancer. Onco Targets Ther 2021; 14: 4967-78. ArticlePubMedPMCPDF
  • 10. Schoop I, Maleki SS, Behrens HM, Kruger S, Haag J, Rocken C. p53 immunostaining cannot be used to predict TP53 mutations in gastric cancer: results from a large Central European cohort. Hum Pathol 2020; 105: 53-66. ArticlePubMed
  • 11. Wei K, Jiang L, Wei Y, et al. The prognostic significance of p53 expression in gastric cancer: a meta-analysis. J Cancer Res Clin Oncol 2015; 141: 735-48. ArticlePubMedPDF
  • 12. Hwang HJ, Nam SK, Park H, et al. Prediction of TP53 mutations by p53 immunohistochemistry and their prognostic significance in gastric cancer. J Pathol Transl Med 2020; 54: 378-86. ArticlePubMedPMCPDF
  • 13. Kobel M, Piskorz AM, Lee S, et al. Optimized p53 immunohistochemistry is an accurate predictor of TP53 mutation in ovarian carcinoma. J Pathol Clin Res 2016; 2: 247-58. ArticlePubMedPMC
  • 14. Chung Y, Lee HW, Park JH, Yoo CH, Son BH, Kim K. Mutant pattern of p53 predicts local recurrence and poor survival rate in gastric cancer. Histol Histopathol 2023; 38: 999-1007. ArticlePubMed
  • 15. An Q, Miao L, Wu J, Ma J. Mutant pattern of p53 as a feasible predictor of distant metastasis following curative gastrectomy for advanced-stage gastric cancer. J Cancer 2025; 16: 860-75. ArticlePubMedPMC
  • 16. Boyle DP, McArt DG, Irwin G, et al. The prognostic significance of the aberrant extremes of p53 immunophenotypes in breast cancer. Histopathology 2014; 65: 340-52. ArticlePubMed
  • 17. Zlobec I, Steele R, Michel RP, Compton CC, Lugli A, Jass JR. Scoring of p53, VEGF, Bcl-2 and APAF-1 immunohistochemistry and interobserver reliability in colorectal cancer. Mod Pathol 2006; 19: 1236-42. ArticlePubMedPDF
  • 18. Alkushi A, Lim P, Coldman A, Huntsman D, Miller D, Gilks CB. Interpretation of p53 immunoreactivity in endometrial carcinoma: establishing a clinically relevant cut-off level. Int J Gynecol Pathol 2004; 23: 129-37. ArticlePubMed
  • 19. Brodkin J, Kaprio T, Hagstrom J, et al. Prognostic effect of immunohistochemically determined molecular subtypes in gastric cancer. BMC Cancer 2024; 24: 1482.ArticlePubMedPMCPDF
  • 20. Ando K, Oki E, Saeki H, et al. Discrimination of p53 immunohistochemistry-positive tumors by its staining pattern in gastric cancer. Cancer Med 2015; 4: 75-83. ArticlePubMedPDF
  • 21. Rizzardi AE, Johnson AT, Vogel RI, et al. Quantitative comparison of immunohistochemical staining measured by digital image analysis versus pathologist visual scoring. Diagn Pathol 2012; 7: 42.ArticlePubMedPMCPDF
  • 22. Brugmann A, Eld M, Lelkaitis G, et al. Digital image analysis of membrane connectivity is a robust measure of HER2 immunostains. Breast Cancer Res Treat 2012; 132: 41-9. ArticlePubMedPDF
  • 23. Bankhead P, Loughrey MB, Fernandez JA, et al. QuPath: open source software for digital pathology image analysis. Sci Rep 2017; 7: 16878.ArticlePubMedPMCPDF
  • 24. Bankhead P, Fernandez JA, McArt DG, et al. Integrated tumor identification and automated scoring minimizes pathologist involvement and provides new insights to key biomarkers in breast cancer. Lab Invest 2018; 98: 15-26. ArticlePubMedPDF
  • 25. Yan M, Sethi S, Epstein-Peterson Z, Kumar A, Dogan A, Galera P. Correlation between TP53 mutational status and digital quantification of p53 immunohistochemistry in mantle cell lymphoma. Virchows Arch 2025; 487: 659-70. ArticlePubMedPDF
  • 26. Gaber G, El Achy S, Khedr GA, et al. Impact of p53, HIF1a, Ki-67, CA-9, and GLUT1 expression on treatment outcomes in locally advanced cervical cancer patients treated with definitive chemoradiation therapy. Am J Clin Oncol 2021; 44: 58-67. ArticlePubMed
  • 27. Goldsborough T, Philps B, O’Callaghan A, et al. InstanSeg: an embedding-based instance segmentation algorithm optimized for accurate, efficient and portable cell segmentation [Preprint]. Posted 2024 Aug 28. arXiv:2408.15954. https://doi.org/10.48550/arXiv.2408.15954. Article
  • 28. Peduzzi P, Concato J, Kemper E, Holford TR, Feinstein AR. A simulation study of the number of events per variable in logistic regression analysis. J Clin Epidemiol 1996; 49: 1373-9. ArticlePubMed
  • 29. Vittinghoff E, McCulloch CE. Relaxing the rule of ten events per variable in logistic and Cox regression. Am J Epidemiol 2007; 165: 710-8. ArticlePubMed
  • 30. Altman DG, Lausen B, Sauerbrei W, Schumacher M. Dangers of using "optimal" cutpoints in the evaluation of prognostic factors. J Natl Cancer Inst 1994; 86: 829-35. ArticlePubMed
  • 31. Kottner J, Audige L, Brorson S, et al. Guidelines for Reporting Reliability and Agreement Studies (GRRAS) were proposed. J Clin Epidemiol 2011; 64: 96-106. ArticlePubMed
  • 32. Bossuyt PM, Reitsma JB, Bruns DE, et al. STARD 2015: an updated list of essential items for reporting diagnostic accuracy studies. BMJ 2015; 351: h5527.ArticlePubMedPMC
  • 33. McShane LM, Altman DG, Sauerbrei W, et al. Reporting recommendations for tumor marker prognostic studies (REMARK). J Natl Cancer Inst 2005; 97: 1180-4. ArticlePubMed

Figure & Data

References

    Citations

    Citations to this article as recorded by  

      • PubReader PubReader
      • ePub LinkePub Link
      • Cite this Article
        Cite this Article
        export Copy Download
        Close
        Download Citation
        Download a citation file in RIS format that can be imported by all major citation management software, including EndNote, ProCite, RefWorks, and Reference Manager.

        Format:
        • RIS — For EndNote, ProCite, RefWorks, and most other reference management software
        • BibTeX — For JabRef, BibDesk, and other BibTeX-specific software
        Include:
        • Citation for the content below
        Digital image analysis–based quantification of p53 immunohistochemistry in gastric cancer: a systematic comparison of three-tier cutoff-derivation strategies in tissue microarrays
        Close
      • XML DownloadXML Download
      Figure
      • 0
      • 1
      • 2
      • 3
      • 4
      Digital image analysis–based quantification of p53 immunohistochemistry in gastric cancer: a systematic comparison of three-tier cutoff-derivation strategies in tissue microarrays
      Image Image Image Image Image
      Fig. 1. Representative cases and QuPath-based digital quantification of p53 immunohistochemistry. (A, B) Whole tissue-microarray cores (2.0 mm). Tumor regions were manually annotated using the polygon tool, excluding normal mucosa, stroma, and necrosis; the annotation boundary is shown as a black outline. (C, D) Higher-magnification views of the annotated regions in (A) and (B), respectively. Cells were first classified as tumor or non-tumor. Tumor cells were then color-coded by mean nuclear DAB optical density: negative (blue), 1+ (yellow), 2+ (orange), and 3+ (red). Non-tumor (stromal and immune) cells are shown in green. The case in (A) and (C) shows predominantly negative (blue) tumor nuclei, whereas the case in (B) and (D) shows predominantly strongly positive (red) tumor nuclei.
      Fig. 2. Distribution of the digital p53 H-score in the study cohort (n = 528), computed with the primary detector (InstanSeg) and the mean of the three intensity-threshold determinations. Grey bars show the histogram, and the solid black line represents the kernel density estimate. The distribution is markedly right-skewed, with a dense concentration of cores at low H-scores and a secondary rise in density above an H-score of approximately 200. Vertical lines indicate the lower and upper cutoffs derived by each of the five thresholding strategies: manual (blue), log-rank optimization (purple), tertiles (dark green), extended Youden index (red), and receiver operating characteristic (ROC) surface (volume under the ROC surface [VUS]; orange).
      Fig. 3. Representative p53 immunohistochemistry at the proposed cutoff boundaries. Cases were deliberately selected to lie immediately adjacent to the extended Youden index thresholds (14.5 and 100.8) to allow visual assessment of the transition at the cutoff itself rather than between extremes. Each panel shows a representative field with its corresponding QuPath overlay. (A) H-score 9.6: low expression (minimal nuclear staining). (B) H-score 15.2: wild-type (scattered weak-to-moderate nuclear staining). (C) H-score 98.6: wild-type (moderate, non-diffuse staining). (D) H-score 123.9: overexpression (diffuse strong nuclear positivity). For all four cases, the digital assignment, the manual three-tier immunohistochemistry interpretation, and the manual H-score category were concordant.
      Fig. 4. Kaplan-Meier overall survival stratification by p53 expression using the extended Youden index. (A) Three-group stratification into low (≤14.5), wild-type (>14.5 to ≤100.8), and overexpression (>100.8) H-score categories (global log-rank p = .003). (B) Two-group comparison of aberrant (low + overexpression) versus wild-type p53. In both panels, the number-at-risk table is shown below the curves, tick marks denote censored observations, and the hazard ratio for aberrant versus wild-type p53 (from the stage-stratified multivariable Cox model adjusted for age, sex, poor differentiation, and signet-ring cell component) is annotated within each panel (hazard ratio [HR], 1.81; 95% confidence interval [CI], 1.05 to 3.10). Bootstrap resampling (2,000 replicates) of this effect yielded a stable median HR of 1.83 (2.5–97.5th percentile, 1.08 to 3.24). Results for the other four thresholding methods are provided in Supplementary Fig. S3.
      Graphical abstract
      Digital image analysis–based quantification of p53 immunohistochemistry in gastric cancer: a systematic comparison of three-tier cutoff-derivation strategies in tissue microarrays
      Characteristic AGC (n = 209) EGC (n = 319) Total (n = 528) p-value
      Age (yr) 61.4 ± 13.3 59.8 ± 11.7 60.4 ± 12.4 .156
      Sex .775
       Male 144 (68.9) 215 (67.4) 359 (68.0)
       Female 65 (31.1) 104 (32.6) 169 (32.0)
      T category <.001
       T1 0 319 (100.0) 319 (60.4)
       T2 49 (23.4) 0 49 (9.3)
       T3 103 (49.3) 0 103 (19.5)
       T4 57 (27.3) 0 57 (10.8)
      N category <.001
       N0 73 (34.9) 263 (82.4) 336 (63.6)
       N1 32 (15.3) 25 (7.8) 57 (10.8)
       N2 27 (12.9) 5 (1.6) 32 (6.1)
       N3a 39 (18.7) 1 (0.3) 40 (7.6)
       N3b 27 (12.9) 0 27 (5.1)
      AJCC 8th pStagea <.001
       Stage I 24 (11.5) 288 (90.3) 312 (59.1)
       Stage II 78 (37.3) 6 (1.9) 84 (15.9)
       Stage III 96 (45.9) 0 96 (18.2)
      Lymphatic invasion <.001
       Absent 83 (39.7) 270 (84.6) 353 (66.9)
       Present 126 (60.3) 49 (15.4) 175 (33.1)
      Venous invasion <.001
       Absent 171 (81.8) 313 (98.1) 484 (91.7)
       Present 38 (18.2) 6 (1.9) 44 (8.3)
      Perineural invasion <.001
       Absent 104 (49.8) 314 (98.4) 418 (79.2)
       Present 105 (50.2) 5 (1.6) 110 (20.8)
      Resection margin .003
       Negative 201 (96.2) 318 (99.7) 519 (98.3)
       Positive 8 (3.8) 1 (0.3) 9 (1.7)
      Signet-ring component .048
       Absent 130 (62.2) 170 (53.3) 300 (56.8)
       Present 79 (37.8) 149 (46.7) 228 (43.2)
      Differentiationb <.001
       WD 14 (6.7) 63 (19.7) 77 (14.6)
       MD 62 (29.7) 87 (27.3) 149 (28.2)
       PD 133 (63.6) 169 (53.0) 302 (57.2)
      Lauren classification .002
       Intestinal 83 (39.7) 157 (49.2) 240 (45.5)
       Diffuse 69 (33.0) 115 (36.1) 184 (34.8)
       Mixed 57 (27.3) 47 (14.7) 104 (19.7)
      p53 expression (manual IHC interpretation)c .003
       Null 37 (17.7) 36 (11.3) 73 (13.8)
       Wild-type 108 (51.7) 211 (66.1) 319 (60.4)
       Overexpression 64 (30.6) 72 (22.6) 136 (25.8)
      p53, aberrant grouping (manual IHC)c .001
       Wild-type 108 (51.7) 211 (66.1) 319 (60.4)
       Aberrant (null + overexpression) 101 (48.3) 108 (33.9) 209 (39.6)
      Overall survival status <.001
       Alive 151 (72.2) 317 (99.4) 468 (88.6)
       Dead 58 (27.8) 2 (0.6) 60 (11.4)
      Cutoff method Cutoffs Low, n (events) Wild-type, n (events) Overexpression, n (events) Global log-rank pa,b
      Manual 8.0/106.0 70 (11) 324 (27) 134 (22) .012
      Tertiles 27.6/78.6 176 (24) 176 (9) 176 (27) .005
      Log-rank optimization 21.3/95.7 136 (23) 249 (14) 143 (23) <.001c
      Extended Youden index 14.5/100.8 99 (16) 288 (21) 141 (23) .003
      ROC surface (VUS) 12.4/103.8 88 (15) 302 (22) 138 (23) .002
      Cutoff method Cutoffs Lower Δb Upper Δ Total deviation Concordant n (%)c κ Linear-weighted κ Aberrant sensitivityd Aberrant specificity
      Tertiles 27.6/78.6 +19.6 −27.4 47.0 380 (72.0) 0.580 0.648 1.000 0.543
      Log-rank optimization 21.3/95.7 +13.3 −10.3 23.6 453 (85.8) 0.766 0.800 1.000 0.769
      Extended Youden index 14.5/100.8 +6.5 −5.2 11.7 492 (93.2) 0.881 0.896 1.000 0.889
      ROC surface (VUS) 12.4/103.8 +4.4 −2.2 6.6 506 (95.8) 0.926 0.935 1.000 0.932
      Cutoff strategy (lower/upper) Aberrant vs. wild-type HR (95% CI) p-value
      Manual (8.0/106.0) 1.63 (0.97–2.76) .066
      Tertiles (27.6/78.6) 2.50 (1.21–5.14) .013
      Extended Youden index (14.5/100.8) 1.81 (1.05–3.10) .032
      Log-rank optimization (21.3/95.7)a 2.65 (1.43–4.88) .002
      ROC surface, VUS (12.4/103.8) 1.91 (1.12–3.27) .018
      Variable Adjusted HR (95% CI) p-value
      Aberrant p53 (vs. wild-type) 1.81 (1.05–3.10) .032
      Age (per 1 year) 1.03 (1.01–1.06) .002
      Female sex (vs. male) 1.14 (0.66–1.95) .640
      Poor differentiation (vs. other) 1.99 (1.03–3.85) .041
      Signet-ring-cell component (vs. none) 1.09 (0.59–2.01) .777
      Table 1. Clinicopathologic characteristics of the study cohort according to tumor stage group

      Values are presented as mean ± SD or number (%). p-values are determined by independent t-test (Welch) for age and chi-square test (or Fisher's exact test for 2 × 2 tables) for categorical variables.

      AGC, advanced gastric cancer; EGC, early gastric cancer; AJCC, American Joint Committee on Cancer; WD, well differentiated; MD, moderately differentiated; PD, poorly differentiated; IHC, immunohistochemistry; SD, standard deviation.

      AJCC 8th edition pathologic stage derived from pT and pN; T4 treated as T4a. All patients underwent gastrectomy with curative intent and were M0 at surgery, so no case was assigned to stage IV. Nodal status (hence stage) is missing in 36 cases (11 AGC, 25 EGC); percentages are calculated over the full group, so N-category and stage rows may not sum to 100%;

      Histologic differentiation is grouped as WD, MD, or PD;

      p53 by manual three-tier IHC interpretation (null/wild-type/overexpression); aberrant denotes null plus overexpression.

      Table 2. Three-tier classification and overall survival according to five H-score cutoff strategies

      Final analytic cohort (n = 528, 60 deaths). H-scores were computed with the primary detector (InstanSeg) using the mean of the three intensity-threshold determinations.

      ROC, receiver operating characteristic; VUS, volume under the ROC surface.

      Group sizes are given as n (number of deaths). The reported p-value is the global (three-group) log-rank p-value. Multivariable hazard ratios for the aberrant versus wild-type comparison are reported in Table 4;

      Pairwise log-rank comparisons showed that the low and overexpression groups did not differ significantly for any method (p = .48–.95), whereas both differed from wild-type. This supports their combination into a single aberrant category;

      For the log-rank-optimized cutoffs, the nominal p-value is optimistically biased because the cutoffs were selected from the same survival data. After adjusting for the multiplicity of the cutpoint search (maximally selected rank statistics; Lausen-Schumacher approximation), the maximally selected statistic of 2.56 corresponded to an adjusted p-value of .168. Therefore, this strategy is reported as exploratory.

      Table 3. Concordance of the four data-derived cutoff strategies with the manual H-score cutoff methoda

      Final analytic cohort (n = 528). The manual H-score cutoffs (8.0 and 106.0) served as the common comparator, yielding three groups: 70 low, 324 wild-type, and 134 overexpression cases.

      κ, Cohen's kappa; ROC, receiver operating characteristic; VUS, volume under the ROC surface.

      The extended-Youden and ROC-surface cutoffs were derived against the pathologists’ three-tier immunohistochemistry interpretation of these same images as the reference standard. The comparator used in this table—the manual H-score cutoffs—is a separate classification, but it was set by the same pathologists on the same images and agrees with the reference standard in 493 of 528 cores (93.4%; κ = 0.878). The agreement reported here therefore reflects internal consistency rather than independent validation. Measured directly against the reference standard, the five classifications agree in 93.4% (manual), 72.2% (tertiles), 85.2% (log-rank), 91.5% (extended Youden) and 93.4% (ROC surface) of cores. The tertile and log-rank cutoffs were derived without reference to the manual interpretation;

      Δ denotes the difference between each data-derived cutoff and the corresponding manual cutoff; total deviation is the sum of the two absolute differences. Positive values indicate a higher cutoff than the manual threshold;

      Concordance denotes exact agreement of the three-tier assignment with the manual-cutoff classification. All discordances occurred between adjacent categories. Full confusion matrices are provided in Supplementary Table S8;

      Sensitivity and specificity refer to the detection of the aberrant pattern (low plus overexpression) as defined by the manual cutoffs. The manual cutoffs define the narrowest aberrant category of the five—the lowest lower cutoff (8.0) and the highest upper cutoff (106.0). Every core called aberrant by the manual cutoffs is therefore also called aberrant by every data-derived method, so sensitivity is 1.000 by construction and the methods differ only in specificity;

      Table 4. Multivariable Cox proportional-hazards analysis of aberrant (low + overexpression) versus wild-type p53 by cutoff strategy

      Final analytic cohort (n = 528, 60 deaths). Models were stratified by tumor stage (advanced vs. early gastric cancer) and adjusted for age, sex, poor differentiation, and signet-ring cell component.

      Stage was handled by stratification rather than as a covariate because deaths occurred almost exclusively in the advanced gastric cancer group (58 of 60 deaths).

      HR, hazard ratio; CI, confidence interval; ROC, receiver operating characteristic; VUS, volume under the ROC surface.

      The log-rank–optimized cutoffs are derived from the same survival data used for testing and are therefore exploratory. After adjusting for the multiplicity of the cutpoint search (maximally selected rank statistics), the log-rank–optimized cutpoint was no longer significant (adjusted p = .168).

      Table 5. Fully adjusted Cox proportional-hazards model for the primary classification (extended Youden index)

      Final analytic cohort (n = 528, 60 deaths). The model was stratified by tumor stage (advanced vs. early gastric cancer).

      Stage was handled by stratification rather than as a covariate because deaths occurred almost exclusively in the advanced gastric cancer group (58 of 60 deaths). The proportional-hazards assumption was satisfied for all terms (scaled Schoenfeld residuals, global p = .15).

      HR, hazard ratio; CI, confidence interval.


      J Pathol Transl Med : Journal of Pathology and Translational Medicine
      TOP