Introduction

Pancreatic cancer (PC) has high malignancy and poor prognosis. Most PC patients develop symptoms at an advanced stage, and very few survive more than five years1,2. Advanced PC patients are deprived of surgery, and the main treatment is chemotherapy. With 495,773 new cases in 2020, PC was the seventh leading cause of cancer-related death worldwide and is projected to surpass breast cancer as the second leading cause of cancer-related death in the United States by 20303,4. PC tends to occur in the elderly, with a higher incidence in males than females and a larger gap in countries with higher development indexes5.

The number of cancer survivors has greatly increased in recent decades due to advances in early diagnosis and the diversification of anti-cancer drugs6. Cancer survivors have a higher risk of developing or dying from secondary primary tumors than the general population7. Moreover, thyroid cancer is a tumor with a very good prognosis. Its incidence ranks ninth among malignant tumors and is significantly higher in females than males4. However, the long-term survival of thyroid cancer patients increases the likelihood of developing a second primary tumor. For example, hypothyroidism is associated with autoimmune pancreatitis, a potential risk factor for PC8,9. Prior thyroid cancer has been found in many studies as a favorable prognostic factor for second primary tumors10,11. Thyroid cancer is also beneficial for the survival of subsequent liver cancer10 and breast cancer11. Nevertheless, research about the association between prior thyroid cancer and PC is rare, and further studies are required on these two cancers with very different prognoses.

Therefore, in the present study, we used SEER*Stat software version 8.4.0 to download datasets from the Surveillance, Epidemiology, and End Results Program (SEER) database. Then, we investigated prognostic factors associated with PC survival and analyzed the association between prior thyroid cancer and PC-specific mortality in PC patients.

Materials and methods

Data sources

We retrieved data on PC patients with at least 18 years between 2010 and 2015 from the SEER database. The SEER database provides free access to cancer patient information from over a dozen registries in the United States collected for decades, including demographic information, tumor type, disease stage, treatment strategy, and survival prognosis12. We downloaded data from Incidence-SEER Research Plus Data from 18 Registries based on the November 2020 submission. PC was identified under the International Classification of Diseases of Oncology, Third Edition ICD-O-3: C25.0, C25.1, C25.2, C25.3, C25.4, C25.7, C25.8, and C25.9.

Inclusion and exclusion criteria

The inclusion criteria included: (1) PC patients diagnosed between 2010 and 2015; (2) > 17 years; (3) histologic type code: 8140, 8480, 8500, 8246, 8010, 8012, 8013, 8020, 8021, 8041, 8046, 8070, 8150, 8240, 8244, 8249, 8481, 8490, and 8560; (4) complete survival information. The exclusion criteria were: (1) survival time < 1 month; (2) unknown race; (3) unknown tumor size; (4) unknown SEER cause-specific death classification; (5) patients with a history of PC. The flowchart of patient selection is shown in Fig. 1.

Figure 1
figure 1

Flowchart of patients’ selection. PSM propensity score matching.

Patient’s clinical characteristics

We collected patient clinical characteristics, including age at diagnosis, sex, race, the primary site of the tumor, tumor size, grade, histological subtype, AJCC TNM (7th) status, radiotherapy, chemotherapy, surgery, survival time, survival status, and the SEER cause-specific death classification.

Definition of variables

Prior thyroid cancer refers to thyroid cancer diagnosed earlier than PC. The identification of thyroid cancer was based on the International Classification of Diseases for Oncology, Third Edition ICD-O-3:C73.9, the thyroid gland. We classified pancreatic cancer into four histological subtypes based on the histological subtype coding: adenocarcinoma, infiltrating duct carcinoma, neuroendocrine carcinoma, and others13. We divided the survival status of PC patients into (1) alive; (2) PC-specific death; (3) death due to other causes. The continuous variables (age and tumor size) were divided into three categorical variables based on the optimal cut-off values using X-tile (v. 3.6.1) (Fig. 2). X-tile is a bioinformatics tool that can classify continuous variables into categorical variables based on outcome-based cut-point optimization14.

