Skip to main content
American Journal of Human Genetics logoLink to American Journal of Human Genetics
. 2022 Feb 22;109(3):433–445. doi: 10.1016/j.ajhg.2022.01.018

GWAS of longitudinal trajectories at biobank scale

Seyoon Ko 1,2,8, Christopher A German 2,8, Aubrey Jensen 2, Judong Shen 3, Anran Wang 3, Devan V Mehrotra 3, Yan V Sun 4, Janet S Sinsheimer 1,2,5, Hua Zhou 1,2,∗∗, Jin J Zhou 2,6,7,
PMCID: PMC8948167  PMID: 35196515

Summary

Biobanks linked to massive, longitudinal electronic health record (EHR) data make numerous new genetic research questions feasible. One among these is the study of biomarker trajectories. For example, high blood pressure measurements over visits strongly predict stroke onset, and consistently high fasting glucose and Hb1Ac levels define diabetes. Recent research reveals that not only the mean level of biomarker trajectories but also their fluctuations, or within-subject (WS) variability, are risk factors for many diseases. Glycemic variation, for instance, is recently considered an important clinical metric in diabetes management. It is crucial to identify the genetic factors that shift the mean or alter the WS variability of a biomarker trajectory. Compared to traditional cross-sectional studies, trajectory analysis utilizes more data points and captures a complete picture of the impact of time-varying factors, including medication history and lifestyle. Currently, there are no efficient tools for genome-wide association studies (GWASs) of biomarker trajectories at the biobank scale, even for just mean effects. We propose TrajGWAS, a linear mixed effect model-based method for testing genetic effects that shift the mean or alter the WS variability of a biomarker trajectory. It is scalable to biobank data with 100,000 to 1,000,000 individuals and many longitudinal measurements and robust to distributional assumptions. Simulation studies corroborate that TrajGWAS controls the type I error rate and is powerful. Analysis of eleven biomarkers measured longitudinally and extracted from UK Biobank primary care data for more than 150,000 participants with 1,800,000 observations reveals loci that significantly alter the mean or WS variability.

Keywords: biobank, biomarkers, disease progression, electronic medical records, longitudinal, trend, within-subject variability, variations

Introduction

Biomarker trajectories are important phenotypes that reflect the evolution of an individual’s health or disease progression.1, 2, 3 With the increasing use of electronic health records (EHRs) linked with biobanks, large scale and repeatedly measured EHR-based quantitative laboratory-derived phenotypes are becoming highly influential in genetic studies of human health.4, 5, 6 For example, a recent LabWAS tool demonstrates the broad impact of using such “real world” measurements for genetic association studies.7 LabWAS summarizes longitudinal measurements by taking the mean for analyses. Although proven to be robust, this approach may lose power by ignoring the many rich features in the whole trajectories. Identifying genetic and clinical factors associated with these longitudinal trajectories can quantify the susceptibility to the onset of disease and disease progression, which ultimately offers new opportunities for early clinical prevention.1,8, 9, 10

Besides mean level trajectory patterns, the biomarker fluctuations may also differ between individuals; some individuals show higher levels of variation around their mean than others (Figure 1). This intra-individual variability or within-subject (WS) variability11,12 has been shown to be an important risk factor for disease. For example, among diabetes patients, visit-to-visit intra-individual fasting glucose variability is a risk factor for the development of vascular complications,13, 14, 15 independent of the glycemic control of the mean; blood pressure variability has been associated with the increased risk of heart failure16 and stroke.11 Experimental research has revealed the biological basis of glycemic variability and diabetic kidney injury.17 WS variability in reaction times has also been suggested as a leading endophenotype for neurocognitive disorders, such as attention deficit hyperactivity disorder and schizophrenia.18,19 As the wearable devices gain more and more popularity, WS variability becomes a clinical metric of disease management, such as the glucose coefficient of variability output from the continuous glucose monitoring (CGM) device report.20,21

Figure 1.

Figure 1

Illustration of TrajGWAS

TrajGWAS identifies the genetic factors that shift the mean or alter the within-subject (WS) variability of a biomarker trajectory (e.g., blood pressure measurements over visits), which changes with time-varying covariates (e.g., medication history) or time-invariant covariates (e.g., sex).

WS variability differs from the between-subject (BS) variability, which also has recently attracted much attention. Variance quantitative trait loci (vQTLs) analysis seeks to identify loci that show different trait variances among groups of individuals with different variant genotypes.22, 23, 24, 25 Such phenotypic variance heterogeneity can be caused by gene-by-environment interaction, selection, epistasis, or phantom vQTLs. vQTL analysis is typically performed on a cross-sectional cohort, while TrajGWAS requires longitudinal data. In contrast to vQTL, TrajGWAS investigates genetic contributions to the WS variability instead of BS variability. Thus, TrajGWAS and vQTL analyses can provide complementary insights into the etiology of a disease. As an interesting example, we find that the well-known FTO (MIM: 610966) vQTL for body mass index (BMI)26 (p value = 1.16×10102) is not associated with the WS variability (p value = 1.18×104) at the genome-wide significance level.

Identifying genome-wide genetic contributions to longitudinal trajectories, including both mean and WS variability, is both methodologically and computationally challenging. Despite recent efforts,27, 28, 29 no existing software is able to analyze massive longitudinal traits at the biobank scale. The linear mixed effect model (LMM) is a powerful and popular method for longitudinal data analysis. Generalizations such as the mixed-effects location scale model30 allow for simultaneous modeling of the mean and variability of the longitudinal measurement, increase power, and reduce bias. It leverages information across individuals to produce more precise estimates.31 However, the expensive numerical integration required in each iteration prohibits many modern data applications. For example, the run times of the full likelihood approach with MixWILD software32,33 on two simulated datasets with 1,000 individuals and ten observations per individual ranged from 40 min to 10+ h depending on the different modeling assumptions being made. MLwiN,34 a multi-level model (a type of mixed effect model), has been used to estimate the mean trajectories while accounting for the change in scale and variance of measures over time.1 However, none of these tools were designed for modern genome-wide scans. The heuristic strategies being employed in practice involve a two-stage model: (1) summarize a subject-level measure of the variation of the longitudinal measurement such as standard deviation (SD), average real variability (ARV), or the coefficient of variation (CV); (2) model those as the responses with covariates.12,35,36 This framework makes an implicit assumption that an individual’s variability remains constant over time and cannot be affected by time-varying covariates (Figure 1). Yet intra-individual variability is affected by both time-varying (e.g., medication use or adherence to the treatment regime) and time-invariant features (e.g., sex and genes). Regressing the subject-level variability summaries on predictors leads to serious bias.31 The simulation study in supplemental methods, section C, shows that, without properly adjusting for time-varying covariates, the heuristic method can seriously inflate the type I error.

Building upon our recent methods, within-subject variance estimator by robust regression (WiSER),37 we derive an ultra-fast score test, which only requires fitting one null model across the whole genome-wide set. This testing strategy scales linearly in the number of individuals. We also develop and implement a saddlepoint approximation (SPA) for our score test to ensure well-controlled type I error rates for single rare variant testing with minor allele frequencies (MAFs) as low as 0.001.

Material and methods

An LMM framework for testing genetic effects on the trajectory mean and WS variability

Our modeling assumptions are as follows. Assume there are m independent individuals, individual i has ni longitudinal measurements of a biomarker, and n=i=1mni is the total number of observations. Consider an LMM for modeling different sources of variation in a biomarker in the longitudinal setting

yij=xijTβ+giβg+zijTγi+εij, (Equation 1)

where yij is individual i’s measurement at occasion j{1,2,,ni}, xij is the p×1 vector of regressors with corresponding regression coefficients β, gi is the genotype dosage of individual i with corresponding genetic mean effect βg, and zij is the q×1 vector of covariates with corresponding random effects γi. The WS variability is captured by the random terms εij with mean zero and inhomogeneous variance

σεij2=exp(wijTτ+giτg+ωi), (Equation 2)

where wij is the ×1 vector of covariates with corresponding fixed effects τ, τg is the genetic effect on the WS variability, and ωi is a random intercept. We assume that the random effects (γiT,ωi)T are independent of εij, have mean zero, and have covariance

