Skip to content
Prev 14904 / 20628 Next

Priors for MCMCglmm with haplodiploid relatedness matrix

Hi Mike,

As Jarrod suggests, the singularity could be due to a numerical
dependence among entries in the matrix that could arise either because
of the structure of the pedigree or because of (more or less) rounding
errors. Have you/can you compare your haplo.mat.inverse to what you get
if you run the pedigree through the `makeS()` function in the nadiv
package? Does supplying the makeS inverse matrix allow the model to run?

For example, using the `FG90` example pedigree in nadiv:

nadiv.haplo.mat.inverse <- makeS(FG90, heterogametic = "0", DosageComp =
"ngdc")$Sinv

# Where the `heterogametic` argument gives the code in a 4th column of
the pedigree denoting the haploid sex


Matthew

....................................................
Dr. Matthew E. Wolak
School of Biological Sciences
Zoology Building
University of Aberdeen
Tillydrone Avenue
Aberdeen AB24 2TZ

Zoology room 202
office phone: +44 (0)1224 273255
On 04/10/16 17:00, Michael Sheehan wrote:
The University of Aberdeen is a charity registered in Scotland, No SC013683.
Tha Oilthigh Obar Dheathain na charthannas cl?raichte ann an Alba, ?ir. SC013683.