Linkage information based genotype imputation method

Share:

Description

A linkage information based method for imputing missing diploid genotypes

Usage

1
link.im(data, r, char = NULL, oneside = NULL, twoside = NULL, trace = NULL,...)

Arguments

data

A data frame of genotypes. The type of genotype for each marker should be consistent.

r

Vector of recombination fraction or genetic distance.

char

Types of genotypes in the input data.

oneside

One flanking marker? Default TRUE.

twoside

Two flanking markers? Default TRUE.

trace

Show computation trace? Default FALSE.

...

Other arguments for future methods

Value

It returns a matrix of inputed genotype data frame.

References

Yi Xu, Yajun Wu, Michael G. Gonda and Jixiang Wu. A Linkage Based Imputation Method for Missing SNP Markers in Association Mapping (To be submitted)

Examples

1
2
3
4
5
data(barley)
dat <- barley[,-1]
r <- as.numeric(dat[1,])
data <- dat[-1,]
new.data <- link.im(data,r)