Introduction

Hepatocellular carcinoma (HCC) represents a leading cause of cancer mortality worldwide1. Therapeutic options include tumor resection or ablation, transarterial chemoembolisation, liver transplantation and treatment with the tyrosine kinase inhibitor sorafenib2. However, HCC is often diagnosed at advanced disease stages that allow only palliative treatments. Therefore, investigation of new therapeutic approaches in HCC is required.

Immunotherapy with immune checkpoint inhibitors is clinically approved for treatment of melanoma, non-small cell lung cancer, renal and bladder cancers3. Extension of this therapeutic concept to other malignancies including HCC is currently focus of basic and clinical research4,5,6,7. The immune phenotype is a relevant prognostic factor in various tumors8,9. The degree and distribution of immune cell infiltration might also stratify patients into responders and non-responders to anticancer therapies8,10,11,12.

Immunohistochemistry (IHC) and flow cytometry are common techniques to analyze the immune cell composition of tumors but these techniques have limitations. Only few immune cell types can be evaluated at once by IHC and the unambiguous assignment of certain cell types by flow cytometry is usually based on several marker proteins, which is limited by the number of fluorescence channels. The systems biology tool CIBERSORT employs deconvolution of bulk gene expression data and a sophisticated algorithm for in silico quantification of many immune cell types in heterogeneous samples as tumor stroma13. Gene expression data can be obtained for a huge number of tumor samples, which allows identification of immune cell-based prognostic and therapeutic markers by CIBERSORT after stratification into molecular subtypes.

High resolving power is a key benefit of CIBERSORT, which enumerates 22 immune cell types at once and applies signatures from ~500 marker genes to quantify the relative fraction of each cell type13. The method was successfully validated by FACS and used for determination of the immune cell landscapes in several malignant tumors such as colon, lung and breast9,13,14,15.

Here, we used CIBERSORT for deconvolution of global gene expression data to define the immune cell landscape of healthy human livers, HCC and HCC-adjacent tissues. Our data also uncovered distinct immune phenotypes for molecular HCC subclasses.

Results

Adaptive immune cells in HCC

The fraction of total T cells, B cells and naïve B cells was higher in HCC and HCC adjacent tissue (TaT) than in healthy liver tissue (Fig. 1A–C, Table 1). TaT contained even more T cells than HCC (Fig. 1A). Plasma cells were mainly present in healthy livers and less frequent in HCC and TaT (Fig. 1D). Memory B cells were not significantly altered between tissues (Fig. 1E).

Figure 1
figure 1

Adaptive immunity cells in human HCC tumor tissue (HCC), adjacent tissue (TaT) and healthy. liver (HL). CIBERSORT immune cell fractions were determined for each patient; each dot represents one patient. Mean values and standard deviations for each cell subset including total T cells (A), total B cells (B), naïve B cells (C), plasma cells (D) and memory B cells (E) were calculated for each patient group and compared using one-way ANOVA. *p < 0.05; **p < 0.01.

Table 1 Comparison of CIBERSORT immune cell fractions between HCC, HL and TaT.

The three main T cell subpopulations in tissues were CD4+ memory resting T cells, CD8+ T cells and follicular helper T cells. They were increased in HCC and TaT when compared to healthy liver (Fig. 2A–C, Table 1). Moreover, a small fraction of CD4+ memory activated T cells was also increased in HCC and TaT (Fig. 2E). In contrast, gamma delta T cells and regulatory T cells were decreased in HCC when compared to healthy liver (Fig. 2D,F, Table 1). CD8+ T cells and Tregs were more frequent whereas follicular helper T cells were less frequent in TaT than in tumor tissues (Fig. 2B,C,F).

Figure 2
figure 2

T cell subfractions in human HCC tumor tissue (HCC), adjacent tissue (TaT) and healthy liver. (HL). CIBERSORT immune cell fractions were determined for each patient; each dot represents one patient. Mean values and standard deviations for each cell subset including CD4 memory resting cells (A), CD8 cells (B), follicular helper (C), T cells gamma delta (D), CD4 memory activated (E) and Tregs (F) were calculated for each patient group and compared using one-way ANOVA. *p < 0.05; **p < 0.01.

Innate immune cells in HCC

The fraction of macrophages was higher in HCC than in healthy liver and TaT (Fig. 3A). In contrast, monocytes and total mast cells were decreased in HCC (Fig. 3B,C). Fractions of total natural killer (NK) cells, neutrophils, total dendritic cells and eosinophils were not significantly altered among tissues (Fig. 3D–G). Subpopulation analysis revealed that resting dendritic cells (DC) were increased in TaT, whereas activated DC, activated NK and resting NK fractions did not differ (Supplementary Figure 1).

