MDR.sing.mod {CateSelection} | R Documentation |
Computes coefficient of determination and p-value for both single model with and without MDR interactions
MDR.sing.mod(x, y, order = NULL, trace = NULL, ...)
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. |
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.
Yi Xu, Jixiang Wu, Detecting higher-order interactions of SNP markers associated with three barley agronomic traits (unpublished).
data(data2) y <- data2[,1] x <- data2[,-1] res <- MDR.sing.mod(x,y,order=3) res