Figure 2
figure 2

Patient numbers and survival curves generated by X-tile software. (a) Number of patients at different ages of diagnosis. (b) Survival curves for three age ranges. (c) Number of patients with different tumor sizes. (d) Survival curves for three tumor size ranges.

Statistical analysis

Continuous variables with non-normal distribution are expressed as medians and quartiles [M (Q1, Q3)]. Categorical variables are expressed as numbers and component ratios (n, %). The Mann–Whitney U rank-sum test was used to compare differences among continuous variables with non-normal distribution, while the χ2 and Fisher's exact tests were used to compare differences among categorical variables.

The propensity score matching (PSM) can reduce confounding factors and increase the comparability between groups15. We used the “Matchlt” R package to implement PSM by taking age and gender as scoring factors. We set the caliper value to 0.1 and the matching ratio to 1:10; that is, each PC patient with a history of thyroid cancer was matched with 10 PC patients without a history of thyroid cancer.

The end events of interest were overall survival (OS) and cancer-specific survival (CSS). OS refers to the time interval of PC patients from diagnosis to death, while CSS refers to the time interval of PC patients from diagnosis to death due to PC. The Kaplan–Meier (KM) method and log-rank test were used for survival analysis, and the OS rate was plotted by the KM method. Univariate and multivariate survival analyses were used to study the association between OS and each variable. In the competing risk model, death due to other causes was considered the competing event. Univariate and multivariate analyses of CSS were also conducted to study the association between PC-specific death and each variable. The competing risk model analysis was implemented using the “Cmprsk” R package.

In the subgroup analysis, PC patients were divided into three subgroups based on histological subtypes: 1. adenocarcinoma and infiltrating ductal carcinoma; 2. neuroendocrine carcinoma; 3. other histological subtypes.

R 4.1.3 and SPSS (v. 26.0, IBM, Armonk, NY, USA) were used for all data analyses. All statistical tests were bilateral, and the cut-off p-value for the statistical difference was 0.05.

Ethics declarations

All data in this paper can be obtained from the SEER database. Since the SEER database is publicly available and anonymous to all patient information, informed consent and ethical approval were not required. This study strictly followed relevant guidelines and regulations to implement all methods.

Results

Patients’ clinicopathological baseline information

We selected 33,431 PC patients, 33,328 without and 103 with prior thyroid cancer. Among demographic factors, race and age at diagnosis did not differ between the two groups. Most PC patients were white and younger than 68 years. Meanwhile, the two groups significantly differed in sex, tumor size, the primary site of the tumor, and survival months. PC patients with a history of thyroid cancer had longer survival than those without (p < 0.05). Compared to PC patients without a history of thyroid cancer, PC patients with a history of thyroid cancer had a higher rate of women, tumors larger than 3.5 cm or smaller than 2.6 cm, and primary site in the tail of the pancreas (Supplementary Table 1). Most of the 103 thyroid cancer patients had thyroid tumors smaller than 3 cm and underwent surgery. (Supplementary Table 2).

Patient clinicopathological baseline information after PSM

Based on the PSM, we selected 1133 from 33,328 PC patients, 1030 without and 103 with prior thyroid cancer. Among demographic factors, the two groups did not differ regarding age at diagnosis, sex, and race. Meanwhile, tumor size, radiation therapy, and the primary site of the tumor were significantly different. Compared to PC patients without a history of thyroid cancer, those with a history of thyroid cancer had a higher rate of tumors larger than 3.5 cm or smaller than 2.6 cm, primary site in the tail of the pancreas, and radiation treatment. The median survival of PC patients with and without prior thyroid cancer were 9 and 11 months, respectively, but did not statistically differ (Table 1).

Table 1 Patients’ clinicopathological baseline information.

Univariate and multivariate Cox survival analyses of OS in PC patients