Var(γiωi)=Σγω=(ΣγσγωσγωTσω2).

Covariates xij, zij, and wij typically contain an intercept and can include both time-invariant covariates, e.g., sex and baseline measurements, and time-varying covariates, e.g., age at measurement, medication history, and life-style indicators. Individuals can have varying numbers of observations, which do not need to be aligned.

Given a longitudinal biomarker of interest, our primary goal is to test (1) the mean effect of genotype, H0:βg=0, i.e., whether a genotype shifts the mean of the biomarker trajectory; (2) the WS variance effect of genotype, H0:τg=0, i.e., whether a genotype changes the WS variation of the biomarker trajectory around its mean; and (3) the joint effect, H0:βg=τg=0, i.e., whether a genotype affects either the mean, or the WS variation, or both. Although for the models in Equation 1 and Equation 2 we use scalar gi to represent a single genotype, our method and software can also test a group of genotypes or gene-by-environment (G × E) effects.

The models in Equation 1 and Equation 2 are similar to a multiple location scale model considered by Dzubur et al.,33 who assume normality of the random effects (γiT,ωi)T and εij and resort to the maximum likelihood estimation (MLE). Because each iteration of the MLE algorithm requires expensive numerical integration, it is not only distributionally restrictive but also computationally prohibitive. Both limitations prevent its application to genome-wide association studies (GWASs) of biobank data. Instead, we employ our recent estimation method, WiSER,37 which is robust to the misspecification of the trait distribution (conditional on random effects) and the random effects distribution. The estimation algorithm is free of numerical integration and scales linearly in the total number of longitudinal measurements. For example, the run times of the full likelihood approach with the MixWILD software32,33 on two simulated datasets with 1,000 individuals and ten observations per individual range from 40 min to 10+ h according to the different modeling assumptions being made, while WiSER takes less than half a second.

Briefly, the WiSER estimator is defined as

βˆ,βˆg=argminβ,βg12i=1m(yiXiβgiβg)T(Vi(0))1(yiXiβgiβg)τˆ,τˆg,Σˆγ=argminτ,τg,Σγ12i=1mtr((Vi(0))1Ri(Vi(0))1Ri), (Equation 3)

where Ri=(yiXiβˆgiβˆg)(yiXiβˆgiβˆg)TVi(τ,τg,Σγ),

Vi(τ,τg,Σγ)=(exp(wi1Tτ+giτg)exp(winiTτ+giτg))+ZiΣγZiT, (Equation 4)

and Vi(0)=Vi(τ(0),τg(0),Σγ(0)) is an initial estimator of Var(Yi). Model parameters are the mean fixed effects β and βg, WS variance fixed effects τ and τg, and the random effects covariance Σγ. In the special case Vi(0)=Ini, WiSER reduces to a method of moments (MoM) estimate because the objective functions in Equation 3 are simply the least-squares losses for the first two moments of Yi. Using an initial estimate Vi(0) improves the estimation efficiency of WiSER. In practice, we set the initial Vi(0) according to a least-squares estimator of τ and Σγ. WiSER enjoys a double robustness property. It is robust to the misspecification of both the distribution of random effects (γiT,ωi)T and the distribution of Yi conditional on random effects. In TrajGWAS, we employ a score test that only requires fitting one null model, with βg=τg=0, across the genome-wide tests. Compared with the Wald test proposed by German et al.,37 which requires fitting WiSER for each genotype, it is much faster and enables fast longitudinal trajectory GWAS analysis at biobank scale.

Robust and scalable score testing

Let θ1R be the genetic effect βg or τg. We are interested in testing the null hypothesis θ1=0. Let θ2Rp++q(q+1)/2 collect all parameters in the null model. We first derive the score (gradient of the WiSER loss function) ψH1 under the full model and then evaluate it under the null model, i.e., ψH1(θ˜), where θ˜=(0,θˆ2) and θˆ2 is the estimate under the null model. The generalized score test statistic38 is

T=1m[i=1mψH1,i(θ˜)]TVψH1(θ˜)1[i=1mψH1,i(θ˜)],

where Vψ is the variance of score ψ. The score test statistic T is asymptotically distributed as χ12 under the null model. In supplemental methods, section A, we show that the scores for testing βg=0 and τg=0 are

Sβg=i=1m[1niT(Vi(0))1rˆi]gi=:cβgTg

and

Sτg=i=1m{1niTdiag[(ewi1TτˆewiniTτˆ)(Vi(0))1Rˆi(Vi(0))1]}gi=:cτgTg

respectively. The quantities rˆi=yiXiβˆ, Rˆi, τˆ, and Vi(0) are readily available from the fitted null model. Calculation of each score involves linear combination of the genotype dosages with the coefficient vector cβg or cτg pre-computed and cached. In supplemental methods, section A, we show that the calculation of variance Vˆψ costs O(1) flops. Therefore, forming each score test statistic costs O(m) flops, where m is the number of individuals, usually much smaller than the total number of longitudinal measurements n. This extreme computational efficiency makes TrajGWAS easily scalable to biobank data with 105106 samples and millions of SNPs.

Saddlepoint approximation for rare variant testing

It is well-known that asymptotic score tests may yield deflated or inflated type I errors at stringent significance levels for rare variants with MAF < 0.01.39,40 Figures 2A and 2B show that, when testing a null variant with MAF =0.01, the score test shows deflation in testing βg and inflation in testing τg. To calibrate the null distribution for score statistics when testing rare variants, we apply a saddlepoint approximation (SPA).39, 40, 41, 42, 43 This approach uses the entire cumulant generating function (CGF) to approximate the null distribution instead of the first two moments as in the normal approximation and Satterthwaite method,44 resulting in superior performance. For testing a single variant, we directly use the score, Sβg or Sτg, as the test statistic. Since the CGFs of Sβg and Sτg do not have a simple closed-form expression, we use the empirical CGF based on the empirical moment generating function (MGF). Details are provided in the supplemental methods, section B. Because the normal approximation of the score test performs well near the mean of the distribution, to save on computation, we only apply SPA when the observed score statistic is large. Following Bi et al.,39 SPA is applied when |Sβg|>rVar(cβg)Var(g) and |Sτg|>rVar(cτg)Var(g) for testing βg and τg, respectively. In this paper, we use r=0.75 for all analyses. A smaller value of r leads to more tests having SPA applied and increased computational time. For the joint test of null hypothesis τg=βg=0, we compute p values for both Sτg and Sβg and then take their harmonic mean.45

Figure 2.

Figure 2

Quantile-quantile (QQ) plots of p values for simulation studies

(A and B) Quantile-quantile (QQ) plots of p values from the score test for testing βg (A) and for testing τg (B), where m = 6,000, ni = 6 to 10, and minor allele frequency (MAF) = 0.01, based on 109 replicates.

(C and D) QQ plots of SPA-corrected p values for testing βg (C) and for testing τg (D); simulations are based on m = 6,000, ni = 6 to 10, and minor allele frequency (MAF) = 0.01. SPA corrects the deflation or inflation that occurs in the score test at low MAFs. QQ plots for all simulation scenarios are shown in Figures S2–S5.

Simulations

We carry out simulations to evaluate type I error rates and power of TrajGWAS. For each subject, we generate the response according to the models in Equation 1 and Equation 2. In our simulations, the random mean effect γi is intercept only so Zi is a single column of 1’s. Xi and Wi contain a random time-invariant binary variable (0 or 1) in their second columns, a time-invariant standard normal variable in their third columns, and a time-varying standard normal variable in their fourth columns. The true regression coefficients are β=(10.0,5.0,0.5,0.3)T and τ=(0.25,0.3,0.15,0.1)T. We generate the random effects (γi,ωi) from the multivariate normal distribution with mean zero and covariance Σγω=(2.00.00.00.1).

For both type I error and power simulations, we consider 12 scenarios with different combinations of (1) sample sizes: m=6,000 and m=100,000, (2) number of repeated-measurements: ni=6 to 10 and ni=10 to 30, and (3) MAF: 0.01, 0.05 and 0.3 for m=6,000 and 0.001, 0.05 and 0.3 for m=100,000. Results of both the score test and SPA are reported.

