- Methodology article
- Open Access
Phenotype prediction based on genome-wide DNA methylation data
BMC Bioinformatics volume 15, Article number: 193 (2014)
DNA methylation (DNAm) has important regulatory roles in many biological processes and diseases. It is the only epigenetic mark with a clear mechanism of mitotic inheritance and the only one easily available on a genome scale. Aberrant cytosine-phosphate-guanine (CpG) methylation has been discussed in the context of disease aetiology, especially cancer. CpG hypermethylation of promoter regions is often associated with silencing of tumour suppressor genes and hypomethylation with activation of oncogenes.
Supervised principal component analysis (SPCA) is a popular machine learning method. However, in a recent application to phenotype prediction from DNAm data SPCA was inferior to the specific method EVORA.
We present Model-Selection-SPCA (MS-SPCA), an enhanced version of SPCA. MS-SPCA applies several models that perform well in the training data to the test data and selects the very best models for final prediction based on parameters of the test data.
We have applied MS-SPCA for phenotype prediction from genome-wide DNAm data. CpGs used for prediction are selected based on the quantification of three features of their methylation (average methylation difference, methylation variation difference and methylation-age-correlation). We analysed four independent case–control datasets that correspond to different stages of cervical cancer: (i) cases currently cytologically normal, but will later develop neoplastic transformations, (ii, iii) cases showing neoplastic transformations and (iv) cases with confirmed cancer. The first dataset was split into several smaller case–control datasets (samples either Human Papilloma Virus (HPV) positive or negative). We demonstrate that cytology normal HPV+ and HPV- samples contain DNAm patterns which are associated with later neoplastic transformations. We present evidence that DNAm patterns exist in cytology normal HPV- samples that (i) predispose to neoplastic transformations after HPV infection and (ii) predispose to HPV infection itself. MS-SPCA performs significantly better than EVORA.
MS-SPCA can be applied to many classification problems. Additional improvements could include usage of more than one principal component (PC), with automatic selection of the optimal number of PCs. We expect that MS-SPCA will be useful for analysing recent larger DNAm data to predict future neoplastic transformations.
DNA methylation (DNAm) has important regulatory roles in many biological processes and diseases. It is the only epigenetic mark with a clear mechanism of mitotic inheritance  and the only one easily available on a genome scale for epigenome-wide association studies . In vertebrates, the most common form of DNAm is 5-methylcytosine. It is associated with changes in DNA-protein interactions and gene expression. High methylation levels in cytosine-phosphate-guanine (CpG)-rich promoter regions are strongly associated with transcriptional repression . Recent DNAm studies provided new etiological insights for human diseases . Interestingly, epigenetic changes can be induced by diet, with implications for health  and obesity .
Although significant progress has been made during the last decades, cancer remains a global problem of rising importance . On the other hand, modern omics technologies also enable new approaches for fighting the disease. ‘Epigenetic changes can be the earliest initiating factor in a human cancer’ . DNAm markers for cancer detection have been found and potential DNAm driver events have been discussed . The identification of DNAm biomarkers indicating the risk of later cancer onset is improving early diagnosis and therapy.
Based on the hypothesis that epigenetic variability may reflect differential exposure to genetic and environmental risk factors, it has been proposed that CpG sites with high inter-individual methylation variability might indicate risk of complex diseases . The fact that such sites occur more frequently in the promoters of developmental genes  is consistent with this hypothesis, although sites with inter-individual variability are stable within individuals over many years .
Recently, a classifier based on DNAm data to predict the risk of neoplastic development (EVORA = epigenetic variable outliers for risk prediction analysis) has been proposed . It considers two features of a CpG’s methylation, the level of methylation and methylation variability. The latter is the primary feature (CpG) selection criterion, the first few hundred most hypervariable CpGs (variability of methylation, quantified by Bartlett’s test, is higher in case samples) are considered as ‘risk CpGs’. The risk score of an individual sample is the fraction of ‘risk CpGs’ with a methylation level higher than a given cut-off. The optimal number of CpGs considered as well as the optimal cut-off is found by optimizing the Area Under the Curve (AUC) through internal cross-validation in the training data. EVORA was superior to the two tested popular classification algorithms PAMR  and SPCA  (in case of PAMR and SPCA feature selection was based on differential methylation statistics alone) . However, it is known since the first DNAm measurements in human cancer that widespread DNA hypomethylation is involved , but EVORA, by considering hypermethylated and hypervariable CpGs alone, does not account for such sites. Indeed, promoter hypomethylation has been used as criterion for detecting novel oncogenes in cancer . A refined version of EVORA was used to predict later neoplastic development  in women with normal cytology according to a cervical screening test . This version considered a third feature of CpG methylation, age-correlation. A CpG was classified as ‘risk CpG’ only if its methylation is both more variable in cases and positively age-correlated . The authors note that the uterine cervix is ‘currently the only human organ allowing relatively easy access to the cell of origin of the associated cancer well in advance of the first morphological signs of neoplastic transformation’.
Supervised principal component analysis (SPCA)  was developed for the prediction of tumour patients’ survival times based on gene expression data and was later successfully applied to other classification problems. A samples risk score corresponds to its score on the first principal component (PC) or the corresponding score from a linear combination of several PCs (weighted by singular values). Standard PCA is considered as an unsupervised technique. In SPCA the features used for PCA are specifically selected for best association with the phenotype of interest (in the training data). In the original SPCA paper, the Cox score (a measure of the correlation between a gene’s expression level and patient survival) was used as the association criterion  and only genes with a Cox score above a given threshold were considered for PCA (singular value decomposition). Again, the optimal threshold was obtained from internal cross-validation.
Here we present Model-Selection-SPCA (MS-SPCA), an enhanced version of SPCA. SPCA determines one model for the prediction of test data from optimisation within the training data. In contrast, MS-SPCA determines several models that perform well in the training data and selects specific ones for the prediction of test data, based on parameters of the test data. This is a natural extension of SPCA as it answers the question of how to deal with situations where several equally well performing models are found during the training data internal cross-validation. MS-SPCA applies all these models to the test data and identifies the most appropriate subset of these models for final prediction.
MS-SPCA was applied to analyse publicly available genome-wide DNAm data of cervical screening samples (27,578 CpGs corresponding to 14,495 genes, mostly in promoter regions ). The cases considered correspond to three different stages of cervical cancer development: (i) women with no cytological signs of neoplasia that have later developed neoplastic transformations (cervical intraepithelial neoplasia of grade 2 or higher, CIN2+) as determined from a subsequent screen after three years, (ii) neoplastic transformations (CIN2+, two independent case–control datasets), (iii) fully developed cancer.
We show that hyper- and hypomethylated, hyper- and hypovariable and positively and negatively age-correlated CpGs exist that are significantly associated with the phenotype. Significant CpGs of one dataset overlap significantly with significant CpGs of other datasets. Genes corresponding to significant CpGs are enriched with developmental genes (polycomb group targets, PCGTs ) and cervical cancer genes .
In contrast to EVORA, MS-SPCA uses the full non-binary methylation information as well as hyper- and hypomethylated sites. CpGs most associated with the phenotype in the training data are used for prediction. The corresponding ranked list of association strength is created by simultaneous consideration of three features of CpG methylation: average methylation difference, methylation variability difference (both between cases and controls) and age-correlation. We use a ranks-weighting scheme to account for different weighting of these features. Different weights and numbers of best ranking CpGs are tested by cross-validation in the training data. Therefor we have used the leave-one-out (LOO) method (other methods such as 5- or 10-fold cross-validation could be used instead).
We present results for all 21 possible test data predictions, using either cytology normal case–control data or CIN2+ case–control data for training. Cancer data are not used for training because the methylation patterns are very pronounced and would yield many thousands of perfectly predicting models in the training data. We also divide the cytology normal women dataset into several age-matched subsets (either completely HPV+ or HPV-), enabling another 50 predictions. Altogether, we performed 71 predictions in comparison to EVORA. MS-SPCA outperforms EVORA in nearly all cases. In most cases the difference is statistically significant.
We analysed six case–control datasets of genome-wide DNAm data (from four independent datasets, see Methods). Samples from women with normal cytology were used as control groups in all datasets. Table 1 shows the corresponding numbers of case and control samples.
Significantly associated CpGs
We tested all CpGs in the six datasets for average methylation difference (t-test, Mann–Whitney U test), methylation variation difference (Bartlett’s and Levene’s test) and methylation-age-correlation. Table 2 shows the numbers of corresponding significant CpGs. Each test was done for all CpGs (first row within a table cell), or only hyper- (row 2) and hypo-CpGs (row 3) (see Methods, e.g. 80 significant hypovariable CpGs according to Levene’s test in the Cancer data). The higher number of significant hyper-CpGs may reflect the biased CpG choice of the Illumina 27K chip . Future studies using less biased methods will clarify the relative importance of hyper- and hypomethylation. Table 2 shows that methylation patterns are more pronounced in more advanced stages of cancer. Most significant CpGs are found in the data where cases correspond to fully developed cancer, intermediate numbers are found in CIN2+ data and almost no significant CpGs are detected in the Normal data (cases still cytology normal, but will later develop transformations).
There are many significant CpGs in the Normal data according to Bartlett’s test, but these CpGs are not significant according to a permutation test. Often there is just a single sample largely deviating from the others, so permuting phenotypes does almost not change the p-value (note the nearly identical number of cases and controls). Accordingly, after permuting phenotypes of the Normal data one gets about the same number of significant CpGs, according to Bartlett’s test. The other tests do not suffer from the problem, the results are always corresponding to permutation test results.
Although there are no statistically significant hyper- or hypomethylated CpGs in the Normal data, intersection of the most significant CpGs of these data with the most significant CpGs of the CIN2+ and Cancer data shows a significant overlap (Table 3), indicating that many important CpGs are hidden below the threshold for genome-wide significance. This corresponds to a similar finding in genome-wide association studies (GWAS) where typically only the minority of a phenotype’s heritability can be explained by the statistically significant single-nucleotide polymorphisms (SNPs) (~100). However, taking into account all ~1 m SNPs allows explanation of most of the heritability , ‘most of the genetic variance is simply hidden below the threshold for genome-wide significant associations’ . Significant CpGs in the Normal HPV+ dataset overlap more to the corresponding CIN2+ and Cancer dataset CpGs than Normal HPV- CpGs. This could indicate that the potential transformation causing methylation patterns are more pronounced in the HPV+ dataset, but the number of HPV+ samples is also higher.
Tables 4 and 5 provide additional evidence that the most significant CpGs correspond to genes involved in cancer onset. For best ranking CpGs, we identified the corresponding genes and determined their overlap to 538 known cervical cancer genes  and 1,591 developmental genes (polycomb group targets PCGT) . Table 4 shows that cervical cancer genes are enriched in nearly all high-ranking genes. Genes from the Normal data overlap as significantly as genes from CIN2+ and Cancer data. Hypo-CpG-genes overlap as well as hyper-CpG-genes. Table 5 shows that hyper-CpG-genes are highly enriched with PCGT genes , in contrast to hypo-CpG-genes.
Motivation for Supervised PCA approach
Table 2 shows that no single CpG can differentiate between case and control samples in the three Normal datasets. However, the leading principal components (PCs) corresponding to the best ranking CpGs do separate cases from controls. Additional file 1: Figure S1 shows for the Normal dataset that the leading PCs do significantly (p < 10-15) differentiate, if the CpGs with the highest average methylation difference are used (CpG order according to t- or MWU-test).
Prediction of future neoplastic transformation, CIN2+ and Cancer
Selecting the best models from cross-validation in training data
We tested models based on the best ranking CpGs according to CpG ‘combi’ orders (combining three features of a CpG’s methylation: average methylation difference, methylation variation difference and age-correlation; see Methods) for cross-validation prediction in the five datasets that served as training data: Normal, Normal HPV+, Normal HPV-, CIN2+(a) and CIN2+(b). In each case the first few hundred best performing models were applied for prediction of all the corresponding independent datasets (Table 6, Figures 1, 2 and 3). Models with the following cross-validation prediction accuracies were used: >0.65 for the three Normal datasets, >0.82 for CIN2+(a), and >0.95 for CIN2+(b); resulting in >300 models trained on the Normal datasets and >700 and >1000 models trained on CIN2+(a) and CIN2+(b), respectively (Figures 2 and 3). The models predicting the training-data best have the following accuracies: ~0.8 for the Normal datasets, 0.92 for CIN2+(a) and 1 for CIN2+(b) (~200 models with accuracy 1). The clearer patterns in CIN2+(b), compared to CIN2+(a), might result from the fact that all CIN2+(b) samples were taken from HPV infected women.
Identifying the likely best predicting models and final prediction
MS-SPCA selects the final models for prediction on the basis of parameters obtained from analysis of the test data. Figure 1 depicts the two parameters Eval1 and EV1dist for all used models. Figure 2 shows the prediction performance of all models ordered according to the difference Eval1-EV1dist (using standardised numbers for Eval1 and EV1dist). Eval1 is the normalized largest eigenvalue of the covariance matrix taken from the methylation matrix of the test data. EV1dist is the Euclidean distance between the leading Eigenvectors of the model’s covariance matrix in the training data and in the test data. It can be seen from the colouring in Figure 1 that the smaller EV1dist and the larger Eval1 is, the more likely the model makes a good prediction of the test data. Red dots tend to be in the lower right corner, especially for the well predicted advanced transformation stages CIN2+ and cancer (least for the poorly predicted Normal HPV- samples). Eval1 measures how much of the variation in the test data is likely captured by PC1. EV1dist is a measure for how well the model obtained from the training data fits to the test data. Importantly, the two parameters Eval1 and EV1dist capture information about how likely a model makes a good prediction. For example, in the first row of Figures 1, 2 and 3 models were trained on the Normal dataset. These models predict the CIN2+(a) and Cancer data very well (Figure 2), but less so the CIN2+(b) data. Figure 1 shows that Eval1 is generally smaller for CIN2+(b) models and EV1dist is larger. Similarly in the last column: in rows 1, 2 and 4, where the prediction is very good (Figure 2), Eval1 is often large and EV1dist is small. Parameters such as Eval1 and EV1dist open the possibility to automatically select the most appropriate number of principal components to consider for prediction. The authors of the original SPCA paper had worked on a similar problem but had not solved it . Given that the models trained on CIN2+(b) data have consistently poor Eval1 and EV1dist, compared to models from other training data, it seems that consideration of more than one PC could improve the prediction performance.
Although the two parameters Eval1 and EV1dist are correlated to each other they also carry important unique information. Each parameter alone is inferior to the sum Eval1-EV1dist. For example, row 3-column 2 shows poorly performing models with small EV1dist, row 4-column 5 shows poor models with large Eval1.
Figure 2 shows that, although there is some variation, the best-ranking models (low ranks) perform better. Moreover, the cumulative score (see Methods) enables robust and good prediction by considering only best-ranking models. The final prediction results that correspond to the AUC of the cumulative score at model rank 5 are given in Table 6. The prediction of a given test dataset by MS-SPCA is quite consistent, no matter which training dataset is used: Normal ~0.6, Normal HPV+ >0.6, Normal HPV- >0.5, CIN2+(a) >0.9, CIN2+(b) >0.8, Cancer ~1.
Comparison with EVORA  was performed, using the R-package ‘evora’. Table 6 shows the mean prediction values of 8 independent runs. Prediction with MS-SPCA is nearly always superior. The better performance of MS-SPCA is statistically significant. A two-way ANOVA confirms the significantly higher performance of MS-SPCA, even in comparison to the three previously published prediction results of row 1 (using Normal for training): we simulated 20 EVORA-AUC values for each prediction such that the mean AUC and the 95% CI correspond to the numbers given  and compared to the AUCs of the top 20 ranking MS-SPCA models, p < 0.001. It can be seen that the numbers reported by the EVORA authors  are better than those from our own runs. The original EVORA method  and the ‘evora’ R-package do not consider any information about the age of the women who have provided the samples, although this was considered in a related paper . It is possible that the higher numbers result from taking age into account. However, MS-SPCA outperforms these results as well. Moreover, MS-SPCA was also performing well without the use of age information. The results are similar to the ones presented in Table 6, mostly lower by about 0.01-0.02, but higher in the case of Normal HPV- → CIN2+(b) by 0.04.
Description of best performing models
A concise description of the models used for predictions is shown in Figure 3. Models were sorted according to Eval1-EV1dist and mean values were calculated from model rank 1 up to any other indicated rank. For instance, rank 5 shows the mean numbers of the first 5 models. Accordingly, the final rank shows the mean values of all the models used. Interestingly, the figures in a given row are similar, indicating that the model order is also similar for different test data predictions. Best-ranking models typically contain fewer CpGs (black line). Clearly, solid lines are dominating amongst the coloured ones. That means most of these models include hyper- and hypomethylated CpGs, models with pure hyper- or hypo-CpGs are rare. The models selected from cross-validation within Normal and Normal HPV+ data contain CpGs which are mostly ordered by methylation variation difference, the red line ends at >60% (~2/3 correspond to Bartlett’s test ordering, 1/3 to Levene’s test). Models in rows 3–5 are dominated by methylation difference ordering (>1/2 t-test in rows 3 and 5, ~2/3 MWU in row 4).
The best performing models (low ranks) are dominated by age-correlation in the Normal training data (rows 1–3) and by methylation difference in row 4. Hypermethylation and methylation variation difference (the features specifically selected by EVORA ) are dominating in the best predicting models in row 5.
Cytologically normal samples contain DNAm patterns predisposing for later transformations
Samples classified as normal by the standard cytological screening method contain DNAm patterns that can clearly differentiate between normal and CIN2+ samples and between normal and cancer samples (Figure 2 and Table 6). Interestingly, this conclusion even holds for the Normal HPV- samples. Although HPV infection is considered a necessary condition for neoplastic transformation and later cancer, the differentiating DNAm patterns exist prior to any HPV infection. These patterns might contribute to infection itself and/or contribute to transformations after infection. The latter possibility is supported by our finding that MS-SPCA trained on Normal HPV- data predicts the phenotype of Normal HPV+ samples about as well as when trained on CIN2+ data.
To further study the problem of phenotype prediction within the Normal data, a corresponding stratified 5-fold cross-validation was performed. Both the Normal HPV+ and the Normal HPV- datasets were subdivided into five equally sized case–control parts, always ensuring that age is matched. Five predictions were performed, taking one set for testing and the remaining four as training data. Additional file 1: Figures S2-S4 show the plots corresponding to Figures 1, 2 and 3 for the five cases using Normal HPV+ data for training, and Additional file 1: Figures S5-S7 the same using Normal HPV- for training. Clearly, Eval1-EV1dist is an important sorting criterion, for instance in cancer prediction from Normal HPV- data. However, Additional file 1: Figures S3 and S6 also show that this sorting is selecting the best predicting models in the test data corresponding to the training data (first column) less robustly. Our hypothesis that this is caused by the small size of these test sets (<10 cases and controls) was confirmed by a corresponding calculation (Additional file 1: Figure S8). The larger the test sets are the better Eval1-EV1dist selects the best predicting models. This implies that MS-SPCA would predict future transformations better in larger test data. Table 7 shows the results of the final MS-SPCA prediction using the cumulative score of the first 5 models, in comparison to EVORA predictions. MS-SPCA prediction results are better and more consistent (less variable) than EVORA results. Again, in most cases the advantage of MS-SPCA is statistically significant. MS-SPCA allows the prediction of later neoplastic transformation in HPV infected women with cytologically normal samples (mean AUC = 0.60).
Finally, we also tested if DNAm patterns might contribute to infection itself by using the models trained on Normal HPV- data to predict independent test data where the “cases” are healthy HPV+ samples (women remain cytology negative for 3 years) and controls are healthy HPV- samples. Interestingly, this ‘phenotype’ can be predicted even better than the future transformation in the Normal HPV+ data: AUC > 0.8 (Additional file 1: Figure S9). This indicates that DNAm patterns may contribute to HPV infection.
Consistency of models used for predictions, corresponding outstanding CpGs and genes
All phenotype predictions were based on the five models with the largest parameter Eval1-EV1dist (see Methods). Interestingly, the five models chosen for the prediction of different test data were often identical. For example, three of the five models from the training data Normal that were used to predict CIN2+(a), CIN2+(b) and Cancer (first row in Figures 1, 2 and 3) are identical, i.e. these three models predict the three different test data very well. Similar model consistency was also found using other data for training: Normal HPV+ and HPV- were used to predict four independent test data, CIN2+(a) and CIN2+(b) to predict five test data (cf. Table 6). The corresponding intersection of the 4x5 or 5x5 models is 1, 3, 3 and 0, respectively. Although there is no model amongst the five best that is used for all five test data predictions in the case of training data CIN2+(b), one model is consistently used to predict the four test data Normal, Normal HPV+, CIN2+(a) and Cancer; three of the models used to predict Normal HPV- were also used to predict Cancer.
Not surprisingly, the CpGs used in the five models for final prediction are also largely overlapping. Furthermore, the CpGs of all the five models used to predict one test dataset tend to overlap with the corresponding CpGs used to predict another test dataset. The numbers of common CpGs used for the prediction of all test datasets based on the five training datasets Normal, Normal HPV+, Normal HPV-, CIN2+(a) and CIN2+(b)) are 235, 75, 171, 238 and 89, respectively. For instance, 235 same CpGs were used to predict CIN2+(a), CIN2+(b) and Cancer from the training dataset Normal. There is one CpG occurring in all these five CpG lists: cg11965370, located in a CpG island 234 bp upstream of the transcription start site (TSS) of the NTM gene. NTM codes for the protein neurotrimin, which is known to play a role in cell-adhesion . The intersection of the 235, 238 and 89 CpGs is cg00027083, cg11965370, cg16638540, cg22415432, cg22881914, cg25044651, cg26186727 and cg26363196, which are all hypermethylated in all six datasets.
Although there is no CpG with significant methylation difference between cases and controls in the three Normal data (Table 2), there are CpGs consistently used for the prediction of test data. The intersection of the 235, 75 and 171 CpGs is cg02008154, cg02250594, cg02624705, cg06277657, cg11965370, cg12457773, cg13870866, cg17727529, cg17861230, cg23303408, cg23316360, cg23710218, cg26963271, nearly all are hypermethylated in all six datasets.
139 CpGs occur in at least two of the five CpG lists with 130 of them being located in CpG islands, mostly close to the TSS (Additional file 2: 139CpGs.xlsx). Nearly all are hypermethylated in the analysed six datasets, but two are clearly hypomethylated: cg07251788 in all six datasets, cg08214029 in five datasets. They correspond to the genes CCL18 and CLTCL1, respectively. Both are often overexpressed in cancer cells. Elevated CCL18 expression plays a role in ovarian carcinoma  and induces metastasis of breast cancer . CLTCL1 is overexpressed in cervical and other cancers [25–27]. Two genes correspond to more than two of the 139 CpGs, both are well-known tumour suppressor genes: DCC (DCC = Deleted in Colorectal Cancer) and GATA4. The GATA4 promoter is hypermethylated in cancer  and it is involved in ovarian cancer [29–31]. Interestingly, the two most important human DNA regions of a recent DNAm cervical pre-cancer classifier, EPB41L3 and DPYS , are amongst the ~100 regions corresponding to the 139 CpGs.
We have developed MS-SPCA, an advanced version of the classifier SPCA . In contrast to SPCA, MS-SPCA considers several models that perform well in training data cross-validation and selects the final ones for prediction of test data, based on parameters obtained from the test data. We tested different parameters and parameter combinations based on the training data but none was performing as well in selecting the best models as our final criterion Eval1-EV1dist.
Importantly, the values of the parameters Eval1 and EV1dist are related to the prediction performance. For instance, Figure 1 shows that, using CIN2+(b) for training, all corresponding models have relatively poor parameters Eval1 and EV1dist, compared to the cases using datasets Normal or CIN2+(a) for training. Accordingly, the prediction performance using the CIN2+(b) dataset for training is lower (Figure 2). Consideration of >1 PC might improve the prediction. It seems that parameters such as Eval1 and EV1dist could provide the basis for automatic selection of the most appropriate number of principal components to consider. We also tested a support vector machine (SVM) for prediction using more than one PC, but without any specific criterion for model selection. The corresponding performance was slightly lower, but a combination of an automatic selection of the number of PCs to consider with advanced learning algorithms such as SVM could lead to further improvement.
Another point for potential future improvement concerns the number of models to consider. Here we used the few hundred best models according to training data cross-validation performance. Obviously, some diversity of the models is needed such that the final model selection criterion Eval1-EV1dist can select the most appropriate ones. Considering only the very few in the training data top performing models might suffer from too low model diversity and over-fitting to the training data, considering many models is time consuming and might result in over-fitting to the test data. Maybe some optimal diversity (in terms of different weights and number of CpGs and/or different CpGs contained in the models) can be defined, helping to automatically select the cross-validation performance cut-off and therefore the number of models to consider.
We have shown that the model selection of MS-SPCA works better the more samples the test set contains. In the special case that the test set contains only one sample no test data covariance matrix can be calculated. The corresponding phenotype could be predicted by either a majority vote of all the models (selected from training data cross-validation) and/or by assigning additional samples to the test set (for instance taking some from the initial training set, but not using them for training) and applying the criterion Eval1-EV1dist.
MS-SPCA was applied for phenotype prediction from genome-wide DNA methylation data. The procedure involves the following steps: 1) splitting of the training data into k-fold training and test sets (here we used the LOO method), 2) calculation of p-values for all CpGs (in each of the k training datasets) for the three features of a CpG’s methylation: average methylation difference, methylation variation difference and methylation-age-correlation, 3) identification of the best models in training data cross-validation: testing models with different weights (combining the three p-value rank lists) and numbers of CpGs in each of the k training datasets 4) predicting the independent test data with the best performing models identified in step 3 (here we used the few hundred best models), 5) the Model Selection step of MS-SPCA: ranking these models according to the criterion Eval1-EV1dist and using the cumulative risk scores of the first n best ranking models for final prediction (here we used n = 5). We have shown that MS-SPCA performs better than the recent method EVORA .
The first experiments on DNA methylation in human cancer showed widespread hypomethylation , but after the discovery of tumour suppressor genes one also observed promoter hypermethylation [33, 34]. Meanwhile, of all epigenetic modifications, hypermethylation of promoter regions of tumor suppressor genes has been most extensively studied . We have shown that hypermethylation and hypervariability are important factors for neoplastic transformation, but hypomethylation and hypovariability play a role as well. The 27K CpGs analysed here are biased towards hypermethylated promoter regions . Nevertheless, MS-SPCA performs best if both hyper- and hypomethylated CpGs are considered. It will be interesting to see if hypomethylated CpGs play an even bigger role in more recent larger and less biased DNA methylation assays.
It has been suggested that hypervariable CpGs are most important for the prediction of early cancer development , although analysis of other cancer data does not always benefit from considering differential variability . This is in agreement with our results (Figure 3). MS-SPCA in combination with the here presented CpG selection method allows for automatic identification of the most appropriate weighting of the CpG’s methylation features.
Although HPV infection is considered necessary for cervical cancer development , we have shown that specific DNA methylation patterns which are likely contributing to later cancer development exist already before any HPV infection. This is in accordance with previous findings that epigenetic changes may be the earliest initiating factor in a human cancer . On the other hand, it was recently suggested that the earliest changes leading to later transformations might be other epigenetic changes such as chromatin modification rather than DNA methylation . If this is true, then the patterns observed in the Normal data may be the consequence of other earlier epigenetic changes. However, even then the analysis of DNA methylation can be important for early diagnosis of dangerous transformations as it is detectable before standard cytological screening methods can show evidence of transformations .
We have presented evidence that DNA methylation patterns exist in cytology normal HPV- samples that (i) predispose to neoplastic transformations after HPV infection and (ii) predispose to HPV infection itself. It will be interesting to test if other virus infections are also correlated with specific DNA methylation patterns.
Given that MS-SPCA performs well using data from comparatively few samples and only 0.1% of the GpGs in the human genome , it is possible that future DNA methylation analysis can provide the accuracy needed for clinical applications.
MS-SPCA, an advanced version of the classifier SPCA, is presented. It performs well in predicting phenotypes from genome-wide DNA methylation data. MS-SPCA can be applied to other classification problems. Consideration of more principal components, based on the automatic selection of the corresponding most appropriate number, and additional model selection methods might allow further improvement.
Four independent age-matched case–control datasets were analysed, all freely available from the Gene Expression Omnibus repository , accession numbers GSE20080, GSE30760 (SuperSeries comprising GSE30758 and GSE30759) and GSE37020. CpG methylation was measured using Illumina’s Infinium Human Methylation 27K Beadchips  and corresponding β-values were calculated for 27,578 CpGs: β = M/(U + M + e), where U and M are the unmethylated and methylated intensity values of the CpG and e is a small correction term . The four datasets are labeled according to the cancer stage of case samples (Normal, CIN2+(a), CIN2+(b) and Cancer): (1) Normal: 152 samples in a prospective case–control study (matched for human papillomavirus (HPV) status and age) - 75 women with normal cytology in screening round 1 but demonstrated CIN2+ after 3 years in round 2 (=cases) and 77 control women with normal cytology in rounds 1 and 2, (2) CIN2+(a): 48 samples (age-matched) with 18 cases (CIN2+, all HPV+) and 30 controls (normal cytology, HPV+ and HPV-), (3) CIN2+(b): 48 samples (all HPV+ and age-matched) with 24 cases (CIN2+) and 24 controls, (4) Cancer: 63 samples (age-matched) with 48 cases (cervical cancer) and 15 controls (no HPV information). Additionally, the 152 Normal samples were split into two datasets: 92 HPV+ (44 cases, 48 controls) and 60 HPV- (31 cases, 29 controls), yielding together six datasets (Table 1).
Quality control and normalization
The six datasets were processed by the following procedure: Missing values were replaced by the CpG’s mean and CpGs were mean-centered. Batch effects were detected, for instance strong correlation of leading principal components to the bisulfite conversion efficiency (BSCE) in Normal data. To remove such known and additional unknown batch effects we adjusted the data using Surrogate Variable Analysis  (bioconductor R-package ‘SVA’), keeping age and phenotype as variables of interest. Using the default method “be”, 5, 5, 4, 2, 4 and 13 surrogate variables were found in Normal, Normal HPV+, Normal HPV-, CIN2+(a), CIN2+(b) and Cancer, respectively. The data were adjusted accordingly. After adjustment no significant correlation of BSCE to leading principal components could be detected. Finally, data were COPA transformed (Cancer Outlier Profile Analysis ).
Feature selection: testing for average methylation differences, methylation variation differences and methylation-age-correlation, corresponding combinations
Traditionally, DNAm analysis tested for differences between the average methylation of case and control samples , but different methylation variability  and methylation-age-correlation  can be additional indicators of risk CpGs . We therefore tested for differential methylation, differential variability and age-correlation of CpGs in the six datasets. It is not a priori clear which test is most appropriate for differential methylation and differential variability in our context (i.e. which test gives the best prediction results), so we used two different tests in each case: differential methylation was quantified by t-test and Mann–Whitney U test, differential variability by Bartlett’s test and the much less outlier sensitive Levene's test (Brown–Forsythe test gave results between Bartlett’s and Levene’s, but generally close to Levene’s, so was not considered any further). Methylation-age-correlation was tested by comparing the test statistic to a t-distribution (n = #samples, r = Pearson’s correlation coefficient, df = n-2). Together, the tests give five (two-sided) p-values per CpG (per dataset). The most significant CpGs, according to a t-test for instance, contain both hyper- and hypomethylated sites. The method EVORA  uses only hypermethylated and hypervariable CpGs. To also study the prediction performance of MS-SPCA based on pure hyper- or hypo-sites we assign 10 additional p-values (5 ‘hyper-p-values’ and 5 ‘hypo-p-values’) to each CpG, yielding altogether 15 p-values per CpG (per dataset). This is done by the following scheme: the hyper-t-test-p-value equals the calculated t-test-p-value if the mean methylation of the case samples is larger than the mean methylation of the control samples, otherwise we set hyper-t-test-p-value = 1. Equivalently, the hypo-t-test-p-value can only be <1 if the mean methylation of the case samples is smaller than the mean methylation of the controls. The ‘hyper-‘and ‘hypo-p-values’ for the other tests were obtained by a similar procedure.
Genome-wide significance was found by calculation of corresponding q-values (measure of false discovery rate ), using the R library ‘qvalue’. ‘Hyper-‘and ‘hypo-q-values’ were obtained by only considering the subsets of CpGs with corresponding p-values < 1.
The 15 p-values per CpG allow 15 different (‘simple’) CpG orders for later usage in the supervised PCA (see below).
Additional CpG orders by combining ‘simple’ ones – ‘combi’ orders
By combining different ‘simple’ CpG orders we obtain additional ‘combi’ orders. Combining p-values to get new ordered lists is an interesting problem in its own right, a new combination of two p-values was recently suggested . Here we use a simple ranking method to combine any number of lists: first, the ranks of all CpGs in all lists are calculated. Adding of rank-lists produces an equal-weight new rank-list. Ordering according to ascending rank-sums gives a final ‘combi’ order. CpGs with low rank sums are the most significant ones. Instead of just simple summation (equal weights), multiplication with a corresponding weight-vector allows arbitrary weighting of lists. Appropriate weights could for instance correspond to significance ratios (or the corresponding log) of most significant elements. We consider combinations of three test results (a differential methylation test, a differential variability test and the age-correlation test). The relative importance of each test result is expressed by a three-dimensional weight vector. We use the following method to evenly sample the combinations space: (1,0,0) indicates CpG ranking according to a test for average methylation difference (t- or MWU test), (0,1,0) ranking according to a test for methylation variation difference (Bartlett’s or Levene’s test) and (0,0,1) ranking according to methylation-age-correlation. We systematically tested many different weight vectors, ranging from (1,0,0) to (1,29,29) in steps of factor 2, i.e. 277 different vectors (all pairwise cosine distances > 0). Note that a ranking according to for instance the weight vector (1,29,29) yields nearly the same best ranking CpGs as a ranking according to (0,1,1), so this systematic sampling covers the combinations space.
Creation of models to be tested in training data cross-validation
For each given weight 30 different numbers of best ranking CpGs were tested (50,100,150,…,1500). Together, we tested 4×277×30 = 33,240 models (4 combinations of the two different tests for average methylation difference and methylation variation difference). The tested CpG-lists contain both hyper- and hypo-sites; for instance CpGs ordered according to a t-test contain hyper- and hypo-methylated sites, CpGs ordered according to Levene’s test contain hyper- and hypo-variable sites. We found that the type of test (t or MWU, Bartlett’s or Levene’s) is less important than the parameters weight and number of CpGs tested. We tested additional models taking into account only t-test and Bartlett’s test rankings (21 different weights, from 1,0,0 to 1,29,0), for the three cases of CpG lists containing hyper- and hypo-sites, only hyper-sites (i.e. only hypermethylated and hypervariable) and only hypo-sites, together 3×21×30 = 1,890 models. In total 35,130 models were tested for cross-validation performance (in a given training dataset).
Selection of models performing well in training data cross-validation
In cross-validation, parts of the data are used for training and the complement for testing. Here we used the leave-one-out method (LOO), but 5- or 10-fold cross-validation could be used instead. The most significant CpGs were identifed in the training data (the training part of the training data) and the corresponding first principal component was calculated (training-PC1). Using the same CpGs in the test data (the test part of the training data), test-PC1 was obtained by multiplication of the test data methylation matrix with the leading Eigenvector of the training data covariance matrix. Based on the coordinates of samples on the training-PC1, together with the known phenotype (known in training data), prediction of test data was done according to the coordinates of samples on the test-PC1. Using this method prediction accuracies were obtained for all the 35,130 models tested.
The original SPCA method  would use the model performing best in the training data for prediction of independent test data. However, we found that the model with the best cross-validation performance is often not the best model for prediction of independent test data. Using the CIN2+(b) data for training we also found many models with cross-validation prediction accuracy = 1, so this parameter is not sufficient to select one best model.
Model-selection-supervised principal component analysis (MS-SPCA)
Instead of picking just one model for independent test data prediction Model-Selection-SPCA (MS-SPCA) considers many models performing well in the training data cross-validation and from these selects specific models for final prediction, according to additional parameters obtained from the test data. We use the two parameters Eval1 and EV1dist which carry partly independent information. Eval1 is the normalized largest eigenvalue of the covariance matrix Covtest (taken from the methylation matrix of the test data), considering only the CpGs from the given model. EV1dist is the Euclidean distance between the leading Eigenvectors of Covtrain and Covtest (the model’s covariance matrix in the training data and in the test data). The smaller EV1dist and the larger Eval1, the more likely the model fits well to the test data and makes a good prediction (cf. Figure 1). All models were ordered according to the single parameter Eval1-EV1dist (standardized numbers). Figure 2 shows that this ordering correlates well with the prediction performance measure AUC. Finally, to increase the robustness of prediction, we calculated cumulative risk scores for the test samples by adding the risk scores of the first 1,2,3,… models (ordered by Eval1-EV1dist). Red curves in Figure 2 show the corresponding AUC. The final prediction results (Tables 6 and 7) correspond to the cumulative risk scores from the first n = 5 models (n = 1 means taking the single best ranking model alone for prediction, any n < 100 gives very similar results).
Mathematica code performing all steps from feature selection to MS-SPCA is provided in the Additional file 3.
Known cervical cancer genes were taken from the Cervical Cancer Gene Database (CCDB ), and developmental genes (PCGTs) from . Enrichment was calculated with a hypergeometric test, using 27,578 and 20,000 as background sample sizes for genome scale CpG- and gene-enrichment analyses, respectively.
Bird A: DNA methylation patterns and epigenetic memory. Genes Dev. 2002, 16: 6-21.
Bock C: Analysing and interpreting DNA methylation data. Nat Rev Genet. 2012, 13: 705-719.
Rakyan VK, Down TA, Balding DJ, Beck S: Epigenome-wide association studies for common human diseases. Nat Rev Genet. 2011, 12: 529-541.
McKay JA, Mathers JC: Diet induced epigenetic changes and their implications for health. Acta Physiol (Oxf). 2011, 202: 103-118.
Slomko H, Heo HJ, Einstein FH: Minireview: Epigenetics of obesity and diabetes in humans. Endocrinology. 2012, 153: 1025-1030.
Stewart BW, Wild CP: World Cancer Report 2014. 2014, WHO Press
Baylin SB, Jones PA: A decade of exploring the cancer epigenome – biological and translational implications. Nat Rev Cancer. 2011, 11: 726-734.
De Carvalho DD, Sharma S, You JS, Su SF, Taberlay PC, Kelly TK, Yang X, Liang G, Jones PA: DNA methylation screening identifies driver epigenetic events of cancer cell survival. Cancer Cell. 2012, 21: 655-667.
Feinberg AP, Irizarry RA, Fradin D, Aryee MJ, Murakami P, Aspelund T, Eiriksdottir G, Harris TB, Launer L, Gudnason V, Fallin MD: Personalized epigenomic signatures that are stable over time and covary with body mass index. Sci Transl Med. 2010, 2: 49ra67-
Teschendorff AE, Widschwendter M: Differential variability improves the identification of cancer risk markers in DNA methylation studies profiling precursor cancer lesions. Bioinformatics. 2012, 28: 1487-1494.
Tibshirani R, Hastie T, Narasimhan B, Chu G: Diagnosis of multiple cancer types by shrunken centroids of gene expression. Proc Natl Acad Sci U S A. 2002, 99: 6567-6572.
Bair E, Tibshirani R: Semi-supervised methods to predict patient survival from gene expression data. PLoS Biol. 2004, 2: E108-
Feinberg AP, Vogelstein B: Hypomethylation distinguishes genes of some human cancers from their normal counterparts. Nature. 1983, 301: 89-92.
Shao C, Sun W, Tan M, Glazer CA, Bhan S, Zhong X, Fakhry C, Sharma R, Westra WH, Hoque MO, Moskaluk CA, Sidransky D, Califano JA, Ha PK: Integrated, genome-wide screening for hypomethylated oncogenes in salivary gland adenoid cystic carcinoma. Clin Cancer Res. 2011, 17: 4320-4330.
Teschendorff AE, Jones A, Fiegl H, Sargent A, Zhuang JJ, Kitchener HC, Widschwendter M: Epigenetic variability in cells of normal cytology is associated with the risk of future morphological transformation. Genome Med. 2012, 4: 24-
Saslow D, Solomon D, Lawson HW, Killackey M, Kulasingam SL, Cain J, Garcia FAR, Moriarty AT, Waxman AG, Wilbur DC, Wentzensen N, Downs LS, Spitzer M, Moscicki A-B, Franco EL, Stoler MH, Schiffman M, Castle PE, Myers ER: American Cancer Society, American Society for Colposcopy and Cervical Pathology, and American Society for Clinical Pathology Screening Guidelines for the prevention and early detection of cervical cancer. J Low Genit Tract Dis. 2012, 16: 3-
Bibikova M, Fan JB: Genome-wide DNA methylation profiling. Wiley Interdiscip Rev Syst Biol Med. 2010, 2: 210-223.
Lee TI, Jenner RG, Boyer LA, Guenther MG, Levine SS, Kumar RM, Chevalier B, Johnstone SE, Cole MF, Isono K, Koseki H, Fuchikami T, Abe K, Murray HL, Zucker JP, Yuan B, Bell GW, Herbolsheimer E, Hannett NM, Sun K, Odom DT, Otte AP, Volkert TL, Bartel DP, Melton DA, Gifford DK, Jaenisch R, Young RA: Control of Developmental Regulators by Polycomb in Human Embryonic Stem Cells. Cell. 2006, 125: 301-313.
Agarwal SM, Raghav D, Singh H, Raghava GPS: CCDB: a curated database of genes involved in cervix cancer. Nucleic Acids Res. 2011, 39: D975-D979.
Yang J, Benyamin B, McEvoy BP, Gordon S, Henders AK, Nyholt DR, Madden PA, Heath AC, Martin NG, Montgomery GW, Goddard ME, Visscher PM: Common SNPs explain a large proportion of the heritability for human height. Nat Genet. 2010, 42: 565-569.
Gibson G: Hints of hidden heritability in GWAS. Nat Genet. 2010, 42: 558-560.
Struyk AF, Canoll PD, Wolfgang MJ, Rosen CL, D'Eustachio P, Salzer JL: Cloning of neurotrimin defines a new subfamily of differentially expressed neural cell adhesion molecules. J Neurosci. 1995, 15: 2141-2156.
Schutyser E, Struyf S, Proost P, Opdenakker G, Laureys G, Verhasselt B, Peperstraete L, Van de Putte I, Saccani A, Allavena P, Mantovani A, Van Damme J: Identification of biologically active chemokine isoforms from ascitic fluid and elevated levels of CCL18/pulmonary and activation-regulated chemokine in ovarian carcinoma. J Biol Chem. 2002, 277: 24584-24593.
Chen J, Yao Y, Gong C, Yu F, Su S, Chen J, Liu B, Deng H, Wang F, Lin L, Yao H, Su F, Anderson KS, Liu Q, Ewen ME, Yao X, Song E: CCL18 from tumor-associated macrophages promotes breast cancer metastasis via PITPNM3. Cancer Cell. 2011, 19: 541-555.
Kolker E, Higdon R, Haynes W, Welch D, Broomall W, Lancet D, Stanberry L, Kolker N: MOPED: Model Organism Protein Expression Database. Nucleic Acids Res. 2012, 40: D1093-D1099.
Wang M, Weiss M, Simonovic M, Haertinger G, Schrimpf SP, Hengartner MO, von Mering C: PaxDb, a database of protein abundance averages across all three domains of life. Mol Cell Proteomics. 2012, 11: 492-500.
Schaab C, Geiger T, Stoehr G, Cox J, Mann M: Analysis of high-accuracy, quantitative proteomics data in the MaxQB database. Mol Cell Proteomics. 2012, 11: M111.014068-
Guo M, Akiyama Y, House MG, Hooker CM, Heath E, Gabrielson E, Yang SC, Han Y, Baylin SB, Herman JG, Brock MV: Hypermethylation of the GATA genes in lung cancer. Clin Cancer Res. 2004, 10: 7917-7924.
Caslini C, Capo-chichi CD, Roland IH, Nicolas E, Yeung AT, Xu XX: Histone modifications silence the GATA transcription factor genes in ovarian cancer. Oncogene. 2006, 25: 5446-5461.
Mannisto S, Butzow R, Salonen J, Leminen A, Heikinheimo O, Heikinheimo M: Transcription factors GATA-4 and GATA-6, and their potential downstream effectors in ovarian germ cell tumors. Tumour Biol. 2005, 26: 265-273.
Cai KQ, Caslini C, Capo-chichi CD, Slater C, Smith ER, Wu H, Klein-Szanto AJ, Godwin AK, Xu XX: Loss of GATA4 and GATA6 expression specifies ovarian cancer histological subtypes and precedes neoplastic transformation of ovarian surface epithelia. PLoS One. 2009, 4: e6454-
Brentnall AR, Vasiljevic N, Scibior-Bentkowska D, Cadman L, Austin J, Szarewski A, Cuzick J, Lorincz AT: A DNA methylation classifier of cervical pre-cancer based on human papilloma virus and human genes. Int J Cancer. 2014, doi:10.1002/ijc.28790
Timp W, Feinberg AP: Cancer as a dysregulated epigenome allowing cellular growth advantage at the expense of the host. Nat Rev Cancer. 2013, 13: 497-510.
Greger V, Passarge E, Hopping W, Messmer E, Horsthemke B: Epigenetic changes may contribute to the formation and spontaneous regression of retinoblastoma. Hum Genet. 1989, 83: 155-158.
Das PM, Singal R: DNA methylation and cancer. J Clin Oncol. 2004, 22: 4632-4642.
Walboomers JM, Jacobs MV, Manos MM, Bosch FX, Kummer JA, Shah KV, Snijders PJ, Peto J, Meijer CJ, Muñoz N: Human papillomavirus is a necessary cause of invasive cervical cancer worldwide. J Pathol. 1999, 189: 12-19.
Edgar R, Domrachev M, Lash AE: Gene Expression Omnibus: NCBI gene expression and hybridization array data repository. Nucleic Acids Res. 2002, 30: 207-210.
Bibikova M, Le J, Barnes B, Saedinia-Melnyk S, Zhou L, Shen R, Gunderson KL: Genome-wide DNA methylation profiling using Infinium assay. Epigenomics. 2009, 1: 177-200.
Leek JT, Storey JD: A general framework for multiple testing dependence. Proc Natl Acad Sci U S A. 2008, 105: 18718-18723.
Tomlins SA, Rhodes DR, Perner S, Dhanasekaran SM, Mehra R, Sun X-W, Varambally S, Cao X, Tchinda J, Kuefer R, Lee C, Montie JE, Shah RB, Pienta KJ, Rubin MA, Chinnaiyan AM: Recurrent fusion of TMPRSS2 and ETS transcription factor genes in prostate cancer. Science. 2005, 310: 644-648.
Teschendorff AE, Menon U, Gentry-Maharaj A, Ramus SJ, Weisenberger DJ, Shen H, Campan M, Noushmehr H, Bell CG, Maxwell AP, Savage DA, Mueller-Holzner E, Marth C, Kocjan G, Gayther SA, Jones A, Beck S, Wagner W, Laird PW, Jacobs IJ, Widschwendter M: Age-dependent DNA methylation of genes that are suppressed in stem cells is a hallmark of cancer. Genome Res. 2010, 20: 440-446.
Storey JD, Tibshirani R: Statistical significance for genomewide studies. Proc Natl Acad Sci U S A. 2003, 100: 9440-9445.
Ahn S, Wang T: A powerful statistical method for identifying differentially methylated markers in complex diseases. Pac Symp Biocomput. 2013, 18: 69-79.
The author thanks two anonymous reviewers for helpful comments and gratefully acknowledges the support of the Biotechnology and Biological Sciences Research Council (BBSRC). This research was funded by the BBSRC Institute Strategic Programme Grant BB/J004529/1.
The author declares that he has no competing interests.
Electronic supplementary material
Additional file 1: 1. Performance of the first four principal components in separating cases from controls in the Normal data. Figure S2. Models trained on Normal HPV+ data. Two parameters - used to select the final prediction models. Figure S3. Models trained on Normal HPV+ data. Performance of prediction (AUC). Figure S4. Models trained on Normal HPV+ data. Description of models used for predictions (weights and # CpGs). Figure S5. Models trained on Normal HPV- data. Two parameters - used to select the final prediction models. Figure S6. Models trained on Normal HPV- data. Performance of prediction (AUC). Figure S7. Models trained on Normal HPV- data. Description of models used for predictions (weights and # CpGs). Figure S8. Larger test sets allow MS-SPCA to more reliably select the best performing models. Figure S9. DNAm patterns can predispose to HPV infection. (DOC 10 MB)
About this article
Cite this article
Wilhelm, T. Phenotype prediction based on genome-wide DNA methylation data. BMC Bioinformatics 15, 193 (2014). https://0-doi-org.brum.beds.ac.uk/10.1186/1471-2105-15-193
- DNA methylation
- Feature selection
- Machine learning