imputeSnpIter: Impute missing information at a medoid SNPs from a group of...

Description Usage Arguments

View source: R/snpImpute.R

Description

Uses neighboring SNPs in the clustering hierarchy to impute as many as possible alleles to positions with missing values at medoid SNPs.

Usage

1
imputeSnpIter(snp, snpOfInt, inxSnpsToComp, snpOfIntFlip, flipAlleles)

Arguments

snp

an object of class snpMatrix.

snpOfInt

a vertor of the snp of interest.

inxSnpsToComp

a index of neighbors.

snpOfIntFlip

flip status of the snp of interest.

flipAlleles

a vertor of telling for each SNP if allele one has allele freq. > 0.5 or not.

min.absCor

a minimum value of correlation. If missing values still exist if this point in the hierarchy is reached, imputing is done via allele frequencies.


QTCAT/qtcat documentation built on April 20, 2021, 11:20 p.m.