Type I error

To evaluate type I error rates at genome-wide significance level α=5×108, for each scenario we generate 1,000 datasets each with 106 variants following Hardy-Weinberg equilibrium, yielding 109 total replicates.39 We report type I error rates for testing the genetic contribution to both the mean, βg, and the WS variance, τg.

Power

To evaluate the power for testing τg and βg, we generate 100 datasets under the alternative model for each scenario. In each dataset, the alternative model uses the parameters in simulations and contains ten causal variants each with the same effect size, selected specific to each scenario in order to show the spread of power. We compare power of the score test and SPA at the significance level α=5×108.

Application to the UK Biobank study

We conduct TrajGWAS analysis by using longitudinal biomarker measures extracted from the UK Biobank primary care data, including systolic blood pressure (SBP), diastolic blood pressure (DBP), pulse pressure (PP), high-density lipoprotein (HDL) cholesterol, low-density lipoprotein (LDL) cholesterol, total cholesterol (TC), triglycerides, glucose (fasting and random), hemoglobin A1C (HbA1c), and body mass index (BMI). Record-level access to primary care data is obtained by requesting field 42040 (“GP clinical event records”) from the UK Biobank showcase. We combine a previously reported and validated semi-supervised approach46 and in-house extraction criteria to create clinical biomarker phenotypes. We matched and compared empirical cumulative distributions of extracted lab values from the primary care database and those provided through the UK Biobank assessment center to infer the measurement units and for further quality control (Figure S16). Detailed data extraction, unit conversion, and quality control procedures are documented in the supplemental methods, section D.

For each GWAS, we use the standardized biomarker phenotypes for TrajGWAS analysis by subtracting the overall mean from each measurement and dividing by the standard deviation and we adjust for ten principal components (PCs) on the mean component. Using the PCs to adjust both the mean and WS variance makes no differences for the final results. Each biomarker uses a different covariate adjustment scheme, which is detailed in supplemental methods, section E. In general, we adjust for sex, age, age2, and age × sex for both mean and WS variability; age and age2 are treated as time-varying covariates. The selection of covariates is guided by previous GWAS analyses4,47,48 and the mean profile plots are shown in the Figure S15. Non-significant covariates in the null model are then removed from the GWAS analysis. In addition, we include self-reported diabetes status as a time-fixed covariate for glycemic measures (HbA1c and random and fasting glucose). Diabetes status included as a time-varying indicator is also explored (supplemental methods, section F). Summary of the covariates included and adjustments made for medication is summarized in supplemental methods, section E.

Controlling the effect of medication on the biomarkers is important in the analysis. Most widely used methods for such adjustments are (1) treatment modeled as an additional covariate (“indicator”);49, 50, 51 (2) adding a sensible constant (“shifting”) to the treated subjects;48,52, 53, 54, 55 and (3) censored normal regression.56 Shifting and censored normal regression are often recommended for their superior performances over the indicator method.56 In this paper, we use the shifting method if a sensible value for adjustment is available through previous studies and use the indicator method for others. We compare adjustment by shifting and adjustment by an additional covariate in Figures S21–S24. For blood pressures, we add 15 mmHg for SBP and 10 mmHg for DBP55 for subjects taking blood-pressure-lowering medication before standardization. For lipids, following previous GWAS analysis,47 we add 0.208 mmol/L for triglycerides, 1.347 mmol/L for total cholesterol, 1.290 mmol/L for LDL cholesterol, and subtract 0.060 mmol/L for HDL cholesterol for participants on lipid-controlling treatments. For glycemic measures (HbA1c and random and fasting glucose), a sensible value for adjustment was not available, so they are adjusted with the indicator method.

To evaluate and compare the genetic association of trajectory means, i.e., βg, we create lists of previously reported genetic associations for each analyzed trait by using the GWAS Catalog57 queried by the R package gwasrapidd58 (curated on 7/8/2021). We search the catalog for phenotypes matching our analyzed biomarkers by using syntax, “efo_trait=,” and keep SNPs with p value less than genome-wide significance level <5×108.

Results

Simulation

Table 1 reports the empirical type I error rates of the score test and SPA at an α=5×108 threshold, based on 109 simulation replicates. At lower MAFs, the score test for τg has substantially inflated type I errors, whereas SPA leads to well-calibrated type I error rates. Inflation in the score test for τg at less common alleles (MAF = 0.05) is large for smaller sample sizes and fewer repeated measures. The amount of type I error inflation decreases as the MAF and the number of repeated measures increase. For βg, the score test is conservative at lower MAFs and SPA corrects the type I error in the right direction. For common alleles such as MAF = 0.3, score test and SPA do not differ much in the type I error rates for either τg or βg. Overall SPA has appropriate type I error at the α=5×108 significance level across all scenarios. Figure 2 illustrates how SPA corrects type I error in both directions by displaying QQ plots from a random sample of 100 million replicates of the m=6000,ni=6 to 10, MAF = 0.01 scenario. Additional QQ plots are presented in Figures S2–S5.

Table 1.

Empirical type I error rates for the simulation studies

Simulation conditions Empirical type I error rate (standard error)×108
Sample size m ni MAF βgscore βgSPA τgscore τgSPA Joint score Joint SPA

6,000 6 to 10 0.01 0.30 (0.17) 4.00 (0.63) 138.50 (3.72) 3.50 (0.59) 80.80 (2.84) 4.10 (0.64)
6,000 6 to 10 0.05 3.30 (0.57) 4.10 (0.64) 34.50 (1.86) 6.30 (0.79) 22.90 (1.51) 5.90 (0.77)
6,000 6 to 10 0.3 4.10 (0.64) 4.20 (0.65) 4.80 (0.69) 4.30 (0.66) 4.80 (0.69) 4.40 (0.66)
6,000 10 to 30 0.01 0.40 (0.20) 6.00 (0.77) 42.70 (2.07) 4.00 (0.63) 23.20 (1.52) 4.20 (0.65)
6,000 10 to 30 0.05 4.00 (0.63) 4.90 (0.70) 20.50 (1.43) 5.10 (0.71) 12.80 (1.13) 5.50 (0.74)
6,000 10 to 30 0.3 4.50 (0.67) 5.20 (0.72) 6.60 (0.81) 6.00 (0.77) 5.20 (0.72) 6.00 (0.77)
100,000 6 to 10 0.001 1.20 (0.35) 4.80 (0.69) 136.80 (3.70) 4.40 (0.66) 80.90 (2.84) 3.90 (0.62)
100,000 6 to 10 0.05 5.00 (0.71) 5.00 (0.71) 6.20 (0.79) 5.10 (0.71) 5.80 (0.76) 5.60 (0.75)
100,000 6 to 10 0.3 4.10 (0.64) 4.00 (0.63) 5.30 (0.73) 5.50 (0.74) 5.40 (0.73) 5.30 (0.73)
100,000 10 to 30 0.001 2.40 (0.49) 5.80 (0.76) 50.80 (2.25) 4.80 (0.69) 28.50 (1.69) 5.40 (0.73)
100,000 10 to 30 0.05 5.40 (0.73) 5.10 (0.71) 7.60 (0.87) 6.50 (0.81) 7.20 (0.85) 6.20 (0.79)
100,000 10 to 30 0.3 6.30 (0.79) 6.10 (0.78) 4.00 (0.63) 3.90 (0.62) 5.40 (0.73) 5.70 (0.75)

Empirical type I error rates (standard error) for the score test and SPA (×108) at a significance level 5×108 based on 109 simulation replicates. The score test shows inflated type I error at low minor allele frequencies (MAFs) for testing τg where SPA (saddlepoint approximation) has proper type I error rates. Joint score and joint SPA are based on the harmonic means of the respective βg and τg p values.

Power curves for testing τg and βg across 12 scenarios are displayed in Figure 3 and Figure S6, respectively. Although the score test is unable to adequately control type I error for rare variants, we still report power based on the nominal power at the α=5×108 significance level. Using the empirical significance levels estimated from the type I error simulations would result in even lower power for the score test than what is shown in the figure. SPA achieves higher power at the α=5×108 significance level than the score test when the MAF is low, but the power of the two methods are nearly identical for common variants and large sample sizes. In conjunction with the type I error results, this indicates that SPA is able to better model the tail of the test statistic distributions for rare variants. When the variants are common, both approaches converge to the same results.

