Introduction

Melanoma is the most lethal cutaneous cancer. Ten years ago, the prognosis of metastatic melanoma was poor, with a median overall survival of less than 12 months. With the advent of targeted therapies against BRAF mutations and immunotherapy based on immune checkpoint inhibitors (ICIs), prognosis has improved1. The median overall survival of these patients now exceeds two years and around 40% of the patients become long-term responders2,3,4.

The main limitation of immunotherapy treatment is the presence of primary resistance. One third of the patients have a progression to treatment in the first six months, and an additional 20–30% progress thereafter.

Different predictive markers of response to immunotherapy have been proposed. Tumors with BRAF mutations seem to have a better response to immunotherapy. High expression of PD-L1, a high mutational burden, or a high expression of gamma-interferon signature also correlate with response5,6. However, these methods are not routinely used in the clinic. Therefore, it is still necessary the identification of good biomarkers of response to anti-PD1 inhibitors.

Extracellular vesicles (EVs) are blood-circulating, double-membrane vesicles involved in signaling processes and intercellular communications7. EVs implication in carcinogenesis, tumor progression and immunity is being studied8. The presence of EVs with high levels of PD-L1 has been linked to resistance to immunotherapy9,10.

In the present study, the protein content of circulating EVs was characterized in patients with advanced melanoma who received anti-PD1 therapy. The aim was to find predictive biomarkers of response and characterization of the mechanisms of resistance to this treatment.

Results

Patients’ characteristics

Nine patients diagnosed with advanced melanoma were included in this study. All patients were treated with anti-PD1 inhibitors. Three patients had a response to treatment (one partial response and two stable diseases) while six patients had progressive disease. Detailed clinical data of each patient can be found at Sup Table 1.

EV isolation

EV specific markers (CD63, CD9, CD81) were detected by western blot (Fig. 1A). The isolated EVs showed typical morphology and size (< 200 nm) by electron microscopy (Fig. 1B). The size (< 200 nm) was confirmed by NanoSight, and a concentration of 3.01e-08 particles/mL was measured (Fig. 1C). Full uncropped gel images can be found at Sup Fig. 1.

Fig. 1
Fig. 1
Full size image

Extracellular vesicles (EVs) characterization. (A) Presence of specific EVs markers (CD9, CD63, and CD81) detected by Western Blot in pooled samples in each time point. Pre-Tx: pre-treated samples. Post-Tx: post-treatment samples. Endpoint: Samples at progression or at nine months. (B) Transmission electron microscopy (TEM) images showing the characteristic size and form of the EVs. (C) NTA analysis report showing the average size and concentration of the EVs in one representative sample.

Proteomics experiments

EV content was characterized using MS proteomics. 1,431 proteins were identified by DIA MS proteomics. After removing duplicates and applying quality filters, a database including 969 proteins was further analyzed.

Identification of innate mechanisms of resistance and prediction of response in pre-treated samples

With the aim of characterizing innate mechanisms of resistance to anti-PD1 therapy, differences in pre-treated samples between responding patients and patients who progressed to anti-PD1 therapy were assessed. A functional network was built: this network had 29 functional nodes (Fig. 2A). Patients who progressed to anti-PD1 inhibitors presented higher functional node activity of node1_ adaptive immune response & immunoglobulin. This node was mostly composed of immunoglobulin chains and complement factors (Fig. 2B, Sup Table 2).

Fig. 2
Fig. 2
Full size image

Network analyses to identify biological processes involved in innate mechanisms of resistance to anti-PD1 inhibitors. (A). Network built using the proteins identified in the analysis of extracellular vesicles in pre-treated samples. Each color represents a functional node to which an overrepresented biological function has been asigned. (B). Differential functional node activities according to progression to anti-PD1 inhibitors in pre-treated samples.

Additionally, GSEA was used to identify specific hallmarks of cancer involved in these innate mechanisms of resistance. Samples from responder patients were enriched in proteins related to apical junction, genes downregulated in response to UV radiation, and estrogen early response hallmarks (FDR < 5%) (Sup Table 3). No statistically significant hallmarks were enriched in patients with progressive disease to anti-PD1 inhibitors.

