Description Usage Arguments Value Author(s)
Write a snpStats object to file, and use snphap to phase with multiple imputation
1 2 3 |
data |
snpStats object |
slist |
snp list |
snps |
snps dataframe with columns "allele.A", "allele.B" denoting alleles |
samples |
samples dataframe |
A1 |
colname of allele 1 in snps |
A2 |
colname of allele 2 in snps |
cols.copy |
columns to be copied to resulting phased object |
f.in |
filename for snphap input (will be overwritten) |
redo |
set to TRUE to regenerate snphap output regardless of whether it exists |
data.frame containing the best phased haplotypes
Chris Wallace
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.