Figure 3.

Figure 3

Empirical powers of testing βg with score test and SPA

Each row contains the same sample size m and number of observations per individual ni. Power is evaluated at the significance level α=5×108. Each scenario is based on 1,000 replicates.

Computational efficiency

With careful implementation, each iteration of the optimization algorithm for fitting the WiSER null model scales linearly in the total number of observations n. For testing a single SNP, our score test with SPA scales linearly with the sample size m. Therefore, our TrajGWAS analysis based on WiSER can be applied to longitudinal genetic association analysis at biobank scale. For example, analyzing SBP for 10,805,717 imputed variants on all autosomal chromosomes takes about 150 central processing unit (CPU) h with SPA and 139 CPU h without SPA. The computation is split into 16 chunks per chromosome, resulting in 352 separate computational jobs that can run simultaneously on computing clusters. Under these conditions, each job runs within an hour with and without SPA.

Real data analysis

About 44% of the 500,000 UK Biobank participants are linked to their primary care EHR data. These EHR data are recorded with four controlled clinical terminologies: (1) Read version 2 (Read v2); (2) Clinical Terms Version 3 (CTV3); (3) British National Formulary (BNF); and (4) the Dictionary of Medicines and Devices (DM+D). Only Read v2 and CTV3 are relevant for biomarker extraction. Using previously validated algorithms,46,59 we generate unified lists of Read v2 and CTV3 clinical terms, and extract measurements for all biomarkers from the clinical event records (gp_clinical table). Terms used for extraction are shown in Table S2. Ten longitudinal clinical measurements are extracted: blood pressures (SBP and DBP), HDL, LDL, total cholesterol, triglycerides, blood glucose (fasting and random), HbA1c, and BMI (supplemental methods, section D). Extracted records cover 55,000 to 150,000 participants. The flowcharts for creating the cohort for each biomarker are displayed in Figures S7–S14. There are more repeated-measures of SBP and DBP (median (IQR) = 12 (6, 24)) than of the lipid values (e.g., median (IQR) = 4 (2, 8) for HDL). See Table 2 for details. Taking blood pressure as an example, we exclude observations with no date or invalid date information, or missing BMI measures at recruitment, resulting in 2,598,484 observations. The sample size for GWAS analysis ranges from 55,949 (fasting glucose) to 148,870 (blood pressure). Patterns of the mean profile over age groups vary across different biomarker groups (Figure S15). DBP, LDL, and total cholesterol show strong non-linear, age-dependent trends.

Table 2.

Sample size m, the number of repeated-measurements ni, and summary statistics for eleven biomarkers extracted from the UK Biobank primary care data

m ni yij Female Age BMI
Biomarker Sample size Median (IQR) Mean (SD) % Mean (SD) Mean (SD)

SBP (mmHg) 148,870 12 (6, 24) 135.0 (15.3) 54.1 56.0 (8.7) 27.5 (4.8)
DBP (mmHg) 148,870 12 (6, 24) 81.0 (8.7) 54.1 56.0 (8.7) 27.5 (4.8)
PP (mmHg) 148,870 12 (6, 24) 53.9 (9.6) 54.1 56.0 (8.7) 27.5 (4.8)
HDL (mmol/L) 129,069 4 (2, 8) 1.5 (0.4) 53.1 59.5 (7.8) 27.7 (4.8)
LDL (mmol/L) 98,556 3 (1, 6) 3.2 (0.9) 52.3 59.3 (7.8) 27.8 (4.8)
Total cholesterol (mmol/L) 133,590 5 (2, 10) 5.4 (0.9) 53.3 58.7 (7.9) 27.6 (4.8)
Triglycerides (mmol/L) 124,092 4 (2, 8) 1.6 (1.0) 48.1 60.6 (7.8) 28.6 (5.0)
Fasting glucose (mmol/L) 55,949 2 (1, 3) 5.5 (1.4) 47.7 60.4 (7.6) 28.7 (5.1)
Random glucose (mmol/L) 97,162 2 (1, 4) 5.7 (2.1) 51.9 59.8 (8.2) 28.5 (5.1)
HbA1c (%) 70,589 2 (1, 4) 6.7 (1.4) 43.4 62.4 (7.8) 30.4 (5.7)
BMI 144,414 5 (3, 9) 28.3 (5.7) 54.9 57.3 (9.9)

The eleven biomarkers are as follows: SBP, systolic blood pressure; DBP, diastolic blood pressure; PP, pulse pressure = SBP – DBP; HDL, high-density lipoprotein; LDL, low-density lipoprotein; total cholesterol; triglycerides; random glucose; fasting glucose; HbA1c, hemoglobin A1C; and BMI, body mass index.

We then apply TrajGWAS to UK Biobank imputed genetic data among European ancestry for these ten longitudinal clinical measures and one derived phenotype pulse pressure (PP = SBP − DBP). SNPs with MAF greater than 0.002 and imputation quality score (infoscore or r2) greater than 0.3 are included in the analyses. The Manhattan plots (Figure 4 for τg and Figure S17 for βg) and quantile-quantile (QQ) plots (Figures S18 and S19) show that TrajGWAS successfully identifies a large number of loci. Concordant with the simulation study, the QQ plots suggest that SPA controls type I error rates well. Highly polygenic traits with a larger number of associated variants have, on average, larger genomic control factor (λGC) values (Figures S18 and S19). Additionally, since SPA is not applied when the score statistics are close to the mean, the median p values used for calculation of the genomic control factor may be miscalibrated.40 Thus, even though many QQ plots appear normal for τg, the reported λGC is inflated for some traits. To give a complete picture, we report λGC calculated at different p value quantiles for each trait in Table S3.

Figure 4.

Figure 4

Manhattan plots for testing τg for longitudinal markers in the UK Biobank study

Manhattan plots for testing τg, the effects of the WS variability, for 11 longitudinal biomarkers in the UK Biobank study. The blue line represents the genome-wide significance level, 5×108.

Next, we compare associations identified by TrajGWAS with those reported in the GWAS Catalog. We extract association results from the GWAS Catalog by using the Experimental Factor Ontology (EFO) trait labels and keep the unique associations, i.e., SNPs, with p value <5×108. The number of associations from TrajGWAS analysis is shown in the second and third columns of Table 3. Data in the GWAS Catalog are mapped to genome assembly GRCh38, while UK Biobank SNPs are mapped to GRCh37. We remove the queried SNPs with no genomic coordinates and convert GWAS Catalog associations to genome assembly GRCh37. The numbers of associated SNPs are shown in the fourth column of Table 3. Using the associations reported in the GWAS Catalog as positive controls, we evaluate whether SNPs associated with the mean from our TrajGWAS analysis can replicate previous findings (fifth column of Table 3). For eight out of eleven markers, we have replication rates higher than 80%, validating high quality of EHR-based biomarker phenotyping and TrajGWAS analysis. The analysis of HbA1c has the lowest replication rate 59.65%. This may be due to the relatively small sample size among all biomarkers and the differences in distribution of HbA1c measures from EHR (see Figure S16). The last column of Table 3 lists the numbers of SNPs TrajGWAS identifies as “novel,” i.e., not in linkage disequilibrium (LD) with the existing SNPs in the GWAS Catalog (defined as being greater than one megabase from any SNP in the GWAS Catalog). Tables S4–S11 provide additional annotations for these “novel” SNPs. As an example, for total cholesterol, there are 177 and 209 SNPs associated with mean and WS variability that are at least 1 Mb away from the existing reported GWAS Catalog SNPs, respectively. Additional annotations shown in Table S8 demonstrate that the majority of SNPs reported to be “novel” for total cholesterol are relevant to lipids traits as well as psychiatric disorders. These findings are consistent with the possibility of a disease-specific lipid pathway underlying the pathophysiology of psychiatric disorders.60

Table 3.

Summary of TrajGWAS results