The relation between both functional node activities and individual proteins with PFS has also been studied. Node20 cell-cell adhesion & focal adhesion divided patients into two groups with different PFS (p = 0.05, HR = 3.62, AUC = 0.80) (Fig. 3).

Fig. 3
Fig. 3
Full size image

Predictive value of the functional node 20_cell-cell adhesion & focal adhesion. (A). Progression-free survival in low and high-risk groups identified by the node 20. (B). ROC time-dependent curve of the node 20 predictive signature.

On the other hand, forty-nine individual proteins were correlated with PFS (p-value < 0.05) (Sup Table 4). Of these proteins, eight were selected based on their p-value to build a predictive signature (Table 1; Fig. 4). The individual risk associated with this predictive signature was calculated using the following formula: ∑iwi xi + 25.93092, where wi and xi are the weight and logged protein expression for the i-th gene respectively. A sample is classified as high risk if its prognostic index is larger than − 0.58. After 1,000 random permutations, the p-value obtained for this signature was 0.042 and the AUC was 0.86.

Table 1 Data of the eight proteins that composed the protein predictive signature for progression-free survival to anti-PD1 inhibitors. Wi: weight of protein i.
Fig. 4
Fig. 4
Full size image

Eight protein predictive signature classification. (A). Progression-free survival in low and high-risk groups identified by the eigth protein signature. (B). ROC time-dependent curve of the eigth protein predictive signature.

Identification of acquired mechanisms of resistance in post-treatment samples

With the aim of defining acquired mechanisms of resistance, post-treatment samples were analyzed. Again, a functional network using post-treatment samples was built and functional node activities were used to identify differential biological processes between samples from patients who did or did not progress to anti-PD1 inhibitors. In this case, 30 functional nodes were defined and Node 16_ proteasome complex & metabolism presented differential functional node activity (Fig. 5, Sup Table 5).

Fig. 5
Fig. 5
Full size image

Network analysis to identify biological processes involved in acquired mechanisms of resistance to anti-PD1 inhibitors. (A). Network built using the proteins identified in the analysis of extracellular vesicles in post-treatment samples. Each color represents a functional node to which an overrepresented biological function has been asigned. (B). Differential functional node activities according to progression to anti-PD1 inhibitors in post-treatment samples.

Again, a GSEA was used to define hallmarks of cancer involved in acquired mechanisms of resistance to anti-PD1 therapy in advanced melanoma patients. Samples from patients who had a progression were enriched in cholesterol homeostasis, apical, MTORC1 signaling, MYC targets version1, heme metabolism, interferon alpha response and interferon gamma response gene sets (FDR < 5%) (Sup Table 6). The proteins enriched in interferon response and MYC pathway are proteins related to proteasome. MTORC1 signaling highlighted proteins involved in glycolysis like LDHA, GAPDH, G6P, PGK1, TPI, or GPI (Sup Table 7).

Differences across time in EV protein content according to progression to anti-PD1 inhibitors

Finally, the evolution of EV protein content across time in responding vs. progressing patients was studied. A network using the 969 filtered measured proteins in all samples was built (Fig. 6A). Twenty-seven functional nodes with an overrepresented biological function were defined in this network (Sup Table 8). Then, differences due to progression to treatment were evaluated using mixed lineal models. Node 6_platelet activation and cell adhesion showed a decrease whereas node 15_antigen processing and MHC I showed an increase in patients progressing to anti-PD1 therapy (Fig. 6B).

Fig. 6
Fig. 6
Full size image

Network analyses of the EV proteins measured in all the samples at the three time points. (A). Network using the proteins measured in extracellular vesicles in all the samples. Each color indicates a functional node to which an overrepresented biological function has been asigned. (B). Evolution of the differential functional node activities at the three time points (pre-treated, post-treatment and progression) according to progression to anti-PD1 inhibitors. P-values were calculated using mixed lineal models with fixed effects.

Discussion

