View source: R/gene_dropping_functions.R
reduce_hap_code | R Documentation |
A function to condense haplotype source information. A string of 1's and 2's determinining which parental haplotype each allele of the desecendants haplotype came from are condensed. i.e. (111112222 becomes 1(5)2(4) but in matrix format) A list of two matrices is returned, one relating to the sire and one to the dam.
reduce_hap_code(sire_hap_info, dam_hap_info)
sire_hap_info |
A vector of 1's and 2's determining sire haplotype source information |
dam_hap_info |
A vector of 1's and 2's determining dam haplotype source information |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.