The median OS of PC patients with and without prior thyroid cancer was 12 and 9 months, respectively, but did not statistically differ (p > 0.05) (Supplementary Fig. 1). The KM survival analyses of different subgroups is shown in Supplementary Table 3. The factors that were statistically significant with OS in PC patients in the univariate analysis were age, race, tumor size, grade, the primary site of the tumor, histological subtype, AJCC T status, AJCC N status, AJCC M status, radiotherapy, and surgery. In the multivariate analysis of OS, the age, race, tumor size, grade, histological subtype, AJCC T stage, AJCC N stage, AJCC M stage, chemotherapy, and surgery were statistically significant. The favorable factors for OS included race as other, primary site in the tail of the pancreas, neuroendocrine carcinoma or other histological subtypes, chemotherapy, and surgery. The unfavorable factors for OS included age > 68, tumor > 3.5, moderately differentiated, poorly differentiated, T3, N1, and M1(Table 2). The univariate and multivariate Cox survival analyses in different subgroups of PC patients are presented in Supplementary Table 4.

Table 2 Univariate and multivariate Cox survival analyes of OS in PC patients.

Association between the history of thyroid cancer and PC-specific mortality in PC patients

The cumulative PC-specific mortality in PC patients with and without a history of thyroid cancer is presented in Fig. 3. PC patients with a history of thyroid cancer had lower PC-specific mortality than those without (p < 0.05). In the Fine and Gray's competing risk model, the multivariate analysis of CSS in PC patients is shown in Table 3. The history of thyroid cancer was associated with a 0.278-fold reduction in PC-specific mortality [Hazard Ratio (HR) = 0.722, 95% confidence interval (CI): 0.542–0.961, p = 0.026]. Therefore, prior thyroid cancer might be a favorable prognostic factor for PC-specific mortality in PC patients.

Figure 3
figure 3

Cumulative incidence of PC-specific death in PC patients with and without prior thyroid cancer. PC pancreatic cancer.

Table 3 Multivariate analysis of CSS in PC patients.

Association between the history of thyroid cancer and PC-specific mortality in different gender PC patients

For male PC patients, a history of thyroid cancer could reduce PC-specific mortality by 0.494 times (HR = 0.506, 95% CI 0.281–0.912, p = 0.023). On the other hand, for women PC patients, the history of thyroid cancer had no significant effect on PC-specific mortality (HR = 0.883, 95% CI 0.651–1.199, p = 0.430). The cumulative PC-specific mortality between PC patients with and without a history of thyroid cancer in males and females are presented in Fig. 4a and b, respectively. The subgroup analysis showed no statistically significant effect of prior thyroid cancer on PC-specific mortality in males and females in different subgroups of PC patients (Supplementary Table 5).

Figure 4
figure 4

Cumulative incidence of PC-specific death between female and male PC patients with and without prior thyroid cancer. (a) Males. (b) Females. PC pancreatic cancer.

Association between the history of thyroid cancer and PC-specific mortality in PC patients with different histological subtypes

The PC-specific cumulative mortality significantly varied among PC patients with different histological subtypes, and it was the highest in PC patients with the adenocarcinoma subtype (Supplementary Fig. 2). Therefore, we analyzed the effects of the history of thyroid cancer on PC-specific mortality in PC patients with different histological subtypes. Because the number of PC patients with a history of thyroid cancer in the pancreatic neuroendocrine tumor histological subtype was small, the difference in PC-specific mortality between patients with and without a history of thyroid cancer could not be calculated. For the other three histological subtypes, the history of thyroid cancer had no significant effect on PC-specific mortality (Table 4). The PC-specific mortality between PC patients with and without a history of thyroid cancer in four tumor histological subtypes is shown in Supplementary Fig. 3. Interestingly, the PC-specific mortality in PC patients with a history of thyroid cancer was higher than in those without a history of thyroid cancer in infiltrating duct carcinoma histological subtype.

