Function to modify genotype and phenotype data to match
modify.data(
pheno.mat,
geno.mat,
pheno.labels = NULL,
geno.names = NULL,
map = NULL,
return.ZETA = TRUE,
return.GWAS.format = FALSE
)
The modified marker genotype data.
The modified phenotype data.
The list for mixed model equation (ZETA).
GWAS formatted phenotype data.
GWAS formatted marker genotype data.
A \(n _ 1 \times p\) matrix of phenotype data. rownames(pheno.mat) should be genotype (line; accesion; variety) names.
A \(n _ 2 \times m\) matrix of marker genotype data. rownames(geno.mat) should be genotype (line; accesion; variety) names.
A vector of genotype (line; accesion; variety) names which correpond to phenotypic values.
A vector of genotype (line; accesion; variety) names for marker genotype data (duplication is not recommended).
Data frame with the marker names in the first column. The second and third columns contain the chromosome and map position.
If this argument is TRUE, the list for mixed model equation (ZETA) will be returned.
If this argument is TRUE, phenotype and genotype data for GWAS will be returned.