hap2hmp | R Documentation |
Convert hapResult object to hapmap (hmp) format, for interact with other packages
hap2hmp(hap)
hmp2hap(hmp, hapPrefix = "H", hetero_remove = TRUE, na_drop = TRUE, ...)
hap |
object of "hapResult" class |
hmp |
object of "data.frame" class in hapmap format |
hapPrefix |
prefix of haplotype names |
hetero_remove |
whether remove accessions contains hyb-sites, Character not A T C G |
na_drop |
whether drop accessions contains missing data ("N", "NA", ".") |
... |
Arguments passed on to
|
a data.frame in hapmap format.
data("geneHapR_test")
hmp <- hap2hmp(hapResult)
hap <- hmp2hap(hmp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.