powered by
The G matrix is calculated by centering the allele frequency matrix of the second allele by substracting 2 times the allefrequency
gl.grm(gl, plotheatmap = TRUE, return.imputed = FALSE, ...)
-- a genlight object
-- a switch if a heatmap should be shown [Default:TRUE]
switch if loci with imputed data should be returned (see ?A.mat in package rrBLUP)
parameters passed to function A.mat from package rrBLUP
a genomic relatedness matrix
# NOT RUN { gl.grm(bandicoot.gl[1:5,1:10]) # }
Run the code above in your browser using DataLab