PermPvs: PermPvs is the function to calcualte p-values for SPU test by...

Description Usage Arguments Details Value Author(s)

Description

It gives the simulation-based p-values of the sum of powered score (SPU) with different power and aSPU test.

Usage

1
PermPvs(T0s, B)

Arguments

T0s,

Null statistics matrix, the SPU statistic is matrix, rows for gamma2 and columns for gamma1, where gamma2 is for traits and gamma1 is for SNPs

B

number of simulations

Details

the suggested power term is c(1:8, Inf)

Value

simulation-based p-values of the sum of powered score (SPU) with different power

Author(s)

Zhiyuan (Jason) Xu, Yiwei Zhang and Wei Pan


jasonzyx/APaSPU documentation built on May 18, 2019, 5:55 p.m.