Description Usage Arguments Value
Applies a set of masks to haplotypes obtained with readFastPhase. The output is saved as fastPHASE *.inp file not including sample ids (a simplified version of fastPHASE files). It is ready for imputation with fastPHASE.
1 | ApplyMasks(g, masks, pref, vcf = NULL)
|
g |
Character vector with original (unmasked) haplotypes |
masks |
List of masks as binary matrices |
pref |
path/to/prefix to save the output. The number of files created equals to the length of masks variable. The filenames are generated automatically like this: prefix.mn.inp, where prefix is a user defined string, n is an ordinal number of the mask. |
vcf |
VCF-class object. If provided, the output will be saved as vcf file. If not, as fastPHASE inp file. |
No values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.