This study explores the role of extracellular vesicles (EVs) as carriers of relevant information in tumor progression and resistance to immunotherapy in patients with advanced melanoma. It focuses on the proteomics analysis of EVs isolated from patient samples before and after treatment with PD-1 inhibitors. EVs isolated from cancer patients transmit information that can be related to tumor progression and metastasis. These particles have been proposed not only as diagnostic and prognostic markers but also as therapeutic targets11,12. The role of EVs in melanoma was first described in 1988 by Taylor et al.13, while Mears et al. demonstrated the presence of proteins in melanoma EVs14. However, the studies of EVs in advanced melanoma are scarce, mostly focused on diagnosis rather than in prediction of response. Some studies describing a differential EV content between melanoma patients and healthy controls have been reported. For instance, exosomes expressing caveolin 1 were significantly increased in plasma from melanoma patients compared to healthy donors15. More recently, high levels of PD-L1 in these EVs have been correlated to response to immune checkpoint inhibitors16,17 whereas high levels of PD-1 have been correlated with resistance10,18. In this work, we used mass-spectrometry proteomics to characterize EV cargo at different time points from nine patients with advanced melanoma who received anti-PD1 therapy.

Pre-treated samples were analyzed to search for innate mechanisms of resistance. Adaptive immune response markers and immunoglobulins were higher in EVs from patients who progressed to anti-PD1 inhibitors. This functional node mostly contained immunoglobulins and complement activator factors but also several pro-inflammatory proteins such as CD36 or CD5L. A pro-inflammatory environment is associated with a poor response to immunotherapy19 and another immunosuppressive proteins have been previously found in melanoma-derived exosomes, supporting the possibility of their implication in immune evasion20.

GSEA also highlighted several processes enriched in pre-treated samples from responder patients: apical junction, genes downregulated in response to UV radiation, and genes defining early response to estrogen. Among the proteins involved in response to UV radiation, KIT was enriched in EVs from patients who did not progress. The presence of KIT, a relevant oncogene in melanoma, has been previously described in melanoma exosomes by Lazar et al.21 and its role in this scenario should be further investigated.

Regarding the functional nodes previously identified in the PGM protein network, node 20_cell-cell adhesion & focal adhesion correlated with PFS. This node included integrins, cofilin, myosin, tropomyosins, and tubulins, among others. EVs have an important role in preparing the metastatic niche22, so it is not surprising that this node was related to PFS. It was not possible to determine if the node had prognostic or predictive value, as all patients were treated. However, it seems that EVs containing proteins related to cell-cell adhesion and focal adhesion influence PFS in advanced melanoma.

In addition, an eight protein-based signature predicted response to anti-PD1 therapy in pre-treatment samples. Protein signatures in serum samples from melanoma patients have been previously established, but studies related to response to anti-PD1 inhibitors are scarce. Most of the studies were focused on finding diagnostic signatures, comparing exosome content between melanoma patients and healthy controls. In one study, exosomes from patients with advanced melanoma contained a protein signature including melanoma-specific protein tyrosinase-related protein-2 (TYRP2), very late antigen 4 (VLA-4), HSP70, and MET oncoprotein23. In another study, circulating exosomes from patients with active melanoma contained more S100B and Melanoma Inhibitory Activity (MIA) protein quantity than healthy controls and patients free of disease, MIA also being related with survival24. Finally, in a study of 15 patients with metastatic melanoma, a set of 8 proteins was differentially expressed between patients with progression and those with a response to treatment. However, the samples were collected after treatment, therefore not being suitable for prediction of response before treatment administration, and no detailed information about the administered treatments was provided25. On the contrary, in our series a predictive signature was built from pre-treatment serum samples.

