4.2. Latent Interaction Testing (LIT) framework

AB Andrew J. Bass
SB Shijia Bian
AW Aliza P. Wingo
TW Thomas S. Wingo
DC David J. Cutler
ME Michael P. Epstein
ask Ask a question
Favorite

Our strategy builds from the above observations and estimates the ITV and ITC to detect latent genetic interactions. To derive estimates of these quantities, we first remove the additive genetic effect from the traits to ensure that any variance and covariance effects are not due to the additive effect. Let us denote the trait residuals as ejk=YjkβkXj where we assume the effect size is known for simplicity. We can then express the ITV and ITC as a function of these residuals: the ITV of trait k and the ITC between traits k and k is defined as VarYjkXj=Eejk2Xj and CovYjk,YjkXj=EejkejkXj, respectively (Appendix 5.1.1). Thus, we can estimate the ITV by squaring the residuals, ejk2, and estimate the ITC between traits k and k by the pairwise product of the residuals (i.e., the cross products), ejkejk. Aggregating the ITV and ITC estimates across all individuals, we denote the cross product (CP) terms in the n×s matrix ZCP where the jth row vector is ZjCP=ej1ej2,ej1ej3,,ej,r1ejr, and the squared residual (SQ) terms in the n×r matrix ZSQ where ZjkSQ=ejk2.

Our inference goal is to assess whether the SNP, Xn×1=X1,X2,,XnT, is independent of the squared residuals and cross products,

where ‘.’ denotes all the rows (or individuals) and ‘’ denotes statistical independence. In the above regression model, this corresponds to testing the global null hypothesis H0:γ1=γ2==γr=0 versus the alternative hypothesis H1:γk0 for at least one of the k=1,2,,r traits. While a regression model can be directly applied to the squared residuals and cross products to test the global null hypothesis (see Appendix for mathematical details), a univariate model approach does not adequately leverage pleiotropy and requires a multiple testing correction which reduces power.

To address these issues, we develop a new multivariate kernel-based framework, Latent Interaction Testing (LIT), that captures pleiotropy across the ITV and ITC terms to increase power for detecting latent interactions. There are three key steps in the LIT framework (Figure 1):

We expand on the above steps in detail below.

Step 1: In the first step, LIT standardizes the traits and then regresses out the additive genetic effects, population structure, and any other covariates. This ensures that any differential variance and/or covariance patterns are not due to additive genetic effects or population structure. Suppose there are l1 measured covariates and l2 principal components to control for structure. We denote these l=l1+l2 variables in the n×l matrix H. After regressing out these variables and the additive genetic effects, the n×r matrix of residuals is e=Y˜Xβ^HA^, where Y˜ is the standardized trait matrix, β^ is a 1×r matrix of effect sizes and A^ is a l×r matrix of coefficients estimated using least squares. We also regress out population structure from the genotypes which we denote by X~.

The above approach only removes the mean effects and does not correct for variance effects from population structure which can impact type I error rate control [57]. A strategy to adjust for the variance effects is to standardize the genotypes with the estimated individual-specific allele frequencies (IAF), i.e., the allele frequencies given the genetic ancestry of an individual. However, it is computationally costly to standardize the genotypes for biobank-sized datasets as it requires estimating the IAFs of all SNPs using a generalized linear model [58, 59]. Therefore, in this work, we remove the mean effects from structure and then adjust the test statistics with the genomic inflation factor to be conservative. Our software includes an implementation to standardize the genotypes using the IAFs for smaller datasets.

Step 2: The second step uses the residuals, e, to reveal any latent interactions by constructing estimates of the ITV and ITC. For the jth individual’s set of trait residuals, the ITVs are estimated by squaring the trait residuals while the ITCs are estimated by calculating the cross products of the trait residuals. We express the squared residuals as ZjSQ=ej12,ej22,,ejr2, and the s=r2 pairwise cross products as ZjCP=ej1ej2,ej1ej3,,ej,k1ejr. Importantly, when the studentized residuals are used, then ZjSQ and ZjCP represent an unbiased estimate of the ITVs and ITCs, respectively. We aggregate these terms across all individuals into the n×(r+s) matrix Z=ZSQZCP.

Step 3: In the last step, we test for association between the adjusted SNP and the squared residuals and cross products (SQ/CP) using a kernel-based distance covariance framework [3133]. Specifically, we apply a kernel-based independence test called the Hilbert-Schmidt independence criterion (HSIC), which has been previously used for GWAS data (see, e.g., [3538]). The HSIC constructs two n×n similarity matrices between individuals using the SQ/CP matrix and genotype matrix, then calculates a test statistic that measures any shared signal between these similarity matrices. To estimate the similarity matrix, a kernel function is specified that captures the similitude between the jth and jth individual.