Biomarkera Num. of sig. loci forβg/τgb,c Num. of sig. SNPs forβg/τgd Num. of sig. SNPs in GWAS Cataloge Replication rateβgf Num. of sig. SNPs forβg/τg>1Mb from GWAS Catalog SNPsg
SBP 269/8 4,720/32 1,738 82.48% 0/1
DBP 368/3 7,374/5 917 79.65% 615/0
PP 371/8 6,895/32 876 89.34% 93/0
HDL 1,443/0 14,068/0 1,953 88.62% 24/0
LDL 826/23 8,160/434 1,654 83.57% 0/0
Total cholesterol 1,356/92 16,002/1,525 1,270 95.06% 177/209
Triglycerides 1,172/55 11,796/820 1,693 87.57% 2/0
Fasting glucose 166/2 1,540/2 110 86.67% 144/2
Random glucose 81/0 824/0 256 73.63% 10/0
HbA1c 73/1 1,820/4 651 59.65% 11/0
BMI 220/0 3,651/0 3,507 86.95% 1/0
a

Experimental Factor Ontology (EFO) trait labels (see web resources) used for query are as follows: SBP, “systolic blood pressure (EFO_0006335)”; DBP, “diastolic blood pressure (EFO_0006336)”; PP, “pulse pressure measurement (EFO_0005763)”; HDL, “high-density lipoprotein cholesterol measurement (EFO_0004612)”; LDL, “low-density lipoprotein cholesterol measurement (EFO_0004611)”; total cholesterol, “total cholesterol measurement (EFO_0004574)”; triglycerides, “triglyceride measurement (EFO_0004530)”; HbA1c, “HbA1c measurement (EFO_0004541)”; fasting glucose, “fasting blood glucose measurement (EFO_0004465)”; random glucose, “glucose measurement (EFO_0004468)”; BMI, “body mass index (EFO_0004340)” and “longitudinal BMI measurement (EFO_0005937).”

b

Significant SNPs for each biomarker are clumped via PLINK 1.9.61 Index variants are chosen greedily starting with the SNPs with lowest p value among those SNPs having p value 5×108. Sites that are <250 kb away from an index variant and r2>0.5 with the index variant are assigned to that index variant’s clump.

c

The number of significant loci (after clumping).

d

The number of significant SNPs (<5×108) on βg and τg.

e

Number of GWAS Catalog SNPs with p value <5×108 (all SNPs are converted to genome build 37; the SNPs with no genomic coordinates are removed; and GWAS Catalog stores the most significant SNP from each independent locus).

f

Percent of significant SNPs from GWAS Catalog that are nominally significant in βg (p value <0.05) in the TrajGWAS analysis.

g

The number of SNPs at least 1 megabase (Mb) away from any previously reported SNP for the given biomarker in the GWAS Catalog.

The majority of genes that affect WS variability of a trajectory also affect mean, but not always. Figure 5 highlights the 235 SNPs that are significantly associated with WS variability but not with mean levels with p values and gene annotations. Consistent with our simulation, with too few longitudinal measures, it is hard to detect τg at genome-wide significance level, e.g., random glucose (median ni=2), fasting glucose (median ni=2), and HbA1c (median ni=2). For traits with median ni>4, there are signals in τg. In particular, TrajGWAS identifies a genome-wide significant association between WS variability of total cholesterol and variants in the LPL gene (MIM: 609708), whereas they are not associated with the mean values. LPL is a protein-coding gene for lipoprotein lipase, which is expressed in heart, muscle, and adipose tissue. Severe mutations that cause LPL deficiency result in type I hyperlipoproteinemia, while less extreme mutations in LPL are linked to many disorders of lipoprotein metabolism.62 Several GWASs have identified the association of LPL with different lipid-related phenotypes.63,64 Figure S20 displays a boxplot of within-sample variance of residuals for subjects with 0, 1, and 2 copies of reference allele of rs6993414, the most significant SNP in terms of τg on LPL. It shows there are big differences in the tail distributions between them. Other examples include the association between HbA1c WS variability and the EIF5A2 gene (MIM: 605782). EIF5A2 is a protein-coding gene associated with type 2 diabetes and cancer.65 Interestingly, a variant, rs8192675, and its proxies show the strongest association with HbA1c response to metformin; its LD block covered three genes and EIF5A2 is one of them.66

Figure 5.

Figure 5

SNPs that significantly change the WS variability while not significantly shifting the mean

SNPs that significantly change the WS variability of longitudinal biomarkers (top) and total cholesterol (TC) trajectory (bottom) while not significantly shifting the mean of their trajectories. Each dot is a SNP that passes the genome-wide significance level (dashed line) for τg but not for βg.

TrajGWAS differs from the vQTL, which is predominantly used among cross-sectional studies and for G × E interaction screening. For a BMI analysis adjusted for age, sex, and ten PCs with the OSCA software (see web resources), 13 of the 22 vQTLs previously reported in Wang et al.25 have a significant vQTL on the same gene (p value <2×109) in our cohort. One well-known vQTL for BMI is the FTO gene, and variants in this gene are previously found to be associated with BS variance of BMI with very low p values.25 Our cohort yields the lowest p value of 1.16×10102 for vQTL analysis. However, τg for WS variability of TrajGWAS minimum p value in the same region is 1.18×104, showing no significant SNP association with WS variability.

Discussion

We provide a genome-wide trajectory analysis tool, TrajGWAS, for simultaneous testing of genetic effects on the mean and WS variability of a longitudinal biomarker for biobank-scale studies. The method relies on a mixed-effects location scale model but has several advantages over existing methods. For example, the likelihood-based approach for fitting the mixed effect location scale model requires computationally intensive numerical integration, making it infeasible to implement for genome-wide scans of biobank data.30,32,33 TrajGWAS relies on M-estimation asymptotics and is both computationally efficient and robust to distributional assumptions. It also does not assume the WS variability is constant and can capture and control for the effects of time-varying covariates such as medication usage and age. We use empirical SPA to calibrate p values so that type I error rates can be well controlled for rarer variants and when the number of repeated measures is small. Through extensive simulation studies and application to UK Biobank data, we demonstrate that TrajGWAS scales well for millions of markers, hundreds of thousands of individuals, and multiple random effects while retaining well-controlled type I error rates and power. One limitation of the SPA approach is that its construction only works for a single univariate hypothesis. Thus, for the joint test βg=τg=0, we resort to the less satisfactory harmonic mean approach,45 which might compromise power.

Although originally motivated by the study of longitudinal biomarkers, TrajGWAS is also applicable to genome-wide scans of multiple, correlated phenotypes. The flexible LMM framework is apt to capture the correlations between traits and yields correct and powerful inference. TrajGWAS can also be used as a scanning tool by only testing SNPs that pass a threshold with the much slower but more powerful likelihood-based approaches. Although this paper focuses on genetic effects for the mean and WS variability, many studies are also interested in BS variance. It is possible to adapt this framework for modeling BS variability, but it comes at the cost of excluding random slopes in the model that are important in many situations.

Our findings raise a potential red flag for some existing Mendelian randomization (MR) analyses. A core assumption in MR is that the genetic determinant used as an instrument, G, only affects the outcome, Y, through the exposure, X (no horizontal pleiotropy). Many studies use mean levels of measurements as the exposure (e.g., blood pressure and cholesterol levels). This assumption may be violated in cases where (1) the outcome is associated with WS variability of the exposure independent of mean levels, such as blood pressure and glucose variability,14,16 and (2) variants that affect both mean and WS variability are used as instruments. In our TrajGWAS analysis, we find many SNPs that affect the mean also affect the WS variability. This suggests that the causal effects of the exposures on the outcomes estimated through these MRs may be biased because of a failure to account for the effect of the genetic determinant on the outcome acting through a second exposure (WS variability). This application gap may also provide an opportunity for new MR method development by considering both exposures.

Our method can incorporate time-varying covariates adjustment for both mean and WS variability. It makes controlling for disease status and medication usage over time possible, which sometimes increases the power (supplemental methods, section F). However, caution must be taken when considering disease and medication covariate adjustment. As medications types or disease status may be reversely correlated with biomarkers, the true genetic susceptibility can be obscured. How to best account for these effects remains an important question in future EHR-based longitudinal biomarker studies. One possible direction is a joint model that can model the biomarker trajectory, while simultaneously learning the association between disease trajectory (e.g., comorbidity events).

