View source: R/reformat-geno-mt.R
fill_fail | R Documentation |
Fail
in the genotype data and the Fail
in a block
of either Home_alt, or Het, we fill in the Fail
s using values of the
ones adjacent to it, otherwise they remain as "Fail" to indicate missing
values.Infer the genotype of failed SNPs
If we have a Fail
in the genotype data and the Fail
in a block
of either Home_alt, or Het, we fill in the Fail
s using values of the
ones adjacent to it, otherwise they remain as "Fail" to indicate missing
values.
fill_fail(s_gt, fail = "Fail", chr = NULL)
s_gt, |
a column of labelled genotypes |
fail, |
the string that is used for encoding failed genotype results,
default to |
chr, |
the factor vector indicating which chromosomes the markers are
on, default to |
a vector of genotypes with Failed genotype imputed or changed to 'NA' if not imputable
Ruqian Lyu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.