normalSNP {MEAL} | R Documentation |
SNPs values, introduced as numerical, are normalized to be used in lineal models.
normalSNP(snps)
snps |
Numerical vector or matrix representing the SNPs in the form: 0 homozygote recessive, 1 heterozygote, 2 homozygote dominant. |
Numerical vector or matrix with the snps normalized.
snps <- c(1, 0, 0, 1, 0, 0, 2, 1, 2) normSNPs <- normalSNP(snps) normSNPs