In conclusion, we present an ultra-efficient biobank-scale trajectories analysis tool that makes EHR-derived longitudinal traits analysis possible at very large scales. By modeling both mean effects and within subject variability, our method can provide insights that are not evident when the effects of genetic variants are only considered for the mean.

Acknowledgments

This research was partially funded by grants from the National Research Foundation of Korea (NRF) (Basic Science Research Program, 2020R1A6A3A03037675, S.K.), the National Institute of General Medical Sciences (R35GM141798, J.S.S. and H.Z.), the National Human Genome Research Institute (R01HG009120, J.S.S.; R01HG006139, H.Z. and J.J.Z.), the National Science Foundation (DMS-1264153, J.S.S.; DMS-2054253, H.Z. and J.J.Z.), the National Institute of Diabetes and Digestive and Kidney Disease (K01DK106116, J.J.Z.; R01DK125187, Y.V.S.), and the National Heart, Lung, and Blood Institute (R21HL150374, J.J.Z.).

Declaration of interests

The authors declare no competing interests.

Published: February 22, 2022

Footnotes

Supplemental information can be found online at https://doi.org/10.1016/j.ajhg.2022.01.018.

Contributor Information

Hua Zhou, Email: huazhou@ucla.edu.

Jin J. Zhou, Email: jinjinzhou@ucla.edu.

Data and code availability

The data that support the findings of this study are available from UK Biobank repositories. The UK Biobank data are retrieved under Project ID: 48152. Data are available at https://www.ukbiobank.ac.uk with the permission of the UK Biobank. The code generated during this study are available at https://github.com/OpenMendel/TrajGWAS.jl. GWAS summary statistics are available at https://kose-y.github.io/TrajGWAS-resources/.

Web resources

Supplemental information

Document S1. Figures S1–S27, Tables S1–S11, and supplemental methods
mmc1.pdf (13.7MB, pdf)
Document S2. Article plus supplemental information
mmc2.pdf (15.7MB, pdf)

