resampling.pvalues: Get null resampling p-values

Description Usage Arguments Details Value Author(s)

Description

Function to calculate the null p-values for a list of MultiSKAT objects

Usage

1
2
resampling.pvalues(obj.res, obj.list, Z1, X, 
	resample = 200, Method = "Normal.Appx")

Arguments

obj.res

a NULL object output from MultiSKAT_NULL

obj.list

a list containing output from MultiSKAT or MultiSKAT_Fast function

Z1

A kernelized genotype matrix

X

a matrix of covariates

resample

Number of resampling iterations to obtain the null p-values(default = 200)

Method

A string denoting the method to use for the resampling p-values. Currently the two methods that are available are "Normal.Appx" and "Permutation".

Details

The output from this function is used in minP and minPcom tests. "Permutation" method should be used for unrelated individuals only.

Value

This function returns a list containing

p.values

A numeric matrix containing the resampling p-values

Sigma_Ps

A list containing the Σ p values corresponding to the objects in obj.list

Author(s)

Diptavo Dutta


diptavo/MultiSKAT documentation built on May 22, 2019, 1:36 p.m.