Figure 3
figure 3

Innate immune response cells in human HCC tumor tissue (HCC), adjacent tissue (TaT) and healthy liver (HL). CIBERSORT immune cell fractions were determined for each patient; each dot represents one patient. Mean values and standard deviations for each cell subset including total macrophages (A), total mast cells (B), monocytes (C), total NK cells (D), neutrophils (E), total dendritic cells DC (F) and eosinophils (G) were calculated for each patient group and compared using one-way ANOVA. *p < 0.05; **p < 0.01.

M1 macrophages comprised 8.9 ± 3.5% (p < 0.001, n = 198) of total immune cells in HCC. M1 fraction was higher in HCC and TaT than in healthy liver (Fig. 4A). Immune-suppressive, proangiogenic M2 macrophages were specifically enriched in HCC (17.1 ± 7.3%, n = 198, vs 11.0 ± 10.3%, n = 16, in normal tissue, p < 0.001) but not in TaT (Fig. 4B). Correspondingly, the M2/M1 macrophage ratio was higher in HCC than in TaT (Fig. 4C). M0 macrophages comprised 0.9 ± 2.1% (p < 0.001, n = 198) of total immune cells in HCC and were comparable between HCC, TaT and healthy liver (Fig. 4D). Resting mast cells were strongly increased in HCC and TaT when compared to healthy liver, whereas activated mast cells were decreased (Fig. 4E,F).

Figure 4
figure 4

Macrophage and mast cell subfractions in human HCC tumor tissue (HCC), adjacent tissue (TaT) and healthy liver (HL). CIBERSORT immune cell fractions were determined for each patient; each dot represents one patient. Mean values and standard deviations for each cell subset including M1 macrophages (A), M2 macrophages (B), M2/M1 ratio (C), M0 macrophages (D), resting mast cells (E) and activated mast cells (F) were calculated for each patient group and compared using one-way ANOVA. *p < 0.05; **p < 0.01.

Alternative algorithms are available for immune cell quantification. We applied two of them, xCell16 and EPIC17, in order to compare the results for those immune cells types which significantly differed between HCC and TaT. The results are shown in Supplementary Table 1 and Supplementary Table 2. EPIC allows deconvolution of fewer cell types as compared to CIBERSORT, so that only some correlations could be calculated. Moreover, the estimated fractions are referred to the total cell mixture and not only to the total immune cells, as in CIBERSORT results. However, data for B cells, CD8+ T cells, macrophages and NK cells calculated by EPIC all correlated with CIBERSORT results (Supplementary Table 1). Similarly, xCell algorithm obtained abundance scores which were mostly in qualitative accordance with CIBERSORT deconvolution results (Supplementary Table 2).

To further elucidate the role of mast cell activation in the HCC immune cell network, we analyzed correlations of resting and activated mast cells with other immune cell populations by calculating r2 Pearson correlation coefficients (Supplementary Figure 2). Activated mast cells correlated positively with activated dendritic cells and eosinophils in healthy liver, HCC and TaT. They also correlated positively with other immune cell types of adaptive and innate immune responses in HCC. However, they correlated negatively with plasma cells, Tregs and T follicular helper cells in healthy liver but not in HCC and TaT. Furthermore, activated mast cells correlated positively with gamma delta T cells and naïve B cells in TaT. Resting mast cells correlated positively only with resting NK cells in healthy liver but this correlation was abolished in HCC and TaT. Instead, HCC and TaT showed a correlation between resting mast cells and M0 macrophages (Supplementary Figure 2).

Immune cell patterns in molecular HCC subclasses

Molecular classification of human HCC led to separation of S1, S2 and S3 subclasses, which display activation of specific signaling pathways and different prognoses18. Whereas S1 and S2 exhibit early recurrence and poor prognosis, S3 tumors are well differentiated and show favorable prognosis18. Therefore, we investigated differences in immune cell patterns among HCC subclasses. S3 tumors exhibited increased total mast cells when compared to S1 as well as increased M1 macrophages and memory B cells when compared to S1 and S2 tumors (Table 2). Other innate and adaptive immunity cell fractions were similar between subclasses (Table 2). Thus, different molecular HCC subclasses were associated with distinct immune phenotypes. Viral status (HCV, HBV or negative) had no impact on the immune cell composition except for activated mast cells, which were decreased in HCV and HBV infected patients (Supplementary Table 3).

Table 2 Comparison of immune cell fractions in percent between three molecular HCC subclasses.

