RVS_rare: It calls functions...

Description Usage Arguments Value

Description

It calls functions calc_ScoreV,calc_ScoreV_RVS,calc_ScoreV_likely,test_CAST, test_Calpha,sample_bootstrap

Usage

1
2
RVS_rare(Y, X, P, njoint = 5, nboot, RVS = "TRUE", hom = 1,
  multiplier = 1)

Arguments

Y

- phenotype value, 1-cases and 0-controls

X

- matrix of conditional expected values, it has dimensions n by J, J - number of variants, n - sample size

P

- genotype frequency for J variants P(G=0), P(G=1) and P(G=2), J by 3 matrix

njoint

- number of SNPs grouping together for one test, default is 5

nboot

- number of bootstrap

RVS,

logic variable to indicate the estimation of variance of the score statistic.

Value

two p-values for CAST and C-alpha


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