RAREMETALWORKER METHOD

From Genome Analysis Wiki
Jump to navigationJump to search

Brief Introduction

RAREMETALWORKER generates single variant association test statistics for a single study prior to meta-analysis. This page provides a brief description of the statistics that RAREMETALWORKER calculates, together with key formulae.

Key Statistics for Analysis of Single Study

NOTATIONS

We use the following notations to describe our methods:

𝐲 is the observed phenotype vector

𝐗 is the design matrix

G𝐢 is the genotype vector of the ith variant

G𝐢¯ is the vector of average genotype of the ith variant

βc is the vector of covariate effects

βi is the scalar of fixed genetic effect of the ith variant

𝐠 is the random genetic effects

ε is the non-shared environmental effects

SINGLE VARIANT SCORE TEST

We used the following model for the trait:

𝐲=𝐗βc+βi(G𝐢−G𝐢¯)+𝐠+ε.

Here, [explain the formula].

In this model, βi is to measure the additive genetic effect of the ith variant. As usual, the score statistic for testing H0:βi=0 is:

Ui=(G𝐢−Gi¯)TΩ^−1(𝐲−𝐗β)

We further derive the variance-covariance matrix of these statistics as

𝐕=(𝐆−𝐆¯)T(Ω^−1−Ω^−1𝐗(𝐗𝐓Ω^−1𝐗)−1𝐗𝐓Ω^−1)(𝐆−𝐆¯).

The score test statistic, Ti=(Ui2)/Vii, is asymptotically distributed as chi-squared with one degree of freedom. The score test p-value is reported in RAREMETALWORKER.

SUMMARY STATISTICS AND COVARIANCE MATRICES

RAREMETALWORKER automatically stores the score statistics for each marker ( Ui) together with quality information of that marker, including HWE p-value, call rate, and allele counts.

RAREMETALWORKER also stores the covariance matrices (𝐕) of the score statistics of markers within a window, size of which can be specified through command line.

Modeling Relatedness

we use a variance component model to handle familial relationships. The null model is:

𝐲=𝐗β+𝐠+ε


We assume that genetic effects are normally distributed, with mean 𝟎 and covariance 𝐊σg2 where the matrix 𝐊 summarizes kinship coefficients between sampled individuals and σg2 is a positive scalar describing the genetic contribution to the overall variance. We assume that non-shared environmental effects are normally distributed with mean 𝟎 and covariance 𝐈σe2, where 𝐈 is the identity matrix.

To estimate 𝐊, we either use known pedigree structure to define 𝐊 or else use the empirical estimator

𝐊=1l∑i=1l(Gi−2fi𝟏)(Gi−2fi𝟏)4fi(1−fi),

where l is the count of variants, Gi and fi are the genotype vector and estimated allele frequency for the ith variant, respectively. Each element in Gi encodes the minor allele count for one individual. Model parameters β^, σg2^ and σe2^, are estimated using maximum likelihood and the efficient algorithm described in Lippert et. al. For convenience, let the estimated covariance matrix of 𝐲 be Ω^=σg2^𝐊+σe2^𝐈.

Chromosome X

To analyze markers on chromosome X, we fit an extra variance components σgX2, to model the variance explained by chromosome X. A kinship for chromosome X, KX, can be estimated either from a pedigree, or from genotypes of marker from chromosome X. Then the estimated covariance matrix can be written as Ω^=σg2^𝐊+σgX2^K𝐗+σe2^𝐈.