References

  • 1.Khera A.V., Chaffin M., Wade K.H., Zahid S., Brancale J., Xia R., Distefano M., Senol-Cosar O., Haas M.E., Bick A., et al. Polygenic prediction of weight and obesity trajectories from birth to adulthood. Cell. 2019;177:587–596.e9. doi: 10.1016/j.cell.2019.03.028. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Tanaka T., Basisty N., Fantoni G., Candia J., Moore A.Z., Biancotto A., Schilling B., Bandinelli S., Ferrucci L. Plasma proteomic biomarker signature of age predicts health and life span. eLife. 2020;9:e61073. doi: 10.7554/eLife.61073. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Kerschbaum J., Rudnicki M., Dzien A., Dzien-Bischinger C., Winner H., Heerspink H.L., Rosivall L., Wiecek A., Mark P.B., Eder S., et al. Intra-individual variability of eGFR trajectories in early diabetic kidney disease and lack of performance of prognostic biomarkers. Sci. Rep. 2020;10:19743. doi: 10.1038/s41598-020-76773-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Klarin D., Damrauer S.M., Cho K., Sun Y.V., Teslovich T.M., Honerlaw J., Gagnon D.R., DuVall S.L., Li J., Peloso G.M., et al. Genetics of blood lipids among ∼300,000 multi-ethnic participants of the Million Veteran Program. Nat. Genet. 2018;50:1514–1523. doi: 10.1038/s41588-018-0222-9. . [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Kanai M., Akiyama M., Takahashi A., Matoba N., Momozawa Y., Ikeda M., Iwata N., Ikegawa S., Hirata M., Matsuda K., et al. Genetic analysis of quantitative traits in the Japanese population links cell types to complex human diseases. Nat. Genet. 2018;50:390–400. doi: 10.1038/s41588-018-0047-6. [DOI] [PubMed] [Google Scholar]
  • 6.Tam V., Patel N., Turcotte M., Bossé Y., Paré G., Meyre D. Benefits and limitations of genome-wide association studies. Nat. Rev. Genet. 2019;20:467–484. doi: 10.1038/s41576-019-0127-1. [DOI] [PubMed] [Google Scholar]
  • 7.Goldstein J.A., Weinstock J.S., Bastarache L.A., Larach D.B., Fritsche L.G., Schmidt E.M., Brummett C.M., Kheterpal S., Abecasis G.R., Denny J.C., Zawistowski M. LabWAS: Novel findings and study design recommendations from a meta-analysis of clinical labs in two independent biobanks. PLoS Genet. 2020;16:e1009077. doi: 10.1371/journal.pgen.1009077. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Alves A.C., De Silva N.M.G., Karhunen V., Sovio U., Das S., Taal H.R., Warrington N.M., Lewin A.M., Kaakinen M., Cousminer D.L., et al. GWAS on longitudinal growth traits reveals different genetic factors influencing infant, child, and adult BMI. Sci. Adv. 2019;5:eaaw3095. doi: 10.1126/sciadv.aaw3095. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Xu K., Li B., McGinnis K.A., Vickers-Smith R., Dao C., Sun N., Kember R.L., Zhou H., Becker W.C., Gelernter J., et al. Genome-wide association study of smoking trajectory and meta-analysis of smoking status in 842,000 individuals. Nat. Commun. 2020;11:5302. doi: 10.1038/s41467-020-18489-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Gabryszewski S.J., Chang X., Dudley J.W., Mentch F., March M., Holmes J.H., Moore J., Grundmeier R.W., Hakonarson H., Hill D.A. Unsupervised modeling and genome-wide association identify novel features of allergic march trajectories. J. Allergy Clin. Immunol. 2021;147:677–685.e10. doi: 10.1016/j.jaci.2020.06.026. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Rothwell P.M., Howard S.C., Dolan E., O’Brien E., Dobson J.E., Dahlöf B., Sever P.S., Poulter N.R. Prognostic significance of visit-to-visit variability, maximum systolic blood pressure, and episodic hypertension. Lancet. 2010;375:895–905. doi: 10.1016/S0140-6736(10)60308-X. [DOI] [PubMed] [Google Scholar]
  • 12.Ivarsdottir E.V., Steinthorsdottir V., Daneshpour M.S., Thorleifsson G., Sulem P., Holm H., Sigurdsson S., Hreidarsson A.B., Sigurdsson G., Bjarnason R., et al. Effect of sequence variants on variance in glucose levels predicts type 2 diabetes risk and accounts for heritability. Nat. Genet. 2017;49:1398–1402. doi: 10.1038/ng.3928. [DOI] [PubMed] [Google Scholar]
  • 13.Zhou J.J., Schwenke D.C., Bahn G., Reaven P., VADT Investigators Glycemic variation and cardiovascular risk in the veterans affairs diabetes trial. Diabetes Care. 2018;41:2187–2194. doi: 10.2337/dc18-0548. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Zhou J.J., Coleman R., Holman R.R., Reaven P. Long-term glucose variability and risk of nephropathy complication in UKPDS, ACCORD and VADT trials. Diabetologia. 2020;63:2482–2485. doi: 10.1007/s00125-020-05273-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Zhou J.J., Koska J., Bahn G., Reaven P. Fasting glucose variation predicts microvascular risk in accord and vadt. J. Clin. Endocrinol. Metab. 2021;106:1150–1162. doi: 10.1210/clinem/dgaa941. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Nuyujukian D.S., Koska J., Bahn G., Reaven P.D., Zhou J.J., VADT Investigators Blood pressure variability and risk of heart failure in ACCORD and the VADT. Diabetes Care. 2020;43:1471–1478. doi: 10.2337/dc19-2540. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Forbes J.M., McCarthy D.A., Kassianos A.J., Baskerville T., Fotheringham A.K., Giuliani K.T.K., Grivei A., Murphy A.J., Flynn M.C., Sullivan M.A., et al. T cell expression and release of kidney injury molecule-1 in response to glucose variations initiates kidney injury in early diabetes. Diabetes. 2021;70:1754–1766. doi: 10.2337/db20-1081. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Castellanos F.X., Tannock R. Neuroscience of attention-deficit/hyperactivity disorder: the search for endophenotypes. Nat. Rev. Neurosci. 2002;3:617–628. doi: 10.1038/nrn896. [DOI] [PubMed] [Google Scholar]
  • 19.Pinar A., Hawi Z., Cummins T., Johnson B., Pauper M., Tong J., Tiego J., Finlay A., Klein M., Franke B., et al. Genome-wide association study reveals novel genetic locus associated with intra-individual variability in response time. Transl. Psychiatry. 2018;8:207. doi: 10.1038/s41398-018-0262-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Battelino T., Danne T., Bergenstal R.M., Amiel S.A., Beck R., Biester T., Bosi E., Buckingham B.A., Cefalu W.T., Close K.L., et al. Clinical targets for continuous glucose monitoring data interpretation: recommendations from the international consensus on time in range. Diabetes Care. 2019;42:1593–1603. doi: 10.2337/dci19-0028. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Ceriello A. Glucose variability and diabetic complications: is it time to treat? Diabetes Care. 2020;43:1169–1171. doi: 10.2337/dci20-0012. [DOI] [PubMed] [Google Scholar]
  • 22.Hulse A.M., Cai J.J. Genetic variants contribute to gene expression variability in humans. Genetics. 2013;193:95–108. doi: 10.1534/genetics.112.146779. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Ayroles J.F., Buchanan S.M., O’Leary C., Skutt-Kakaria K., Grenier J.K., Clark A.G., Hartl D.L., de Bivort B.L. Behavioral idiosyncrasy reveals genetic control of phenotypic variability. Proc. Natl. Acad. Sci. USA. 2015;112:6706–6711. doi: 10.1073/pnas.1503830112. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Forsberg S.K., Andreatta M.E., Huang X.-Y., Danku J., Salt D.E., Carlborg Ö. The multi-allelic genetic architecture of a variance-heterogeneity locus for molybdenum concentration in leaves acts as a source of unexplained additive genetic variance. PLoS Genet. 2015;11:e1005648. doi: 10.1371/journal.pgen.1005648. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Wang H., Zhang F., Zeng J., Wu Y., Kemper K.E., Xue A., Zhang M., Powell J.E., Goddard M.E., Wray N.R., et al. Genotype-by-environment interactions inferred from genetic effects on phenotypic variability in the UK Biobank. Sci. Adv. 2019;5:eaaw3538. doi: 10.1126/sciadv.aaw3538. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Yang J., Loos R.J., Powell J.E., Medland S.E., Speliotes E.K., Chasman D.I., Rose L.M., Thorleifsson G., Steinthorsdottir V., Mägi R., et al. FTO genotype is associated with phenotypic variability of body mass index. Nature. 2012;490:267–272. doi: 10.1038/nature11401. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Sikorska K., Montazeri N.M., Uitterlinden A., Rivadeneira F., Eilers P.H., Lesaffre E. GWAS with longitudinal phenotypes: performance of approximate procedures. Eur. J. Hum. Genet. 2015;23:1384–1391. doi: 10.1038/ejhg.2015.1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Sikorska K., Lesaffre E., Groenen P.J.F., Rivadeneira F., Eilers P.H.C. Genome-wide analysis of large-scale longitudinal outcomes using penalization—GALLOP algorithm. Sci. Rep. 2018;8:6815. doi: 10.1038/s41598-018-24578-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Wang Z., Wang N., Wang Z., Jiang L., Wang Y., Li J., Wu R. HiGwas: how to compute longitudinal GWAS data in population designs. Bioinformatics. 2020;36:4222–4224. doi: 10.1093/bioinformatics/btaa294. [DOI] [PubMed] [Google Scholar]
  • 30.Hedeker D., Mermelstein R.J., Demirtas H. An application of a mixed-effects location scale model for analysis of Ecological Momentary Assessment (EMA) data. Biometrics. 2008;64:627–634. doi: 10.1111/j.1541-0420.2007.00924.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Barrett J.K., Huille R., Parker R., Yano Y., Griswold M. Estimating the association between blood pressure variability and cardiovascular disease: An application using the ARIC Study. Stat. Med. 2019;38:1855–1868. doi: 10.1002/sim.8074. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Hedeker D., Nordgren R. MIXREGLS: A program for mixed-effects location scale analysis. J. Stat. Softw. 2013;52:1–38. doi: 10.18637/jss.v052.i12. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33.Dzubur E., Ponnada A., Nordgren R., Yang C.-H., Intille S., Dunton G., Hedeker D. MixWILD: A program for examining the effects of variance and slope of time-varying variables in intensive longitudinal data. Behav. Res. Methods. 2020;52:1403–1427. doi: 10.3758/s13428-019-01322-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Charlton C., Rasbash J., Browne W., Healy M., Cameron B. Centre for Multilevel Modelling, University of Bristol; 2019. MLwiN version 3.03. [Google Scholar]
  • 35.Smit R.A.J., Jukema J.W., Postmus I., Ford I., Slagboom P.E., Heijmans B.T., Le Cessie S., Trompet S. Visit-to-visit lipid variability: Clinical significance, effects of lipid-lowering treatment, and (pharmaco) genetics. J. Clin. Lipidol. 2018;12:266–276.e3. doi: 10.1016/j.jacl.2018.01.001. [DOI] [PubMed] [Google Scholar]
  • 36.Yadav S., Cotlarciuc I., Munroe P.B., Khan M.S., Nalls M.A., Bevan S., Cheng Y.-C., Chen W.-M., Malik R., McCarthy N.S., et al. Genome-wide analysis of blood pressure variability and ischemic stroke. Stroke. 2013;44:2703–2709. doi: 10.1161/STROKEAHA.113.002186. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37.German C.A., Sinsheimer J.S., Zhou J., Zhou H. WiSER: Robust and scalable estimation and inference of within-subject variances from intensive longitudinal data. Biometrics. 2021 doi: 10.1111/biom.13506. Published online June 18, 2021. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.Boos D.D. On generalized score tests. Am. Stat. 1992;46:327–333. [Google Scholar]
  • 39.Bi W., Fritsche L.G., Mukherjee B., Kim S., Lee S. A fast and accurate method for genome-wide time-to-event data analysis and its application to UK biobank. Am. J. Hum. Genet. 2020;107:222–233. doi: 10.1016/j.ajhg.2020.06.003. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40.Dey R., Schmidt E.M., Abecasis G.R., Lee S. A fast and accurate algorithm to test for binary phenotypes and its application to PheWAS. Am. J. Hum. Genet. 2017;101:37–49. doi: 10.1016/j.ajhg.2017.05.014. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Daniels H.E. Exact saddlepoint approximations. Biometrika. 1980;67:59–63. [Google Scholar]
  • 42.Lugannani R., Rice S. Saddle point approximation for the distribution of the sum of independent random variables. Adv. Appl. Probab. 1980;12:475–490. [Google Scholar]
  • 43.Zhou W., Nielsen J.B., Fritsche L.G., Dey R., Gabrielsen M.E., Wolford B.N., LeFaive J., VandeHaar P., Gagliano S.A., Gifford A., et al. Efficiently controlling for case-control imbalance and sample relatedness in large-scale genetic association studies. Nat. Genet. 2018;50:1335–1341. doi: 10.1038/s41588-018-0184-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Satterthwaite F.E. An approximate distribution of estimates of variance components. Biometrics. 1946;2:110–114. [PubMed] [Google Scholar]
  • 45.Wilson D.J. The harmonic mean p-value for combining dependent tests. Proc. Natl. Acad. Sci. USA. 2019;116:1195–1200. doi: 10.1073/pnas.1814092116. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46.Denaxas S., Shah A.D., Mateen B.A., Kuan V., Quint J.K., Fitzpatrick N., Torralbo A., Fatemifar G., Hemingway H. A semi-supervised approach for rapidly creating clinical biomarker phenotypes in the UK Biobank using different primary care EHR and clinical terminology systems. JAMIA Open. 2020;3:545–556. doi: 10.1093/jamiaopen/ooaa047. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47.Yusuf S., Bosch J., Dagenais G., Zhu J., Xavier D., Liu L., Pais P., López-Jaramillo P., Leiter L.A., Dans A., et al. Cholesterol lowering in intermediate-risk persons without cardiovascular disease. N. Engl. J. Med. 2016;374:2021–2031. doi: 10.1056/NEJMoa1600176. [DOI] [PubMed] [Google Scholar]
  • 48.Evangelou E., Warren H.R., Mosen-Ansorena D., Mifsud B., Pazoki R., Gao H., Ntritsos G., Dimou N., Cabrera C.P., Karaman I., et al. Genetic analysis of over 1 million people identifies 535 new loci associated with blood pressure traits. Nat. Genet. 2018;50:1412–1425. doi: 10.1038/s41588-018-0205-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Brand E., Wang J.-G., Herrmann S.-M., Staessen J.A. An epidemiological study of blood pressure and metabolic phenotypes in relation to the Gbeta3 C825T polymorphism. J. Hypertens. 2003;21:729–737. doi: 10.1097/00004872-200304000-00016. [DOI] [PubMed] [Google Scholar]
  • 50.Matsubara M., Kikuya M., Ohkubo T., Metoki H., Omori F., Fujiwara T., Suzuki M., Michimata M., Hozawa A., Katsuya T., et al. Aldosterone synthase gene (CYP11B2) C-334T polymorphism, ambulatory blood pressure and nocturnal decline in blood pressure in the general Japanese population: the Ohasama Study. J. Hypertens. 2001;19:2179–2184. doi: 10.1097/00004872-200112000-00010. [DOI] [PubMed] [Google Scholar]
  • 51.O’Donnell C.J., Lindpaintner K., Larson M.G., Rao V.S., Ordovas J.M., Schaefer E.J., Myers R.H., Levy D. Evidence for association and genetic linkage of the angiotensin-converting enzyme locus with hypertension and blood pressure in men but not women in the Framingham Heart Study. Circulation. 1998;97:1766–1772. doi: 10.1161/01.cir.97.18.1766. [DOI] [PubMed] [Google Scholar]
  • 52.Cui J., Hopper J.L., Harrap S.B. Genes and family environment explain correlations between blood pressure and body mass index. Hypertension. 2002;40:7–12. doi: 10.1161/01.hyp.0000022693.11752.e9. [DOI] [PubMed] [Google Scholar]
  • 53.Cui J.S., Hopper J.L., Harrap S.B. Antihypertensive treatments obscure familial contributions to blood pressure variation. Hypertension. 2003;41:207–210. doi: 10.1161/01.hyp.0000044938.94050.e3. [DOI] [PubMed] [Google Scholar]
  • 54.Warren H.R., Evangelou E., Cabrera C.P., Gao H., Ren M., Mifsud B., Ntalla I., Surendran P., Liu C., Cook J.P., et al. Genome-wide association analysis identifies novel blood pressure loci and offers biological insights into cardiovascular risk. Nat. Genet. 2017;49:403–415. doi: 10.1038/ng.3768. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55.Nierenberg J.L., Anderson A.H., He J., Parsa A., Srivastava A., Cohen J.B., Saraf S.L., Rahman M., Rosas S.E., Kelly T.N., et al. Association of blood pressure genetic risk score with cardiovascular disease and CKD progression: Findings from the CRIC study. Kidney360. 2021;2:1251–1260. doi: 10.34067/KID.0007632020. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 56.Tobin M.D., Sheehan N.A., Scurrah K.J., Burton P.R. Adjusting for treatment effects in studies of quantitative traits: antihypertensive therapy and systolic blood pressure. Stat. Med. 2005;24:2911–2935. doi: 10.1002/sim.2165. [DOI] [PubMed] [Google Scholar]
  • 57.Buniello A., MacArthur J.A.L., Cerezo M., Harris L.W., Hayhurst J., Malangone C., McMahon A., Morales J., Mountjoy E., Sollis E., et al. The NHGRI-EBI GWAS Catalog of published genome-wide association studies, targeted arrays and summary statistics 2019. Nucleic Acids Res. 2019;47(D1):D1005–D1012. doi: 10.1093/nar/gky1120. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 58.Magno R., Maia A.-T. gwasrapidd: an R package to query, download and wrangle GWAS catalog data. Bioinformatics. 2020;36:649–650. doi: 10.1093/bioinformatics/btz605. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 59.Denaxas S., Gonzalez-Izquierdo A., Direk K., Fitzpatrick N.K., Fatemifar G., Banerjee A., Dobson R.J.B., Howe L.J., Kuan V., Lumbers R.T., et al. UK phenomics platform for developing and validating electronic health record phenotypes: CALIBER. J. Am. Med. Inform. Assoc. 2019;26:1545–1559. doi: 10.1093/jamia/ocz105. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 60.Andreassen O.A., Djurovic S., Thompson W.K., Schork A.J., Kendler K.S., O’Donovan M.C., Rujescu D., Werge T., van de Bunt M., Morris A.P., et al. Improved detection of common variants associated with schizophrenia by leveraging pleiotropy with cardiovascular-disease risk factors. Am. J. Hum. Genet. 2013;92:197–209. doi: 10.1016/j.ajhg.2013.01.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 61.Chang C.C., Chow C.C., Tellier L.C., Vattikuti S., Purcell S.M., Lee J.J. Second-generation PLINK: rising to the challenge of larger and richer datasets. Gigascience. 2015;4:7. doi: 10.1186/s13742-015-0047-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 62.Pingitore P., Lepore S.M., Pirazzi C., Mancina R.M., Motta B.M., Valenti L., Berge K.E., Retterstøl K., Leren T.P., Wiklund O., Romeo S. Identification and characterization of two novel mutations in the LPL gene causing type I hyperlipoproteinemia. J. Clin. Lipidol. 2016;10:816–823. doi: 10.1016/j.jacl.2016.02.015. [DOI] [PubMed] [Google Scholar]
  • 63.Davis J.P., Huyghe J.R., Locke A.E., Jackson A.U., Sim X., Stringham H.M., Teslovich T.M., Welch R.P., Fuchsberger C., Narisu N., et al. Common, low-frequency, and rare genetic variants associated with lipoprotein subclasses and triglyceride measures in Finnish men from the METSIM study. PLoS Genet. 2017;13:e1007079. doi: 10.1371/journal.pgen.1007079. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 64.Tabassum R., Rämö J.T., Ripatti P., Koskela J.T., Kurki M., Karjalainen J., Palta P., Hassan S., Nunez-Fontarnau J., Kiiskinen T.T.J., et al. Genetic architecture of human plasma lipidome and its link to cardiovascular disease. Nat. Commun. 2019;10:4329. doi: 10.1038/s41467-019-11954-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 65.Wu G.-Q., Xu Y.-M., Lau A.T.Y. Recent insights into eukaryotic translation initiation factors 5A1 and 5A2 and their roles in human health and disease. Cancer Cell Int. 2020;20:142. doi: 10.1186/s12935-020-01226-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 66.Zhou K., Yee S.W., Seiser E.L., van Leeuwen N., Tavendale R., Bennett A.J., Groves C.J., Coleman R.L., van der Heijden A.A., Beulens J.W., et al. Variation in the glucose transporter gene SLC2A2 is associated with glycemic response to metformin. Nat. Genet. 2016;48:1055–1059. doi: 10.1038/ng.3632. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Document S1. Figures S1–S27, Tables S1–S11, and supplemental methods
mmc1.pdf (13.7MB, pdf)
Document S2. Article plus supplemental information
mmc2.pdf (15.7MB, pdf)

Data Availability Statement

The data that support the findings of this study are available from UK Biobank repositories. The UK Biobank data are retrieved under Project ID: 48152. Data are available at https://www.ukbiobank.ac.uk with the permission of the UK Biobank. The code generated during this study are available at https://github.com/OpenMendel/TrajGWAS.jl. GWAS summary statistics are available at https://kose-y.github.io/TrajGWAS-resources/.


Articles from American Journal of Human Genetics are provided here courtesy of American Society of Human Genetics

RESOURCES