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

Description Usage Arguments Value Author(s)

View source: R/pvalue.ASKAT.R

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


RVPedigree documentation built on May 29, 2017, 10:19 p.m.