allHaplotypes: get all haplotypes for the given markers
Description
Given a set of bi-allelic (SNP) marker names, generate all
possible haplotypes
Usage
allHaplotypes(mrknames)
Arguments
mrknames
the names of the (bi-allelic) markers in the
haploblock (contig)
Value
a matrix with markers in columns and all possible (2 ^ nmrk)
haplotypes in rows. 0: haplotype contains the non-dosage-counted marker
allele (the reference allele); 1: haplotype contains the dosage-counted
(alternative) marker allele. The colnames are the marker names.