| table2hap | R Documentation | 
convert variants stored in table format into hapResult
table2hap(x, hapPrefix = "H", pad = 3, hetero_remove = TRUE, na_drop = TRUE)
| x | a data.frame contains variants information. The first file column are fix as Chrome name, position, reference nuclieotide, alter nuclieotide and INFO. Accession genotype should be in followed columns. "-" will be treated as Indel. "." and "N" will be treated as missing data. Heterozygotes should be "A/T", "AAA/A" | 
| hapPrefix | prefix of haplotype names | 
| pad | The number length in haplotype names should be extend to. | 
| hetero_remove | whether remove accessions contains hyb-sites, Character not A T C G | 
| na_drop | whether drop accessions contains missing data ("N", "NA", ".") | 
object of hapSummary class
   data("geneHapR_test")
   hapResult <- table2hap(gt.geno, hapPrefix = "H",
                          hetero_remove = TRUE,
                          na_drop = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.