Abstract
Background
In methylomewide association studies (MWAS) there are many possible differences between cases and controls (e.g. related to life style, diet, and medication use) that may affect the methylome and produce false positive findings. An effective approach to control for these confounders is to first capture the major sources of variation in the methylation data and then regress out these components in the association analyses. This approach is, however, computationally very challenging due to the extremely large number of methylation sites in the human genome.
Result
We introduce MethylPCA that is specifically designed to control for potential confounders in studies where the number of methylation sites is extremely large. MethylPCA offers a complete and flexible data analysis including 1) an adaptive method that performs data reduction prior to PCA by empirically combining methylation data of neighboring sites, 2) an efficient algorithm that performs a principal component analysis (PCA) on the ultra highdimensional data matrix, and 3) association tests. To accomplish this MethylPCA allows for parallel execution of tasks, uses C++ for CPU and I/O intensive calculations, and stores intermediate results to avoid computing the same statistics multiple times or keeping results in memory. Through simulations and an analysis of a real whole methylome MBDseq study of 1,500 subjects we show that MethylPCA effectively controls for potential confounders.
Conclusions
MethylPCA provides users a convenient tool to perform MWAS. The software effectively handles the challenge in memory and speed to perform tasks that would be impossible to accomplish using existing software when millions of sites are interrogated with the sample sizes required for MWAS.
Similar content being viewed by others
Background
Methylation studies are a promising complement to genetic studies of DNA sequence variation. First, as methylation is typically associated with transcriptional repression [1, 2], it may account for additional variation in disease susceptibility. Second, methylation studies can shed a unique light on clinical phenomena [3] such as sex differences [4, 5], genotype environment interactions [6], and disease course over time [7]. Finally, methylation sites are potential new drug targets [8] and have good properties from a translational perspective such as being stable and enabling costeffective assays in biosamples that are relatively easy to collect [9].
Because detailed prior biological knowledge is lacking, it will be critical to perform methylomewide association studies (MWAS) to detect disease relevant sites [10, 11]. The most comprehensive approach uses nextgeneration sequencing (NGS) to interrogate DNA methylation on a genomewide basis after bisulfite conversion of unmethylated cytosines. The single base resolution afforded by bisulfite sequencing is attractive but currently this approach is not economically feasible for the large sample sizes required for MWAS [12]. In a costeffective alternative the genome is fragmented and the methylated fragments are bound to antibodies [13] (e.g. MeDIP) or other proteins [14] (e.g. MBDseq) with high affinity for methylated DNA. The unmethylated genomic fraction is washed away, and then only the methylationenriched portion is sequenced. A final option involves arrays. Examples are the commercially available Infinium system from Illumina [15] that interrogates >450,000 loci or genomewide tiling arrays and the 45 million probe array set from Affymetrix [16] that offers more comprehensive coverage of the methylome.
In addition to technical factors associated with processing samples, in MWAS there are many possible differences between cases and controls that may affect the methylome. Examples include differences in life style, diet, and medication use. As these confounding variables correlate with both the dependent (casecontrol status) and independent variable (methylation status) they will cause spurious associations that are not of direct substantive interest because they are unrelated to disease processes. Controlling for confounders in MWAS is critical to avoid a flood of false positive findings. If measured, such variables can be regressed out. However, the list of potential confounders is long, only a subset of these variables will have been measured, and many confounders may simply be unknown. Statistical methods that first capture the major sources of variation in the methylation data, and then regress out these components when performing the association analyses may provide an effective solution. However, because of the ultra high dimension of methylation data (e.g. the methylation of DNA cytosine residues at the carbon 5 position (5^{me}C) occurs in the vast majority of cases at CpG sites of which already 27 million exist in the human reference genome), standard statistical packages or existing software for the analysis of large scale methylation data cannot be used [1720]. To address the computational challenges we developed a toolkit called MethylPCA that is specifically designed to control for confounders in MWAS.
MethylPCA uses principal component analysis (PCA) to capture the major sources of variation in the methylation data. Although other options exist, PCA has the advantage of being well developed (e.g. algorithms exist that enable PCA on ultrahigh dimensional data), is computationally efficient, and has already been successfully applied to highdimensional biological data [21]. EIGENSOFT [21, 22] also performs PCA. However, 1) MethylPCA provides an adaptive procedure designed to combine methylation data of neighboring sites into larger blocks prior to PCA; 2) Even after this data reduction step, calculation of the input matrix for the PCA would be prohibitive in terms of memory and CPU time for large sample sizes. MethylPCA allows partitioning the data into a userspecified number of sets to compute submatrices in parallel on a cluster and then assemble those to obtain the complete input matrix; 3) To enable a complete and flexible data analysis pipeline, MethylPCA provides options to perform PCA based on the covariance matrix and/or correlation matrix and includes an association testing procedure where covariates such as the calculated principal component scores (PCs) can be regressed out; 4) EIGENSOFT is designed to process categorical SNP data while our software can work on the quantitative methylation data.
Implementation
The design philosophy of MethylPCA is to build small independent executable components first and then combine them to perform complex tasks. There are two advantages for this design style: 1) Easy to debug. Each component can be debugged independently. 2) Flexible to use. Each component can be used either independently or combined together. MethylPCA consists of three major components that can be run individually or as a pipeline:

1)
Creating blocks. This procedure adaptively combines intercorrelated methylation data from adjacent sites.

2)
PCA. It performs PCA on the methylation data and outputs the calculated PC scores, eigenvalues and loadings.

3)
Association test. It performs association tests using multiple linear regression with optional supplied covariates (e.g., age, gender) and the PC scores calculated from the PCA procedure. It outputs the test statistics and pvalues, as well as a QQ plot.
A userfriendly interface is provided in the form of a parameter file that controls which and how procedures are performed (see Additional file 1 for detailed description of software). For example, the above three procedures can be performed sequentially or individually by putting the parameters corresponding to the procedures in the parameter file. Each procedure has multiple parameters to be set in the parameter file in order to run it properly. The computational and I/O intensive parts of MethylPCA are implemented in C++ and the remainder in the R language.
Creating blocks
In MWAS correlations often exist between adjacent sites. Rather than using a sliding window of arbitrary length, MethylPCA uses an adaptive algorithm that combines methylation data based on the observed intercorrelations. A benefit of creating “blocks” is that the data reduction speeds up subsequent analyses, e.g. the PCA procedure. The use of blocks may also prevent that the results of PCA are dominated by a limited number of regions containing highly correlated sites as well as improve the signal to noise ratio because a sum of substantially intercorrelated measurements is known to be more reliable than the individual measurements separately [23]. Because there may be regions in a chromosome where there is differential methylation in just one CpG site, sites that are uncorrelated with neighboring sites are also kept by forming “blocks” that consist of a single CpG sites only.
Correlations between sites can occur for different reasons. For example in MBDseq neighboring CpGs will be highly correlated because they are largely covered by the same DNA fragments. Correlations can also occur because of biological phenomenon [24]. To account for these different causes, MethylPCA allows creating blocks in two stages. The first stage combines the sites that are largely covered by the same fragments to form the level 1 block data. Next the level 1 block data is combined to capture the “biological” correlations to form the level 2 block data.
Sometimes excluding some sites in the analysis is useful, e.g. those sites with low coverage or that are in repeats. There is an option to provide files that specify which sites are included or excluded. The computing time for creating blocks is approximately proportional to n × p, where n is the number of subjects and p is the number of sites. Because a block merged from multiple sites is processed as a single unit in the following analysis, the word “site” in the following text may either refer to a single CpG site, or a block containing multiple neighboring CpG sites.
Three parameters control the block creation. The first is a threshold for the average correlations inside a block denoted by t_{ 1 }. The second is a threshold denoted by n_{ t } for the number of new sites added to the block that have a mean correlation with sites already in the block below a third threshold labeled t_{ 2 }. The merging process of a block stops if 1) the average correlations in the block is below t_{ 1 } or n_{ t } new sites are merged having correlations with sites already in the block below t_{ 2 }. The output block data uses the mean of all methylation values inside the block to represent each block and stores the related block information such as the beginning of the block, the end of the block and the average correlation within the block in a separate file.
Principal component analysis (PCA) when p>> n
PCA is typically performed on the p × p sample covariance matrix C=\frac{1}{n1}{X}^{T}X, where X is the n × p data matrix, n the number of subjects and p the number of methylation sites. When p is much larger than n, direct eigendecomposition of C is no longer computationally feasible. However, we can obtain the same PCA results through eigendecomposition of the much smaller n × n matrix M=\frac{1}{n1}X{X}^{T}, sometimes called principal coordinate analysis [25].
We assume that X has been centered by subtracting the mean of each column from the original observations. The sample covariance matrix C=\frac{1}{n1}{X}^{T}X is a p × p matrix. Suppose λ_{ 1 }, λ_{ 2 }, …, λ_{ r } are the positive eigenvalues in descending order and v_{ 1 }, v_{ 2 }, … v_{ r } are the corresponding orthonormal eigenvectors of C, with subscript r being the rank of X. Then PC_{ i } = Xv_{ i } is the ndimensional column vector of the i th principle component (PC) scores of methylation data across p sites for all n subjects, where the elements in v_{ i } are also called the loadings of PC_{ i }. When p >> n it can be computationally infeasible to conduct the PCA through eigendecomposition of matrix C. Instead, we can calculate PC_{i} by using the n × n matrix M=\frac{1}{n1}X{X}^{T}, which is a similarity matrix or inner product matrix between all subjects. Suppose α_{ 1 }, α_{ 2 }, …, α_{ r } are the positive eigenvalues in descending order and u_{ 1 }, u_{ 2 }, …u_{ r } are the corresponding orthonormal eigenvectors of M. Let U = [u_{ 1 }, u_{ 2 }, …u_{ r }] and V = [v_{ 1 }, v_{ 2 }, … v_{ r }]. If U and V are properly chosen when they are not unique, we have (see[25])
So the PC scores can be calculated using u_{ i } and α_{ i }. Similarly we have
Therefore, the loadings v_{ i } can also be calculated from u_{ i } and α_{ i }. EIGENSOFT [21] employs a similar method to calculate principle components.
In MethylPCA, we compute and store the n × n matrix X, and the PCs are then calculated from the eigenvectors of M=\frac{1}{n1}X{X}^{T} (see Equation 2). The loadings are calculated based on the original data matrix X and the PCs or the eigenvectors of M (see Equation 3). The main computing challenge (both in memory and time) is the calculation of the matrix XX^{T} that becomes prohibitive for large samples using existing software. To handle this challenge, MethlPCA can calculate userspecified chunks of the matrix XX^{T} after which the full matrix XX^{T} is assembled. Because each computing job only works on a specified number of samples loaded into the memory for calculation instead of loading the entire methylation data, this solves the problem of processing large data sets with limited memory. If a cluster is available, each computing job can be executed in parallel to speed up the process. Statistics that are used repeatedly (e.g. means of all sites in the entire sample) are calculated only once and stored to further increase efficiency. PCA based on the correlation matrix is sometimes preferred because PCA on a covariance matrix can be dominated by variables with large variances [26]. MethylPCA provides options to perform PCA based on the correlation matrix or covariance matrix. Even though it is possible to calculate the loadings for each PC, usually we are only interested in the loadings corresponding to the top PC scores. To reduce the computing time, users can specify the number of top principal components for which loadings will be calculated. The computing time of PCs is proportional to n^{2} × p plus the time reading the data into the memory. The computing time for one loading is approximately proportional to n × p.
Because covariates that have been measured can be regressed out directly in the MWAS, the motivation for using PCA is typically to control for the unmeasured confounders. To better capture unmeasured confounders and include those together with the measured covariates in the MWAS, it is possible to regress out measured covariates prior to performing the PCA. This could include, for example, technical factors associated with processing samples such as the quantity of genomic DNA starting material or sample batches. This option is implemented using the multiple regression functions from GNU Scientific Library (GSL) [27]. The adjusted methylation data used in the PCA are the residuals after regressing out the measured covariates.
Association test
To enable a complete data analysis pipeline, we also added the possibility to perform MWAS in MethylPCA through multiple linear regression analysis using functions in GSL [27]. It tests the association between the phenotype and each methylation site while adjusting for covariates. Users can choose which covariates will be included in the association tests, such as age, gender and PCs. The test statistic and the pvalues for each site are calculated and stored. Once all test statistics are generated, the genomic control inflation factor lambda is calculated, which is defined as the observed median test statistic value divided by the expected median of a chisquare distribution with 1 degree of freedom [28]. Under the null hypothesis that there is no effect for any site, lambda is close to 1. Finally a QQ (quantilequantile) plot is produced based on the pvalues and the calculated lambda is also displayed. The association tests for different chromosomes can be computed in parallel to decrease CPU time.
Support for both a single computer and a cluster
An option is provided in the parameter file that controls whether to submit the computing jobs to a cluster or run it sequentially on a single computer. After analyzing the parameter file, all computing jobs will be arranged. Each computing job is written as a line of an executable command with corresponding parameters and is stored into batch files. For example, the block creating procedure can be performed per chromosome, with each command line processing one chromosome in the corresponding batch file.
Results
Simulation study
In this simulation study, we illustrate the effectiveness of PCA in correcting confounding factors in the association test. We simulate two types of confounding factors: continuous and dichotomous. We assume that the same number of cases and controls are collected in the casecontrol data and let y_{ i } denote the disease status of the i th subject, 1 for case and 0 for control, i = 1, …, n. We simulate K confounding factors. The k th confounding factor for subject i as a continuous variable is simulated as follows:
where m_{ ik } follows a normal distribution with mean 0 and variance σ^{2}, b_{ k } is a parameter which together with σ^{2} controls the correlation between the k th factor and the casecontrol status y_{ i } (see Additional file 2). If the k th confounding factor is dichotomous, such as smoking/nonsmoking status, the distribution of the confounding factor is simulated as:
where p_{ 1 } and p_{ 2 } control the correlation between the k th factor and the casecontrol status y_{ i } (see Additional file 2). The inclusion of the casecontrol status in the above models makes sure that there are correlations between the outcome and the confounding factors.
Next, we introduce correlations between the confounding factor and the methylation levels. First we sample the number of CpG sites in each of the 22 chromosomes from a Poisson distribution with the mean of 4,000. Let x_{ ij } be the methylation level of the i th subject on the j th CpG site, then it is simulated using the following formula:
where a_{ j } is the base level for site j. e_{ ij } is the normally distributed error with mean 0 and variance δ^{2}, J is the total number of CpG sites. l_{ kj } is 0 or 1 defining the influence range of each confounding factor. If l_{ kj } = 1, then the k th confounding factor has effects on site j, otherwise there is no effect. We set the influence range of the k th confounding factor to cover all sites of three chromosomes, from chromosome (k1) × 2 + 1 to chromosome (k1) × 2 + 3. This means that each factor influences 3 chromosomes and there is one overlapped chromosome influenced by two factors. To ensure nonnegative methylation levels, all levels are subtracted by the smallest value in the data matrix X.