Table 4 Effects of prior thyroid cancer on survival of PC patients based on gender grouping and tumor histological subtype grouping.

Discussion

Cancer survivors have greatly increased in the past few decades thanks to breakthroughs in early diagnosis and treatment, projected to reach 22.1 million in the United States by 203016. Long-term cancer survivors face various consequences of cancer and treatment, including an increased likelihood of a diagnosis of a second primary tumor17. The thyroid hormone plays an important role in digestive system tumors18. However, the role of a history of thyroid cancer in PC patients’ prognosis remains unclear. Thus, we carried out a SEER population-based study to investigate the impact of prior thyroid cancer on PC. We analyzed PC patients’ OS and CSS and found that age, race, grade, chemotherapy, surgery, AJCC TNM status, and histological subtype were independent predictors of OS and CSS in PC patients. A history of thyroid cancer could reduce PC-specific mortality in PC patients. In the subgroup analysis, the history of thyroid cancer could reduce the PC-specific mortality in male PC patients but not in female ones. The prior thyroid cancer had no significant effect on PC-specific mortality in PC patients with various histological subtypes.

The thyroid hormone can regulate the growth and homeostasis of the digestive tract by binding to hormone receptors18. Previous studies have also found that hyperthyroidism can increase the risk of PC19. The main treatment option for thyroid cancer is surgery, after which patients would develop hypothyroidism; thus, thyroid hormone replacement therapy is required20. One study has found that PC patients with hypothyroidism who took exogenous thyroid hormones had more malignant PC biological behavior and worse prognosis21. Moreover, cell line experiments have shown that exogenous thyroid hormones can increase the malignant ability of PC cells21. This result suggested that thyroid hormones might be detrimental to survival in PC patients. Thus, we hypothesized that the relatively low thyroid hormone levels in PC patients with prior thyroid cancer might benefit their prognosis. Cancer survivors will strengthen primary tumor monitoring, leading to earlier detection of a second primary tumor22. Additionally, cancer survivors might make lifestyle changes after diagnosis or treatment to have a healthier lifestyle23. A healthy lifestyle can reduce the risk of recurrence, secondary primary tumors, and chronic cardiovascular disease in these cancer survivors24,25.

Herein, the median OS of PC patients with prior thyroid cancer was 12 months, longer than the median OS of 9 months in patients without prior thyroid cancer. Although there was no statistical difference in median OS between the two groups, large-sample prospective studies are still needed to investigate the role of prior thyroid cancer in PC prognosis. A previous study has shown that prior thyroid cancer can reduce the incidence of dying from liver cancer only in female patients10. Interestingly, we found reduced PC-specific mortality only in male PC patients with prior thyroid cancer. Thyroid cancer is more likely to occur in females, but male patients have a higher malignant grade and worse prognosis26. Older age and later diagnosis of male thyroid cancer patients might be associated with poor prognosis27. Estrogen can also enhance the proliferation of thyroid cancer cells28,29. Thus, we speculated that differences in estrogen levels between male and female patients might lead to differences in the role of prior thyroid cancer in PC patients.

This was a large population-based retrospective study, and the PSM method was used to reduce confounding factors between groups to increase comparability. The prognosis of thyroid cancer is very different from PC, and we studied the role of prior thyroid cancer in PC prognosis for the first time. However, our current study also has some limitations. First, patients were mostly white and black. Different countries have different races, and disease susceptibility and treatment vary in different countries. Second, the SEER database lacks patient-specific treatment regimens, such as unknown chemotherapy drugs and cycles. Third, this retrospective study needs further verification in prospective research.

Conclusion

Prior thyroid cancer did not affect the OS of PC patients. However, it reduced PC-specific mortality in male PC patients. The PC-specific cumulative mortality was the highest in PC patients with the adenocarcinoma subtype. These results indicated that attention should be paid to the tumor history in pancreatic cancer treatment, especially the history of thyroid cancer.