MDR.sing.mod: Single Model with and without MDR interactions

Description Usage Arguments Value References Examples

Description

Computes coefficient of determination and p-value for both single model with and without MDR interactions

Usage

1

Arguments

x

A matrix of genotypic data/genetic markers (predictor variables), where the rows are the samples and the columns are the predictors.

y

A numeric vector of phenotypic data (response variable).

order

The order of interaction. Default is 2.

trace

Show computations? Default FALSE.

...

Other arguments for future methods.

Value

It returns a matrix with the index of interactive predictors, and the corresponding p-value, and adjusted coefficient of determination both for single models with and without MRD interactions.

References

Yi Xu, Jixiang Wu, Detecting higher-order interactions of SNP markers associated with three barley agronomic traits (unpublished).

Examples

1
2
3
4
5
data(data2)
y <- data2[,1]
x <- data2[,-1]
res <- MDR.sing.mod(x,y,order=3)
res

CateSelection documentation built on May 1, 2019, 10:11 p.m.