Find all possible haplotypes for a haploblock from the
haplotyping result
Usage
allhap(hapresults, haploblock)
Arguments
hapresults
list as returned by inferhaplotypes, or one element
of such a list (i.e. the results for one haploblock)
haploblock
if hapresults is one element of the return value of
inferHaplotypes, haploblock should be missing of NULL; else haploblock is
a single value indicating the haploblock: either its name of its index
in hapresults
Value
an array with all possible haplotypes. The haplotypes are in columns,
with the haplotype numbers as colnames; the markers are in rows.
Details
This function works with the results of inferHaplotypes; the setting
of dropUnused does not affect this function
# NOT RUN {data(PolyHaplotyper_small)
# show the composition of all possible haplotypes with the markers# in the first haploblock:allhap(hapresults=phresults, haploblock=1)
# }