BLUE {polyqtlR} | R Documentation |
Calculate Best Linear Unbiased Estimates using linear mixed model from nlme
package
Description
Calculation of BLUEs from data frame of genotype names and phenotypes (assuming repeated measurements)
Usage
BLUE(data, model, random, genotype.ID)
Arguments
data |
Data frame of genotype codes and corresponding phenotypes |
model |
The model specification of fixed terms, eg. Yield ~ Clones |
random |
The random component of the model (repeat structure, can be nested), eg. ~1 | Blocks if only Blocks are used |
genotype.ID |
The colname used to describe genotypes, e.g. "Clones" |
Value
A data-frame with columns "geno" for the genotype names, and "blue" for the BLUEs.
Examples
data("Phenotypes_4x")
blue <- BLUE(data = Phenotypes_4x,model = pheno~geno,random = ~1|year,genotype.ID = "geno")
[Package polyqtlR version 0.1.1 Index]