Learn R Programming

RVPedigree (version 0.0.3)

pvalue.NormalizedASKAT: Compute p-value and score for the normalized ASKAT method

Description

Compute p-value and score for the normalized ASKAT method

Usage

pvalue.NormalizedASKAT(RH0, y, X, Phi, W, G)

Arguments

RH0
a vector of length 2 which the results (output) of the Estim.H0.ASKAT function (i.e. variance components estimates under the null model)
y
vector of phenotype data (one entry per individual), of length $n$.
X
matrix of covariates including intercept (dimension: $n \times p$, with $p$ the number of covariates)
Phi
Relationship matrix (i.e. twice the kinship matrix); an $n \times n$ square symmetric positive-definite matrix.
G
matrix of genotypes

Value

A list with score and p-value for the Normalized ASKAT test on the given data. The list contains the elements score and p.value