Compute p-value and score for the ASKAT method

Description

Compute p-value and score for the ASKAT method

Usage

1
pvalue.ASKAT(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 ASKAT test on the given data. The list contains the elements score and p.value.

Author(s)

Karim Oualkacha

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.