Since our primary application is biobank-sized data, we use a linear kernel so that LIT is computationally efficient. The linear similarity matrix is defined as Kjj:=kX~j,X~j=X~jX~j for the genotype matrix and Ljj:=kZj,Zj=ZjZjT for the SQ/CP matrix. The linear kernel is a scaled version of the covariance matrix and, for this special case, the HSIC is related to the RV coefficient. We note that one can choose other options for a kernel function, such as a polynomial kernel, projection kernel, and a Gaussian radial-basis function that can capture non-linear relationships [34, 35].

Once the similarity matrices K and L are constructed, we can express the HSIC test statistic as

which follows a weighted sum of Chi-squared random variables under the null hypothesis, i.e., T|H0i,jn1nλK,iλL,jvij2, where λK,i and λL,j are the ordered non-zero eigenvalues of the respective matrices and vijNormal(0,1). Intuitively, the test statistic measures the ‘overlap’ between two random matrices where large values of T imply the two matrices are similar (i.e., a latent genetic interactive effect) while small values of T imply no evidence of similarity (i.e., no latent genetic interactive effects). We can approximate the null distribution of T using Davies’ method, which is computationally fast and accurate for large T [35, 38, 60].

For the linear kernel considered here, we implement a simple strategy to substantially improve the computational speed of LIT. We first calculate the eigenvectors and eigenvalues of the SQ/CP and genotype matrices to construct the test statistic. Since the number of traits, r, is much smaller than the sample size, n, we can perform a singular value decomposition to estimate the subset of eigenvectors and eigenvalues in a computationally efficient manner [6163]. This allows us to circumvent direct calculation and storage of large n×n similarity matrices. Let L=VLDLVLT and K=VKDKVKT be the singular value decomposition (SVD) of the similarity matrices where the matrix D is a diagonal matrix of eigenvalues and V is a matrix of eigenvectors of the respective kernel matrices. We can then express the test statistic in terms of the SVD components as T=1ntrDKRDLRT, where R=VKTVL is the outer product between the two eigenvectors. Thus, for a single SNP, the test statistic is T=1ntrDKRd1×d2DLRd2×d1T, where d1=r+s is the rank of the SQ/CP matrix and d2=1 is the rank of the genotype matrix such that d1,d2n.

We explore an important aspect of the test statistic in Equation 5, namely, the role of the eigenvalues in determining statistical significance. The above equations suggest that the eigenvalues of the kernel matrices are emphasizing the eigenvectors that explain the most variation in the test statistic. While this may be reasonable in some settings, the interaction signal can be captured by eigenvectors that explain the least variation and this can be very difficult to ascertain beforehand [40]. In this case, the testing procedure will be underpowered. Thus, we also consider weighting the eigenvectors equally in LIT, i.e., T=1ntrRRT=1ni=1nDR,i2, where DR are the eigenvalues of the outer product matrix. In this work, we implement a linear kernel (scaled covariance matrix) and so, in this special case, weighting the eigenvectors equally is equivalent to the projection kernel.

In summary, there are two implementations of the LIT framework. The residuals are first transformed to calculate the SQ and CP to reveal any latent interactive effects. We then calculate the weighted and unweighted eigenvectors in the test statistic which we refer to as weighted LIT (wLIT) and unweighted LIT (uLIT), respectively. We also apply a Cauchy combination test (CCT) [41] to combine the p-values from the LIT implementations to maximize the number of discoveries and hedge for various (unknown) settings where one implementation may outperform the other. More specifically, let pc denote the p value for the c=1,2 implementations. In this case, the CCT statistic is T=12c=12tan0.5pcπ, where π3.14 is a mathematical constant. A corresponding p-value is then calculated using the standard Cauchy distribution. Importantly, when applying genome-wide significance levels, the CCT p-value provides control of the type I error rate under arbitrary dependence structures. In the Results section, we refer to the CCT p-value as aggregate LIT (aLIT).

We can extend LIT to assess latent interactions within a genetic region (e.g., a gene) consisting of multiple SNPs. In the first step, we regress out the joint additive effects from the multiple SNPs along with any other covariates and population structure. In the second step, we calculate the squared residuals and cross products using the corresponding residual matrix. Finally, in the last step, we construct the similarity matrices and perform inference using the HSIC: the linear similarity matrix for the n×m0 genotype matrix X~ is Kjj=kX~j,X~j=X~jX~jT and our test statistic is T=1ntrDKRd1×d2DLRd2×d1T where d2=m0 is the rank of the genotype matrix.

Compared to the previous section, this extended version of LIT is a region-based test for interactive effects instead of a SNP-by-SNP test. A region-based test is advantageous to reduce the number of tests compared to a SNP-by-SNP approach. However, in this work, we demonstrate LIT on SNP-by-SNP genome-wide scan to demonstrate the scalability.

Do you have any questions about this protocol?

Post your question to gather feedback from the community. We will also invite the authors of this article to respond.

post Post a Question
0 Q&A