cond.best: cond.best

Description Usage Arguments Details Value Author(s)

Description

Stepwise regression on a snpMatrix

Usage

1
2
cond.best(X, Y, best = NULL, stepwise.p.thr = 0.001,
  stepwise.max.predictors = NA, ...)

Arguments

X

snpMatrix object

Y

phenotype vector

best

SNPs chosen so far, NULL if none

stepwise.p.thr

maximum p value to continue adding predictors

stepwise.max.predictors

maximum predictors to choose, NA if continue until stepwise.p.thr is met

...

arguments passed to snp.rhs.test

Details

Calls snp.rhs.test to find next best predictor to add, possibly given a list of existing chosen predictors.

Value

new predictor, NULL if none found that meets conditions

Author(s)

Chris Wallace


chr1swallace/GUESSFM documentation built on May 13, 2019, 6:17 p.m.