Description Usage Arguments Value Author(s) Examples
Convert haplotype states (1 - 15) to genotype states (1 - 9)
1 | h.to.g(hap.states)
|
hap.states |
vector or matrix of haplotype states. Values should be integers from 1-9 |
vector or matrix of same dimension as hap.states but with the corresponding genotypic states.
F L Grimson
1 2 3 4 5 | ## this example is taken from the package vignette.
##See vignette(IBDhaploRtools_tutorial)
data(trueibd_phased)
trueibd_unphased <- h.to.g( trueibd_phased )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.