Then, we explored the biological role of these eigth proteins in melanoma. Corneodesmosin (CDSN) protein express mainly in skin tissue26. It is related to corneodesmosomes, which localize to human epidermis and other cornified squamous epithelia, and has been associated with skin diseases such as psoriasis, hypotrichosis and peeling skin syndrome. CDSN seems to be downregulated in metastatic melanoma tissue in comparison with primary melanoma tissue27. A role of ANKRD13A as a gatekeeper of the early cell-death checkpoint, an escape mechanism from cell death in ovary cancer, has been suggested28. ITGA2B has been included in panel of four proteins predicting early breast cancer in serum29. CES1 has been suggested as a potential therapeutic target in melanoma due to its implication in monoacyglycerols metabolism30. No previous reports related to RSBN1L, GP9, PITPNM2 or RAB10 proteins with melanoma disease exist.

Some patients with advanced melanoma initially respond to anti-PD1 therapy but eventually progress, developing acquired or secondary resistance31. With the aim of characterizing acquired mechanisms of resistance, post-treatment samples were analyzed. In this case, node 16, which contained proteins related to proteasome complex & metabolism, had higher node activity in patients who progressed to anti-PD1 inhibitors. The interaction between proteasome and immune cells and its role in regulating PD-1/PD-L1 expression has been described previously, and proteasome inhibitors are being tested in combination with immunotherapy in several clinical trials32, suggesting that EVs could be used as a source of biomarkers in the management of this proteasome-related drugs.

Additionally, GSEA highlighted other processes in patients who progressed, such as MYC, MTOR, or interferon alpha and gamma pathways. Again, the enriched proteins related to interferon alpha and gamma, and MYC pathway are mostly related to the proteasome complex. Interestingly, the MTOR pathway included several proteins related to glucose metabolism and Warburg effect, like GAPDH, G6P, PGK1, TPI, GPI or LDHA, that were enriched in patients who progressed. Warburg effect consists of an increase of glucose uptake and fermentation into lactate, considered one of the hallmarks of cancer33,34. It was described that elevated LDHA expression in melanoma leads to a lactate accumulation that inhibits T cell activation, leading to tumor immune scape35. Moreover, melanoma patients with high expression of glycolytic genes response poorly to anti-PD1 inhibitors, while it has been shown that diclofenac lowers lactate levels and restore T cell function, improving response to checkpoint therapy in vivo36. Therefore, the use of metabolic inhibitors is a potential treatment to restore response to anti-PD1 inhibitors. Additionally, the presence of proteins related to glycolysis in exosomes has been previously associated with metastatic melanoma21.

Finally, dynamic changes in EV proteins during treatment administration and tumor evolution have been studied using the samples collected in all the time points. A significant decrease in proteins from node 6, involved in platelet activation and coagulation, in patients who progress to treatment during time has been shown. Tumor EVs promote coagulation, and the coagulation process is relevant in cancer progression and metastasis37. This node contained, among others, platelet glycoproteins, with a crucial role in hemostasis38. On the contrary, MHC related proteins increased during time in patients who progressed. In addition, it is described that tumor EVs mediate tumor antigen presentation to MHC-I, leading to the inhibition of CD8 + T cells39 which are necessary for the efficacy of anti-PD1 therapy40. The MHC related proteins identified are proteasome subunits, which are the source of most antigenic peptides presented to the immune system on MHC41. It was previously suggested that functional antigen proteasome presentation machinery is transferred to platelet-derived EVs, but no data about serum-derived EVs is available42. This increase in proteasome subunits and antigen presentation machinery in non-responders does not match with results observed in tumors, where a higher expression of an antigen presentation machinery signature has been associated with better DFS43.

The study has several limitations. First of all, the reduced number of samples analyzed constrains the statistical power of the study. To mitigate this, we used probabilistic graphical models to analyze our proteomics data, reducing the number of variables analyzed and increasing the power of the study. In addition, we limited our study to patients receiving anti-PD1 monotherapy, but it would be interesting to study the differences in EV content according to different immunotherapy schemes, including anti-CTLA4 or anti-LAG3 therapies. Finally, this is a proof-of-concept with the aim of demonstrate the feasibility to use EV from serum samples in prediction of response to anti-PD1 therapy. Our results regarding the implication of these proteins in prediction of treatment response and treatment resistance need to be validated in larger, independent cohorts.

The results support the potential of EVs as biomarkers for predicting immunotherapy response and understanding mechanisms of resistance. These findings pave the way for future research with larger cohorts and different therapeutic combinations.

