Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

fillin

Impute missing genotypes


Description

Impute missing genotypes in a snpMatrix object in each SNP in turn, conditional on all the others.

Usage

fillin(X, bp = 1:ncol(X), strata = NULL)

Arguments

X

a snpMatrix object

bp

optional vector giving basepair positions of the SNPs

strata

optional vector giving stratificiation of the samples, one entry for each sample, and samples with the same value are assumed to come from a single strata

Value

a numeric matrix of imputed genotypes, 0,2 = homs, 1 = het


coloc

Colocalisation Tests of Two Genetic Traits

v3.2-1
GPL
Authors
Chris Wallace [aut, cre], Claudia Giambartolomei [aut], Vincent Plagnol [ctb]
Initial release
2019-05-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.