For an additive plus dominance model, compute multiple types of genomic estimator for a single variance or covariance component. Posterior mean variance or co-variance (PMV) and also the variance of posterior means (VPM) estimators are returned. Both M1, i.e. "Method 1", which does not account for LD in the population and M2 or "Method 2", which does, are returned. Additive and dominance variances/covariances are returned.

posteriorMeanVarCovarAD(
  Trait1,
  Trait2,
  AddEffectList,
  DomEffectList,
  postMeanAddEffects,
  postMeanDomEffects,
  genoVarCovarMat
)

Arguments

Trait1

string, label for Trait1. When Trait1==Trait2 computes the genomic variance of the trait, when Trait1!=Trait2 computes the genomic covariance between traits.

Trait2

string, label for Trait2. When Trait1==Trait2 computes the genomic variance of the trait, when Trait1!=Trait2 computes the genomic covariance between traits.

AddEffectList

list of ADDITIVE effect matrices, one matrix per trait, Each element of the list is named with a string identifying the trait and the colnames of each matrix are labelled with snpIDs.

DomEffectList

list of DOMINANCE effect matrices, one matrix per trait, Each element of the list is named with a string identifying the trait and the colnames of each matrix are labelled with snpIDs.

postMeanAddEffects

list of named vectors (or column matrices) with the posterior mean ADDITIVE marker effects.

postMeanDomEffects

list of named vectors (or column matrices) with the posterior mean DOMINANCE marker effects.

genoVarCovarMat

variance-covariance matrix of marker genotypes, i.e. measuring linkage disequilibrium

Value

tibble with estimators for one variance or co-variance parameter including both additive and dominance components.