mdr.c {ORMDR} | R Documentation |
MDR method classifies the combination of multilocus tgenotypes into high-risk and low-risk groups based on a simple comparison of the ratios of the number of cases and controls.
mdr.c(dataset,colresp,cs,combi,cv.fold=10,randomize=TRUE)
dataset |
SNP data set with class variable |
colresp |
location of class variable in dataset |
cs |
how to code "case" class |
combi |
number of genes for combination |
cv.fold |
number of fold in cross validation |
randomize |
logical. If 'TRUE' (the default) the cross validation sets are randomized |
min.comb |
combination with minimum error rate in each cross validation |
train.erate |
training error |
test.erate |
test error |
data |
dataset |
best.combi |
best combination |
data(sample.dat) mdr.c(sample.dat, colresp=21, cs=1, combi=2, cv.fold = 10)