Uses neighboring SNPs in the clustering hierarchy to impute as many as possible alleles to positions with missing values at medoid SNPs.
1 2 | imputeSnp(inxSnpOfInt, snp, hier, hierLeafs, clust, medoSnps, naSnps,
flipAlleles, min.absCor)
|
inxSnpOfInt |
a vertor of the snp of interest. |
snp |
an object of class snpMatrix. |
hier |
an object of class hierarchy. |
hierLeafs |
a vector of leafs of the hierarchy. |
clust |
a named vector of clusters. |
medoSnps |
a vector of medo turue o false. |
naSnps |
a vector of NA indeces. |
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.