Methods

Cohort

Samples from patients diagnosed with advanced melanoma who initiated anti-PD1 therapy in a single institution from 2022 to 2024 were prospectively included in this study. Uveal melamoma was excluded. The local ethical committee approved the study (PI-5403) and written informed consent from participants was obtained. All methods were performed in accordance with relevant guidelines.

Computed-tomography scan was used as per standard clinical practice to assess response using iRECIST44. Patients with progressive disease as best response were considered as non-responders, whereas patients with an objective response or stable disease were considered as responders. Progression-free survival (PFS) was calculated from treatment initiation to the time of progression or last follow-up. Overall survival (OS) was calculated from treatment initiation to the date of death or last follow up.

Sample processing

Blood samples were collected prior to treatment, after a first cycle of treatment, and at the time of progression or nine months after treatment initiation for each patient. Blood samples were collected in serum separator tubes and coagulated for 30 min. After that, blood samples were centrifuged at 3,000 g at 4 °C for 15 min to isolate the serum. Serum samples were aliquoted and stored at −80 °C until further use.

Extracellular vesicle isolation

Extracellular vesicles (EV) were isolated from 250 µL of serum using ExoQuick ULTRA EV precipitation solution (SBI, System Biosciences Mountain View, CA, USA), following manufacturer’s instructions. Briefly, ExoQuick solution was added, mixed and incubated for 30 min at 4 °C. The mixture serum/Exoquick was centrifuged at 3,000 g at 4 °C for 10 min. The obtained pellet was resolubilized and albumin and immunoglobulins were largely removed using binding columns, which were centrifuged at 1,000 g for 30 s. The obtained EVs were stored at −80 °C until further use.

Extracellular vesicle characterization

EVs characterization comprised three different techniques: Transmission electron microscopy (TEM), Western Blot, and NanoSight assessment.

The size and shape of the isolated EVs was examined using transmission electron microscopy (TEM). The EVs were fixed (5 min) on a drop of PFA 2%, washed two times with Milli-Q, and negatively stained with 2% aqueous uranyl acetate (1 min). The EVs were observed through a Tecnai 12 FEI electron microscope operated at 120 kV, and the images were recorded with a CCD (charged coupled device) FEI Ceta camera.

Western-Blot using a 4–10% SDS-PAGE electrophoresis gel was performed. 20 µg of total protein concentration were loaded in each western blot line based on Pierce™ BCA Protein Assay Kit (Thermo Scientific, USA) (working range: 20–2000 µg/mL). Specific antibodies against EV tetraspanins were used: anti-CD63 (1:1000, Invitrogen, Carlsbad, USA), anti-CD81 (1:1000, Invitrogen, Carlsbad, USA) and anti-CD9 (1:1000, Invitrogen, Carlsbad, USA), followed by a secondary HRP antibody (1:10000, Abcam, Cambridge, UK). Albumin was included as a negative (co-precipitated) marker to assess sample purity. Image was acquired using Pierce ECL chemoluminescence (Thermo Fisher Scientific, Waltham, USA) on an Uvitec-Cambridge image acquisition system (Uvitec, Cambridge, Reino Unido).

Finally, size and number of EVs were analyzed using a NanoSight LN10 (Malvern Instruments Ltd., Malvern, UK). Nanoparticle tracking analysis (NTA) was performed by applying light scattering and Brownian motion properties to determine the size and number of particles in a liquid suspension. EVs were diluted in 300 µL of sterile Phosphate Buffered Saline (PBS). Particle movement was captured by triplicate in 60-second videos at a detection threshold of 3. Recordings were analyzed using the NTA Software v. 4.1 (Malvern Instruments Ltd., Malvern, UK).

Sample Preparation for mass-spectrometry experiments

