Arguments
idtest
A vector of sample IDs which constitute the test set.
idtrain
A vector of sample IDs which constitute the training set.
corlist
A list of correlation matrices used in Kriging. rownames and colnames
of cor should be IID list and include idtest and idtrain.
H2vec
has weights for each RM relatednes matrix
pheno
A data frame with rownames set as sample IDs and a column containing phenotype data.
phenoname
The name of the column in pheno which contains phenotype data to test.
Xcova
Data frame of covariates with rownames() set to sample IDs.