Learn R Programming

gskat (version 1.0)

gskat_score: Perform GEE_SKAT Score Test

Description

This function performs family based marker set based association (score test) based on the GEE_SKAT.

Usage

gskat_score(pedDat,F1=FALSE)

Arguments

pedDat
Input Family Data: A list including four data matrix: ID, y, X, Z. ID: Pedigree ID matrix, having four columns are the Family ID (FID), Inidvidual ID (IID), Paternal ID (FAT), Maternal ID (MAT), respectively. y: binary phenotype coded as 0, 1 X: covaraite matrix, including the intercept column Z: SNP genotypes coded 0/1/2 (minor allele count).
F1
If TRUE, use identity working corr. matrix

Value

pval
Returns p-value
ifault
fault indicator from the davies method: 0: no error, 1: requested accuracy could not be obtained, 2: round-off error possibly significant, 3: invalid parameters, 4: unable to locate integration parameters

Examples

Run this code
		gskat_score(gdata)

Run the code above in your browser using DataLab