View source: R/functions_for_RGWAS.R
modify.data | R Documentation |
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
)
pheno.mat |
A |
geno.mat |
A |
pheno.labels |
A vector of genotype (line; accesion; variety) names which correpond to phenotypic values. |
geno.names |
A vector of genotype (line; accesion; variety) names for marker genotype data (duplication is not recommended). |
map |
Data frame with the marker names in the first column. The second and third columns contain the chromosome and map position. |
return.ZETA |
If this argument is TRUE, the list for mixed model equation (ZETA) will be returned. |
return.GWAS.format |
If this argument is TRUE, phenotype and genotype data for GWAS will be returned. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.