imputeToMean: Impute missing values to the mean dosage

Description Usage Arguments Details Value

Description

This function imputes missing genotype values to the mean dosage.

Usage

1

Arguments

Z

A genotype matrix (dosage matrix) - rows correspond to individuals and columns correspond to SNPs. Use 'NA' for missing values.

Details

This function imputes missing genotypes to the SNP mean allele frequency.

If Z is not a matrix it will be coerced with as.matrix.

Value

a genotype matrix (dosage matrix)


DavisBrian/seqtools documentation built on May 6, 2019, 1:56 p.m.