Isolated EV-samples were vacuum concentrated to dryness and resuspended in 100 µl of lysis buffer (2% sodium dodecyl sulfate (SDS), 1% sodium deoxycholate, 0,1% dodecyl-D-moltoside in 50 mM triethylammonium bicarbonate buffer pH 8.5 (TEAB)). Protein extraction was performed using a tissue homogenizer (TissueLyser II, QUIAGEN) for 4 min at 30 Hz. After that the samples were processed with high-intensity-focused ultrasound (Hielscher Ultrasonics GmbH) for 2 × 1 min (100% amplitude, 60% cycle time). Finally, the samples were incubated in a thermos shaker at 95 °C and 800 rmp for 10 min. The samples were centrifuged at 20,000 x g for 10 min and the protein concentration was determined using a Lunatic plate reader (Unchained Labs) with a 1:30 dilution of the original sample. For each sample 50 ug of protein were taken and reduced with 2 mM TCEP(tris(2-carboxyethyl)phosphine) and alkylated with 15 mM chloroacetamide at 60 °C for 30 min.

Protein purification, digest and peptide clean-up were performed using the sp3-protocol45 on a KingFisher Flex System (Thermo Fisher Scientific). Magnetic beads (Cytiva) were conditioned following the manufacturer’s instructions, consisting of 3 washes with water at a concentration of 1 ug/ul. Samples were diluted with an equal volume of 100% ethanol (60% ethanol final concentration). The beads, wash solutions and the samples were loaded into 96 deep well- or micro-plates and transferred to the KingFisher. The protocol on the robot carried out the following steps: collecting of beads from the last water wash, binding of the protein to the beads (14 min), washing the beads in wash1 (80% ethanol, 3 min), whash2 (80% ethanol, 3 min), wash3 (80% ethanol, 3 min), digesting the proteins at 37 °C (offline from the KingFisher, overnight at RT with trypsin to protein ratio of 1:50 in 50 mM TEAB pH 8.5) and eluting the remaining peptides from the magnetic beads (deionized water, 6 min). The digest solution and the water elution were combined and dried to completeness. Afterwards, the peptides were re-solubilized with 40 µl of 3% acetonitrile, 0.1% formic acid for MS analysis.

Mass-spectrometry experiments

Mass spectrometry analysis was performed on an Orbitrap Exploris mass spectrometer (Thermo Scientific) equipped with a Digital PicoView source (New Objective) and coupled to a M-Class UPLC (Waters). Solvent composition at the two channels was 0.1% formic acid in water for channel A and 0.1% formic acid in acetonitrile for channel B. For each sample 2 µL of peptides were loaded on a commercial MZ Symmetry C18 Trap Column (100 Å, 5 μm, 180 μm x 20 mm, Waters) followed by nanoEase MZ C18 HSS T3 Column (100 Å, 1.8 μm, 75 μm x 250 mm, Waters). The peptides were eluted at a flow rate of 300 nl/min by a gradient from 5 to 22% B in 80 min, 32% B in 10 min and 95% B in 1 min. Samples were acquired in a randomized order. The mass spectrometer was operated in data-independent mode (DIA), acquiring a full-scan MS (396–1000 m/z) at a resolution of 60’000 at 200 m/z. Followed by HCD (higher-energy collision dissociation) fragmentation on 70 windows with 8 m/z width between 400 and 960 m/z. The MS2 resolution was set to 30’000 and a normalized collision energy of 30% was used. The samples were acquired using internal lock mass calibration on m/z 371.1012 and 445.1200.

