Uses neighboring SNPs in the clustering hierarchy to impute as many as possible alleles to positions with missing values at medoid SNPs.
1 | imputeSnpIter(snp, snpOfInt, inxSnpsToComp, snpOfIntFlip, flipAlleles)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.