filter a dosage matrix by minor allele frequence. get a vector of allele frequences from a dosage matrix
maf_filter(M, thresh)
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
threshold value. Columns of M with maf<thresh will be removed
dosage matrix potentially with columns removed
Other helper:
backsolveSNPeff()
,
centerDosage()
,
crosses2predict()
,
dose2domDevGenotypic()
,
dose2domDev()
,
effectsArray2list()
,
genmap2recombfreq()
,
genoVarCovarMatFunc()
,
getAF()
,
getMAF()
,
getPropHom()
,
intensity()
,
kinship()
,
quadform()
,
remove_invariant()