Learn R Programming

ORMDR (version 1.3-2)

ormdr: ORMDR : Odds ratio based multifactor-dimensioinality reduction method

Description

ORMDR usesthe odds ratio as a new quantitative measure of disease risk.

Usage

ormdr(dataset,bestcombi,cs,colresp,CI.Asy,CI.Boot,B)

Arguments

dataset
SNP data set with class variable
bestcombi
best combination from mdr.c function
cs
how to code "case" class
colresp
location of class variable in dataset
CI.Asy
indicator whether asymptotic CI is calculated or not
CI.Boot
indicator whether bootstrap CI is calculated or not
B
number of bootstrap samples

Value

...

Examples

Run this code
data(sample.dat)
z<-mdr.c(sample.dat, colresp=21, cs=1, combi=2, cv.fold = 10)
ormdr(sample.dat,bestcombi=as.numeric(z$best.combi),cs=1,colresp=21,CI.Asy=TRUE,CI.Boot=TRUE,B=1000)

Run the code above in your browser using DataLab