impute.missing: Fill in missing values in SnpMatrix object

Description Usage Arguments Value Author(s)

Description

Uses snpStats' snp.imputation function

Usage

1
impute.missing(X, bp = 1:ncol(X), strata = NULL, numeric = FALSE, ...)

Arguments

X

SnpMatrix object

bp

optional vector of base pair positions, length == number of SNPs

strata

optional vector, length == number of samples, as.factor(strata) defines distinct strata of samples, eg by geography

numeric

default FALSE

...

arguments passed on to impute.snps

Value

matrix, either numeric (if numeric=TRUE) or SnpMatrix (if numeric=FALSE)

Author(s)

Chris Wallace


chr1swallace/GUESSFM documentation built on May 13, 2019, 6:17 p.m.