View source: R/recode_gametes.R
recode_gametes | R Documentation |
This function reads along each gametes and replaces its read (0 or 1) with the corresponding haplotype (h1 or h2) based on the allele in each donor haplotype; alternatively, the read may be replaced with an NA if not enough information was known for phasing
recode_gametes(dt, complete_haplotypes)
dt |
Input matrix of gamete reads |
complete_haplotypes |
Inferred donor haplotypes |
dt matrix of gametes coded by haplotype at each position
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.