regScore_perm: Use regular Score/Trend test for association for given...

Description Usage Arguments Value

Description

Use regular Score/Trend test for association for given phenotype (Y) and expected values of genotypes for case and controls (X) it is evaluation by permutation distribution

Usage

1
regScore_perm(Y, X, nperm)

Arguments

Y

- a vector with the phenotype for n individuals (=ncase+ncont), first ncase (y=1) then ncont (y=0) (integar)

X

- a vector of genotype for a snp, first ncase and then ncont

nperm

- number of permutations

Value

p-values the variant (double)


Struglab/RVS documentation built on May 9, 2019, 3:11 p.m.