500
cases and 500 controls were simulated in each data set with 5 confounding factors. We did six simulations in which different combinations of continuous and dichotomous confounding factors were used (see Table 1). We set b _{ k } = 4 and σ = 10 for continuous factors so that the correlation between the continuous confounding factor and the casecontrol status was about 0.2. We set p _{ 1 } = 0.6 and p _{ 2 } = 0.4 so that the correlation between the dichotomous confounding factor and the casecontrol status was also 0.2. a _{ j } were uniformly sampled from 0 to 100. δ was set to 40. We applied MethylPCA on the simulated data sets and extracted the top PCs after examining the Scree plot, i.e., plot of eigenvalues. For comparison, we performed association tests with and without the top PCs.
Figure 1 shows the Scree plot of the top 10 eigenvalues of the data set with 3 continuous confounding factors and 2 dichotomous confounding factors. This plot clearly captures the number of factors. Therefore the top 5 PCs are included in the following association test. Figure 2 shows the QQ plot of association tests of the same data set with and without incorporating the top PCs. It can be seen that after applying PCs into the testing model, the distribution of pvalues is consistent with the null model. Results of other simulations have the similar pattern. Table 1 shows the comparison of lambda values under different simulation settings. We can see that, after regressing out PCs, the lambda is restored to be very close to 1. This indicated that MethylPCA controlled for confounders well.
MBDseq MWAS in 1,500 samples
This study includes 750 schizophrenia cases and 750 controls, as well as 75 technical duplicates. For a detailed description of this study and the data analysis pipeline see [29]. In summary, this study is part of a large ongoing project entitled “A LargeScale Schizophrenia Association Study in Sweden”. The project is supported by grants from NIMH and the Stanley Foundation and aims at improving our understanding of the etiology of schizophrenia and bipolar disorder plus their clinical and epidemiological correlations using high dimensional biological investigations and proper analysis. For details on the project see [3032]. Cases with schizophrenia were identified via the Hospital Discharge Register. Population controls, who had never received a discharge diagnosis of schizophrenia, were selected at random from the national population registers and then group matched to the cases in terms of age, gender and county of residence. All procedures were approved by ethical committees in Sweden and in the US, and all subjects provided written informed consent (or legal guardian consent and subject assent). DNA was extracted from peripheral donated blood at the local medical facilities of the participants.
We obtained, on average, 68.0 million 50 bp reads per sample of which 70.8% could be mapped. After several QC steps we estimated the methylation status of about 27 million autosomal CpGs (all CpGs in the reference genome hg19/ GRCh37). We eliminated 10,483,766 CpGs (mostly located in repeats) showing alignment problems according to an in silico alignment experiment plus another 2,735,400 sites showing low read coverage.
MethylPCA performed data reduction in two stages. The first stage consists of combining CpG sites that are very highly correlated (r >0.9) because they are largely covered by the same 100200 bp fragments. In the second stage, we combine the “blocks” from the first stage that are highly correlated (r > 0.6) typically due to biological processes.
MethylPCA could combine the remaining 15,558,200 CpGs after QC into 8,822,240 stage (level) 1 blocks, which in turn could be combined into 5,074,538 stage (level) 2 blocks. This represented a 67.3% data reduction. The stage 1 blocks were small (15.6 bp) with high intercorrelations (mean r = 0.95) indicating that they involved CpGs in close proximity that were largely covered by the same 100200 bp fragments. The stage 2 blocks comprised an average of 3.1 CpGs with the largest blocks consisting of >18 CpGs and spanning over 500 bp. This suggested regions seemed to be similarly methylated due to biological processes.
We performed analyses on the 5,074,538 stage 2 blocks. To eliminate possible artifacts related to the lab technical aspects of the data, MethylPCA regressed out 5 technical factors prior to performing PCA: amount of starting material, amount of DNA captured, the duplication status, rerun status and the batch number. Based on a Scree test shown in Figure 3, we choose the top 7 PCs. Age and gender are also included as covariates in the association test. Figure 4 shows the QQ plot and lambda without and with PCs as covariates. The results suggested many confounders (lambda = 7.32) that were subsequently effectively dealt with by regressing out the selected PCs (lambda =1.12). In contrast to the simulated data, the empirical data lambda remained slightly larger than 1. This may be because of disease related cases control differences which need further investigation. The Manhattan plot in Figure 5 indeed suggested a considerable number of effects with 141 blocks being significant when the False Discovery Rate (FDR) is controlled at the 0.01 level, and 25 blocks passing the highly conservative Bonferroni correction (threshold = 1.15 × 10^{8}). The best pvalues were 10^{11} to 10^{10}. The top findings were replicated in independent samples using a different technology (targeted bisulfite pyrosequencing) and are discussed in detail elsewhere [Aberg et al. submitted].
The computations were performed on a cluster. Processing the chromosomes in parallel, it took about 14 hours to create the stage 1 blocks and 4 hours to create the stage 2 blocks. We regressed out technical factors prior to the PCA, which took about 2 hours. The PCA was performed by portioning the similarity matrix into chunks of 350 subjects. Using 16 processors of 16 Gb each, the PCA took about 26 hours. The MWAS association test took about 2 hours.
Discussion
A wide variety of other existing methods can in principle be used to analyze MWAS data. For example, surrogate variable analysis (SVR) developed in the context of microarray experiments [33] can be used to identify and remove unknown latent noise, such as batch effects. However, direct application of these packages [33], may not be practical because of the ultra high dimension of methylation data. Instead, efficient analysis of MWAS data is likely to require tailored computational tools that employs parallel computing, uses a low level programming language for CPU intensive calculations, stores intermediate results to avoid computing the same statistics multiple times or storing results in memory, and uses algorithms specifically designed for high dimensional data.
Our empirical data showed that the risk of false positives in MWAS is very high, likely because of the many differences between cases and controls (e.g. life style, diet, medication use) that affect the methylome. This stressed the need of controlling confounders for which the package MethylPCA was designed. It seems reasonable to assume that if confounders have such pervasive effects on the methylome, the pathogenic processes that cause the disease may also involve many methylation sites. A careful inspection of the PCs (e.g. using the loadings generated by MethylPCA) is important to prevent that disease processes are being regressed out in the MWAS.
As the input methylation data are quantitative values for a set of genomic locations, MethylPCA can be applied to methylation data generated by any assay. Furthermore, because the PCA components can be run independently, in principle it can also be applied to other ultra high dimensional data, such as genomewide sequence data as long as the specific input format is followed.
Conclusions
Controlling for confounders in MWAS presents a major computational challenge because of the very large number of possible methylation sites. In this article we introduced MethylPCA that is specifically designed to handle this problem. We tested and demonstrated MethylPCA using simulations and empirical MWAS data from 1,500 subjects. Results showed that MethylPCA effectively controlled for possible confounders.
Availability and requirements
Project name: MethylPCA
Project home page: http://www.biomarker.vcu.edu
Operating systems: LINUX, MAC OS X, and MICROSOFT WINDOWS
Programming language: C++ and R
Other requirements: None
License: GNU GPL
Any restrictions to use by nonacademics: None
Abbreviations
 PCA:

