link.im: Linkage information based genotype imputation method

Description Usage Arguments Value References Examples

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)


Search within the linkim package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.