The immune cell composition in HCC and TaT differed substantially from that of healthy liver tissue (Fig. 5A–D). In particular, T cells (25.0 ± 8.6%), mast cells (19.0 ± 18.1%) and macrophages (17.3 ± 9.7%) were most frequent in healthy liver (n = 16) and prevailed over NK cells (8.4 ± 10.7, p = 0.04), monocytes (7.8 ± 7.9%, p = 0.008) and neutrophils (7.8 ± 7.6%, p = 0.02). In HCC and TaT, almost 50% of total immune cells were T cells. Macrophages were more frequent than mast cells (Fig. 5A–D). Activated mast cells were barely found in HCC but mainly in healthy liver (Fig. 5B,C). Importantly, higher relative proportion of resting mast cells in HCC showed a trend toward shorter survival of patients (p = 0.13, data not shown)

Figure 5
figure 5

Immune cell composition in HCC tumor (HCC), adjacent tissues (TaT) and healthy livers (HL). (A) Composition of infiltrating immune cells in HCC, TaT and HL summarized from calculated mean values for each patient group. (BD) Quantified changes of infiltrating immune cell composition between TaT and HCC (B), HL and HCC healthy liver and tumor tissue (C) and between HL and TaT (D).

Total Immune cell infiltration and its correlation with immune cell types