Principal component analysis
 PC:

Principal components
 MBDseq:

MethylCpG binding domain protein sequencing
 MWAS:

Methylomewide association studies.
References
Petronis A: Epigenetics as a unifying principle in the aetiology of complex traits and diseases. Nature 2010,465(7299):721727. 10.1038/nature09230
Reik W, Dean W, Walter J: Epigenetic reprogramming in mammalian development. Science 2001,293(5532):10891093. 10.1126/science.1063443
Waterland RA, Jirtle RL: Early nutrition, epigenetic changes at transposons and imprinted genes, and enhanced susceptibility to adult chronic diseases. Nutrition 2004,20(1):6368. 10.1016/j.nut.2003.09.011
Jost JP, Saluz HP, Pawlak A: Estradiol down regulates the binding activity of an avian vitellogenin gene repressor (MDBP2) and triggers a gradual demethylation of the mCpG pair of its DNA binding site. Nucleic Acids Res 1991,19(20):57715775. 10.1093/nar/19.20.5771
Yokomori N, Moore R, Negishi M: Sexually dimorphic DNA demethylation in the promoter of the Slp (sexlimited protein) gene in mouse liver. Proc Natl Acad Sci USA 1995,92(5):13021306. 10.1073/pnas.92.5.1302
Sutherland JE, Costa M: Epigenetics and the environment. Ann NY Acad Sci 2003, 983: 151160. 10.1111/j.17496632.2003.tb05970.x
Cooney CA: Are somatic cells inherently deficient in methylation metabolism? A proposed mechanism for DNA methylation loss, senescence and aging. Growth Dev Aging 1993,57(4):261273.
Fuks F, Burgers WA, Brehm A, HughesDavies L, Kouzarides T: DNA methyltransferase Dnmt1 associates with histone deacetylase activity. Nat Genet 2000,24(1):8891. 10.1038/71750
Laird PW: The power and the promise of DNA methylation markers. Nat Rev Cancer 2003, 3: 253266.
Beck S, Rakyan VK: The methylome: approaches for global DNA methylation profiling. Trends Genet 2008,24(5):231237. 10.1016/j.tig.2008.01.006
Laird PW: Principles and challenges of genomewide DNA methylation analysis. Nat Rev Genet 2010,11(3):191203.
Rakyan VK, Down TA, Balding DJ, Beck S: Epigenomewide association studies for common human diseases. Nat Rev Genet 2011,12(8):529541. 10.1038/nrg3000
Mohn F, Weber M, Schubeler D, Roloff TC: Methylated DNA immunoprecipitation (MeDIP). Meth Mol Biol 2009, 507: 5564. 10.1007/9781597455220_5
Serre D, Lee BH, Ting AH: MBDisolated genome sequencing provides a highthroughput and comprehensive survey of DNA methylation in the human genome. Nucleic Acids Res 2010,38(2):391399. 10.1093/nar/gkp992
Bibikova M, Le J, Barnes B, SaediniaMelnyk S, Zhou L, Shen R, Gunderson KL: Genomewide DNA methylation profiling using Infinium(R) assay. Epigenomics 2009,1(1):177200. 10.2217/epi.09.14
Aberg K, Khachane AN, Rudolf G, Nerella S, Fugman DA, Tischfield JA, van den Oord EJ: Methylomewide comparison of human genomic DNA extracted from whole blood and from EBVtransformed lymphocyte cell lines. Eur J Hum Genet 2012,20(9):953955. 10.1038/ejhg.2012.33
Trimarchi MP, Murphy M, Frankhouser D, Rodriguez BA, Curfman J, Marcucci G, Yan P, Bundschuh R: Enrichmentbased DNA methylation analysis using nextgeneration sequencing: sample exclusion, estimating changes in global methylation, and the contribution of replicate lanes. BMC Genom 2012,13(Suppl 8):S6.
Chavez L, Jozefczuk J, Grimm C, Dietrich J, Timmermann B, Lehrach H, Herwig R, Adjaye J: Computational analysis of genomewide DNA methylation during the differentiation of human embryonic stem cells along the endodermal lineage. Genome Res 2010,20(10):14411450. 10.1101/gr.110114.110
Lan X, Adams C, Landers M, Dudas M, Krissinger D, Marnellos G, Bonneville R, Xu M, Wang J, Huang TH: High resolution detection and analysis of CpG dinucleotides methylation using MBDSeq technology. PLoS One 2011,6(7):e22226. 10.1371/journal.pone.0022226
Down TA, Rakyan VK, Turner DJ, Flicek P, Li H, Kulesha E, Graf S, Johnson N, Herrero J, Tomazou EM: A Bayesian deconvolution strategy for immunoprecipitationbased DNA methylome analysis. Nat Biotechnol 2008,26(7):779785. 10.1038/nbt1414
Price AL, Patterson NJ, Plenge RM, Weinblatt ME, Shadick NA, Reich D: Principal components analysis corrects for stratification in genomewide association studies. Nat Genet 2006,38(8):904909. 10.1038/ng1847
Patterson N, Price AL, Reich D: Population structure and eigenanalysis. PLoS Genet 2006,2(12):e190. 10.1371/journal.pgen.0020190
Bock C, Walter J, Paulsen M, Lengauer T: Interindividual variation of DNA methylation and its implications for largescale epigenome mapping. Nucleic Acids Res 2008,36(10):e55. 10.1093/nar/gkn122
Bollen KA: Structural equations with latent variables. New York: Wiley; 1989.
Gower JC: Some distance properties of latent root and vector methods used in multivariate analysis. Biometrika 1966, 53: 325338.
Rencher A: Methods of Multivariate Analysis. 2nd edition. New York, NY: John Wiley & Sons, Inc; 2002.
Galassi M, Davies J, Theiler J, Gough B, Jungman G, Alken P, Booth M, Rossi F: GNU Scientific Library Reference Manual. 3rd edition. Godalming, United Kingdom: Network Theory Ltd; 2009.
Devlin B, Roeder K: Genomic control for association studies. Biometrics 1999, 55: 9971004. 10.1111/j.0006341X.1999.00997.x
Aberg KA, McClay JL, Nerella S, Xie LY, Clark SL, Hudson AD, Bukszar J, Adkins D, Consortium SS, Hultman CM: MBDseq as a costeffective approach for methylomewide association studies: demonstration in 1500 casecontrol samples. Epigenomics 2012,4(6):605621. 10.2217/epi.12.59
Bergen SE, O'Dushlaine CT, Ripke S, Lee PH, Ruderfer D, Akterin S, Moran JL, Chambert KD, Handsaker RE, Backlund L: Genomewide association study in a Swedish population yields support for greater CNV and MHC involvement in schizophrenia compared to bipolar disorder. Mol Psychiatr In press In press
International Schizophrenia Consortium: Common polygenic variation contributes to risk of schizophrenia and bipolar disorder. Nature 2009, 460: 748752.
Schizophrenia Psychiatric GenomeWide Association Study Consortium: Genomewide association study of schizophrenia identifies five novel loci. Nat Genet 2011, 43: 969976. 10.1038/ng.940
Leek JT, Johnson WE, Parker HS, Jaffe AE, Storey JD: The sva package for removing batch effects and other unwanted variation in highthroughput experiments. Bioinformatics 2012,28(6):882883. 10.1093/bioinformatics/bts034
Acknowledgements
Library construction and next generation sequencing of the empirical data sample was done by EdgeBio, Gaithersburg, MD.
Funding
This work was supported by the National Human Genome Research Institute (Grants R01 HG004240 and HG00424002S1), the National Institute of Mental Health (Grant RC2 MH089996), and the National Institute of General Medical Sciences (grant GM073766). The research was also partly supported by the National Center for Advancing Translational Sciences (grant UL1TR000058).
Author information
Authors and Affiliations
Corresponding authors
Additional information
Competing interests
The authors declare that they have no competing interests.
Authors’ contributions
WC designed and cowrote the software, codeveloped the methodology and simulation, carried out the computational experiments, and helped to draft the manuscript. GG codeveloped the methodology, discussion of the computational experiments, helped to draft the manuscript. SN, CMH, PKM, PFS, KA collected the samples and processed the methylation data. EJV designed and cowrote the software, codeveloped the methodology and simulation, carried out the computational experiments, helped to draft the manuscript and coordinated the project. All authors read and approved the final manuscript.
Electronic supplementary material
12859_2012_5740_MOESM2_ESM.docx
Additional file 2:Supplemental material with a brief proof of the Equations ( 1 )( 3 ), detail on the simulation study, and description of laboratory procedures and QC of the real methylation data.(DOCX 71 KB)
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
Rights and permissions
Open Access This article is published under license to BioMed Central Ltd. This is an Open Access article is distributed under the terms of the Creative Commons Attribution License ( https://creativecommons.org/licenses/by/2.0 ), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
About this article
Cite this article
Chen, W., Gao, G., Nerella, S. et al. MethylPCA: a toolkit to control for confounders in methylomewide association studies. BMC Bioinformatics 14, 74 (2013). https://doi.org/10.1186/147121051474
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/147121051474