centerDosage: Centers dosage matrix

View source: R/helpers.R

centerDosageR Documentation

Centers dosage matrix

Description

Centers dosage matrix, e.g. for use in whole-genome regressions like rrBLUP

Usage

centerDosage(M)

Arguments

M

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

See Also

Other helper: backsolveSNPeff(), crosses2predict(), dose2domDevGenotypic(), dose2domDev(), effectsArray2list(), genmap2recombfreq(), genoVarCovarMatFunc(), getAF(), getMAF(), getPropHom(), intensity(), kinship(), maf_filter(), quadform(), remove_invariant()


wolfemd/genomicMateSelectR documentation built on July 1, 2022, 10:42 p.m.