The extent of immune cell infiltration into tumors has important prognostic value in HCC and other cancers5,9,15,19. Therefore, we used the p-value of CIBERSORT deconvolution as a surrogate parameter for the magnitude of total immune cell infiltration as lower p-values are associated with higher total infiltration13,15 and assessed correlations with immune cell types. Indeed, CIBERSORT p-value correlated with a new CIBERSORT feature “Absolute Score”. The “Absolute Score” is estimated as the median expression level of all genes in the signature matrix divided by the median expression level of all genes in the mixture. This score is used by the CIBERSORT “absolute mode” (currently under development) to scale the relative cell fractions to absolute abundances (https://cibersort.stanford.edu). As expected, we found that CIBERSORT p-values inversely correlated with the “Absolute Score” (Spearman-Rho correlation coefficient r2 = −0.639, p = 6e-51, n = 432).

The degree of immune cell infiltration into the tumor and surrounding tissue is an important prognostic factor. To characterize the interdependence between immune cell composition and the degree of immune cell infiltration in HCC, we calculated the correlations of 22 immune cell types with CIBERSORT p-values. Our results revealed that CD8+ T cells are mainly associated with high immune cell infiltration into TaT (Fig. 6A). In HCC, high immune cell infiltration was mainly linked with the presence of total B cells, memory B cells, follicular helper T cells and M1 macrophages (Fig. 6B). On the contrary, lower immune cell infiltration in HCC was rather associated with the presence of neutrophils, resting NK cells and resting mast cells (Fig. 6B).

Figure 6
figure 6

Correlations of immune cells with CIBERSORT p-values in HCC tumor and adjacent tissues. Impact of individual immune cell subsets on the total immune cell infiltration within TaT (A) and HCC (B). The dotted line represents p = 0.002 boundary (Bonferroni correction), all the cell subsets above this line are significantly associated with total immune infiltration with p-values < 0.002. The X-axis shows Pearson correlation coefficients between cell subset and CIBERSORT p-values; positive values indicate an infiltration increase with increased cell subset, whereas negative values indicate an infiltration decrease. (C) mast cell tryptase staining in human HCC tissue and the summary of immunohistochemical evaluation in ten human HCC tumor tissues (HCC) and corresponding tumor adjacent tissues (TaT). Mast cell density was calculated across the slide by tissue morphometric analysis and expressed as percent of total cells. Two –tailed p-value p = 0.0098, Wilcoxon singed rank test.

To further explore mast cells abundance in HCC, we used the “absolute mode” of CIBERSORT to quantify the abundances of resting, activated and total mast cells in HCC and TaT (Supplementary Table 5). Absolute values for total and resting mast cells were significantly diminished in HCC tumor tissue as compared to tumor adjacent tissue (Supplementary Table 5).

In order to verify the explorative data obtained for mast cells, we evaluated mast cell density by immunohistochemistry in ten human HCC tumor tissues and ten corresponding adjacent tissues. Examples of mast cell tryptase staining in HCC tissue together and quantification summary are shown in Fig. 6C. In agreement with CIBERSORT results (Supplementary Table 5), mast cell density was reduced in HCC as compared to tumor adjacent tissue.

Discussion

In this study, we applied CIBERSORT to assess differential immune cell infiltration in healthy human liver, HCC and HCC adjacent tissue.

We observed considerable differences in immune cell composition between HCC and healthy liver whereas molecular HCC subclasses displayed only subtle differences. However, S3 tumors showed an enrichment of M1 macrophages which can be tumor-suppressive and might contribute to the favorable prognosis of this HCC subclass20.

To our knowledge, the present study shows for the first time that the mast cells in HCC are largely inactive. Since mast cell activation by IgE is supposed to protect from cancer21, inactivation of mast cells in HCC may facilitate immune escape and thus favor tumor growth.

Although different stimuli can activate mast cells22, CIBERSORT enumerates specifically IgE activated mast cells because the gene expression signature used for deconvolution was obtained from mast cells stimulated by IgE13.

Mast cells are key regulators of immune effector cells23. Therefore, their activation could be a desired aim of immunotherapy. Mast cells are attractive targets as they are abundant and immobile in the liver and in tumors, relatively radioresistant and more resistant to chemotherapeutics than other rapidly dividing immune cells22.

The mechanisms behind mast cell inactivation in HCC remain unknown. Mast cell activator IgE has been detected in HCC, at least in patients with HBV-associated HCC24, and seems not to be a limiting factor. However, tumor cells might release certain metabolites that potentially inhibit mast cell activation. We hypothesize that tumor cell-derived metabolites such as oxidized natural polyamines might be responsible for mast cell inhibition in HCC. Indeed, natural polyamines spermine and spermidine, when oxidized by polyamine oxidase, prevented mast cell activation by IgE in vitro25. Malignant cells contain high concentrations of polyamines26 and polyamine oxidase is highly expressed in the liver27 thus supporting the relevance of polyamine oxidation for HCC. In line, polyamine oxidase inhibitor delayed experimental tumor growth28.

When compared to EPIC and xCell, CIBERSORT is the only algorithm that allows discrimination between resting and IgE activated mast cells. CIBERSORT calculations were confirmed by immunohistochemical mast cell quantification in tumor and adjacent tissues of Austrian HCC patients, a small but completely independent cohort from that used for calculations. Our novel findings on mast cells in HCC provoke more detailed future studies to assess the potential of mast cell activation in HCC immunotherapy.

It has been previously reported, that T and B cells are present in immune cell infiltrates of HCC and that the degree of tumor infiltrating T and B cells correlates with improved survival of HCC patients19. Our data are in agreement with these findings. They also reveal that total B cells and – to a lesser extend - total T cells are significant contributors to the total immune infiltration into HCC tumors (Fig. 6B). Moreover, we identified the involved T and B cell subsets as T follicular helper cells and memory B cells and provide additional important information on the immune cell composition of HCC adjacent tissues.

The prognostic importance of immune cell infiltration has been recognized for different solid tumor types. For example in colon cancer, the so called immunoscore - which reflects the type, number and distribution of immune cells into the tumor - has been introduced and shows prognostic value9. Recent application of the immunoscore in HCC revealed that increased intratumoral densities of CD3+ and CD8+ cells were linked to prolonged survival29,30. Interestingly, immunotherapy can modify infiltration of cytotoxic CD8+ T cells31. We could confirm the presence of CD8+ T cells in HCC tumors. However, tumor adjacent tissue showed even higher CD8+ T cell frequency (Fig. 2B) possibly indicating an impeded infiltration into the tumor.

Whereas surgical resection of human tumors provides tumor tissue and tumor adjacent tissue for research purposes (only if ethical issues are properly considered), the access to liver samples and datasets from healthy humans is much more limited. Healthy liver samples are rare and are mostly collected after a sudden death or at liver transplantation setting, which potentially influences immune infiltration. In addition, the degree of immune infiltration into the healthy liver seems to be lower than in liver cancer. In line, for more than the half of datasets from healthy livers (25 of 41), we did not obtain statistical significance of the deconvolution results (i.e. p < 0.05), probably because of unfavorable signal/noise ratio. However, the most differences between immune cell types remained valid even if less samples only from persons with sudden death were included (not shown).

In summary, we demonstrate that deconvolution of whole tissue gene expression data by CIBERSORT provides refined information on the immune cell landscape of HCC. We show that the presence of resting or activated mast cells is indicative for the presence of other immune cell types and might be relevant for HCC patient prognosis. Deviations of the HCC immunoprofile from healthy liver may become a valuable tool to identify novel targets for immunotherapies and to individualize treatment strategies in patients with HCC.

Materials and Methods

CIBERSORT is an analytical tool which accurately quantifies the relative levels of distinct immune cell types within a complex gene expression mixture (https://cibersort.stanford.edu)13. To characterize and to quantify each immune cell subtype, CIBERSORT uses gene expression signatures consistent of ~500 genes. Here, we applied the original CIBERSORT gene signature file LM22 which defines 22 immune cell subtypes and analyzed datasets from human hepatocellular carcinoma (HCC), HCC tumor adjacent tissue (TaT) and healthy livers (HL). Public available gene expression profiles from human normal tumor-free livers (HL, n = 41), HCC tumors (HCC, n = 305) and HCC tumor adjacent tissues (TaT, n = 82). All GEO numbers are given in Table 3. The data are normalized using the cubic spline algorithm. All samples were analysed for immune cell profiles by CIBERSORT, the number of permutations being set to 10013. 22 immune cell types together with CIBERSORT metrics as Pearson correlation coefficient, CIBERSORT p-value and root mean squared error (RMSE) were quantified for each sample. CIBERSORT p-value reflects the statistical significance of the deconvolution results across all cell subsets and is useful for filtering out deconvolution with less significant fitting accuracy (https://cibersort.stanford.edu). From all the samples analyzed, we have selected 16/198/60 HL/HCC/TaT samples respectively which met the requirements of CIBERSORT p-value ≤ 0.05. The complete list of the selected samples is given in Table 3. Immune cell profile was calculated for each sample and mean values for each tissue type (HL, HCC and TaT) were calculated. One-way- ANOVA was applied to analyze the differences between healthy livers, HCC tumors and adjacent tissues. For resting and activated mast cells, Pearson correlation coefficients with other immune cells types were calculated using SPSS 24.0 software.

Table 3 List of datasets used for estimation of immune cell profiles.

Total macrophage fraction was calculated as a sum of M0, M1 and M2 macrophage fractions. Total T cells were calculated as a sum of CD8+ T cells, CD4+ naïve T cells, CD4+ memory resting T cells, CD4+ memory activated T cells, follicular helper T cells, regulatory T cells (Tregs) and T cells gamma delta fractions.

Log-rank Mantel-Cox test was applied to compare the survival curves between the patient groups using SPSS 24.0 and GpaphPadPrism Software.

To obtain deconvolution of expression data with EPIC17, all expression data have been concatenated in a single file and duplicate gene symbols have been resolved by selecting the gene with the highest mean across all samples. Deconvolution was then performed considering the signature matrix defined for tumor data (“TRef”). The Immune Infiltration was estimated by summing up the fractions of: B cells, CD4+ T cells, CD8+ T cells, macrophages, and natural killer (NK) cells. For comparison with CIBERSORT results, only the immune-cell fractions were extracted from EPIC results and re-normalized so to sum up to one. CIBERSORT fractions for naïve B cells and memory B cells were aggregated into B cells, M0, M1, and M0 macrophages into macrophages, and resting and activated NK cells into NK cells. The agreement between EPIC and CIBERSORT results was estimated with Pearson’s correlation.

For computation of abundance scores with xCell16, all expression data have been concatenated in a single file and duplicate gene symbols have been resolved by selecting the gene with the highest mean across all samples. Abundance scores were then computed from the expression data with xCell (xCellAnalysis function run with the “rnaseq = FALSE” option). For comparison purposes, CIBERSORT fractions for memory CD4+ T cells, NK cells, and mast cells were computed aggregating the proportions of resting and activated cells.

Mast cells were evaluated immunohistochemically using staining for tryptase. After de-paraffinization, heat-induced epitope retrieval was performed. The slides were cooled down, washed twice with PBS and permeabilized by 0.2% Tween in PBS. Unspecific background was blocked by 5% FCS in PBS for 30 min at room temperature. First antibody mouse anti-human mast cell tryptase (clon AA1, BioRad) was diluted 1:10000 in 5% FCS and incubated overnight. After the washing step, Dako polymer (HRP Mouse Envision Kit, Dako, Agilent, USA) was applied for 30 min at room temperature. DAB (Dako, Agilent, USA) chromogen/substrate were applied for 30 s and the slides were washed with aqua dest. Counterstaining was performed by hematoxylin and tryptase-positive cells were evaluated by tissue morphometric analysis of digitized slides using the Tissue Studio® software (Definiens, Munich, Germany). Slides were digitized using a Pannoramic Midi Slide Scanner (3Dhistech, Budapest, Hungary). HCC tumor tissue and corresponding tumor adjacent tissue from ten patients were evaluated. All the patients had histologically confirmed HCC and underwent orthotopic liver transplantation at Vienna General Hospital, Austria. Clinical data of the patients are summarized in Supplementary Table 6. Data analysis was performed in accordance with guidelines of the local Ethics Committee.

Data availability

The complete list of analyzed datasets (ArrayExpress) for each group is given in Table 3. The immune profile datasets generated by CIBERSORT for each sample Table 3 during the current study are available from the corresponding author on reasonable request.