impGenotypeMatrix: Impute missing genotypes in incomplete genotype matrix

Description Usage Arguments Value

Description

Returns a matrix with imputed missing data in a 0,1,2 coded genotype matrix. Non-variance columns are automatically removed.

Usage

1
impGenotypeMatrix(genotype_matrix)

Arguments

genotype_matrix

Genotype matrix (sample x snps) coded with 0,1,2, or <NA>

Value

matrix (sample x snp) with genotype "probabilities" ranging from 0 to 2


sojwolf/ancientpca documentation built on May 13, 2019, 9:53 p.m.