The mass spectrometry proteomics data were handled using the local laboratory information management system (LIMS)46 and all relevant data have been deposited to the ProteomeXchange Consortium via the RIDE (https://www.ebi.ac.uk/pride/login) partner repository with the data set identifier PXD062378, Username: reviewer_pxd062378@ebi.ac.uk Password: x4OPUvEoaRma47.

Spectral library generation and protein quantification

The identification and quantification of proteins from MS data was performed using the DIA-NN workflow (version 1.8.248,. The following parameters for the library-free search were used: precursor charge + 2 and + 3, precursor mass range 350 m/z to 1500 m/z, fragment mass range 200 m/z to 1800 m/z, mass accuracy MS1 15 ppm, MS2 20 ppm, enzyme specificity trypsin allowing one missed cleavage, fixed modification carbamidomethylation of cysteine. The in-silico spectra were generated using a canonical protein database for humans, concatenated with common protein contaminants (fgcz_9606_1spg_20230330.fasta, ID9606, release date 20230330) and the maximum false discovery rate (FDR) was set to 0.01.

Statistical modelling of proteomics data

The R package prolfqua49 was used to analyze the differential expression and to determine group differences, confidence intervals, and false discovery rates for all quantifiable proteins. Starting with the report.tsv file generated by DIA-NN, which does report the precursor ion abundances for each raw file, we determined protein abundances by first aggregating the precursor abundances to peptidoform abundances. Then, we employed the Tukeys-Median Polish to estimate protein abundances. Furthermore, before fitting the linear models, we transformed the protein abundances using the variance stabilizing normalization50.

Preprocessing of proteomics data

Perseus software was used for proteomics data preprocessing51. First, data was log2 transformed. Then, two filtering criteria were applied: a percentage of valid values in 100% of the samples from the same patient and at least 50% of valid values in total per protein. Lastly, missing values were imputed using a normal distribution with Perseus default setting.

Protein networks built using probabilistic graphical models

High-dimensional compatible probabilistic graphical models (PGM) were used to build protein networks and define differentially biological processes between responders and non-responders, as previously described52. Briefly, the network was built in two sequential steps: first, the spanning tree with the maximum likelihood was determined and, then, Bayesian Information Criterion (BIC) was used to penalize more complex models53. PGM was built using functions of grapHD54 R package implemented in Python.

The obtained network was split into nodes using Louvain community detection algorithm55. The overrepresented function of each defined node was determined by gene ontology analyses using the GOAtools Python package and DAVID database56. Cellular compartment, molecular function and biological process databases were used for the analysis. Homo sapiens was selected as background. To select an overrepresented function for each node, gene ontology categories enriched in the complete dataset were excluded from the analysis, and then, gene ontology categories significantly overrepresented in each functional node were defined, using an FDR adjusted p-value < 0.05 on a Fisher’s exact test.

To make comparisons between responders and non-responders, the functional node activity, i.e. the mean expression of the proteins that conform this node, was calculated52.

Statistical analyses

Comparisons between groups of samples at a one time-point were done using a non-parametric Mann-Whitney test. P-values were corrected using Benjamin-Hochberg. These comparisons were done using Graph Pad Prism version 6. Comparisons between the three time points were done using mixed lineal models with fixed effects. The time point and progression or not to PD1 inhibitors were set as fixed effects whereas the patient was set as the variable effect. P-values were two-sided and corrected using FDR. Mixed lineal models were calculated using R with glmer and emmeans packages.

Gene Set Enrichment Analysis (GSEA) was used to identify, on the one hand, mechanisms of innate resistance in pre-treated samples, and, on the other hand, acquired mechanisms of resistance in post-treatment samples. Hallmarks of cancer database was used as background and gene sets were considered statistically significant when FDR < 5%.

Construction of predictive signatures

Predictive signatures were built using BRB Array Tools57. First, proteins or node activities related to PFS were selected based on their p-values. Then, a predictive signature was built using the supervised principal component method of E. Bair and R. Tibshirani58, based on a Cox proportional hazards model. The threshold significance level was set to 0.05. Leave-one-out cross validation was used to determine the predictive accuracy of the models. A sample is omitted and the prognostic index was calculated. Having determined a prognostic index function for that training set, it is used to compute a prognostic index for the omitted observation. That value is compared to the prognostic index for the n-1 cases included in that training set. The prognostic index for the omitted sample is ranked relative to the prognostic index for the samples included in the cross-validated training set. The omitted sample is classified into a risk group based on its percentile ranking, the number of risk groups specified, and the cut-off percentiles specified for defining the risk groups. This analysis is repeated from scratch n times, leaving out a different case each time. The cut-off was defined a priori in all cases and the log-rank test p-value was evaluated using 1,000 random permutations. In each permutation, the test is re-calculated in order to determine a p-value.