Function to create additive and dominance genomic relationship matrices from biallelic dosages.
kinship(M, type)
dosage matrix. Assumes SNPs in M coded 0, 1, 2 (requires rounding dosages to integers). M is Nind x Mrow, numeric matrix, with row/columanes to indicate SNP/ind ID.
square symmetric genomic relationship matrix
Other helper:
backsolveSNPeff()
,
centerDosage()
,
crosses2predict()
,
dose2domDevGenotypic()
,
dose2domDev()
,
effectsArray2list()
,
genmap2recombfreq()
,
genoVarCovarMatFunc()
,
getAF()
,
getMAF()
,
getPropHom()
,
intensity()
,
maf_filter()
,
quadform()
,
remove_invariant()