| hap_result | R Documentation | 
summarize hap result and output a txt file
hap_result(hap, hapPrefix = "H", out = FALSE, file = "hapResult.txt")
| hap | hap | 
| hapPrefix | prefix of hap names | 
| out | write hap results to a txt file | 
| file | file path | 
data.frame, first four rows are fixed to meta information: CHR, POS, INFO, ALLELE Hap names were placed in col1, Accessions and freqs were placed at the last two cols.
data("quickHap_test")
# Your vcf data should imported by `import_vcf()` here
hap <- get_hap(vcf, hyb_remove = TRUE, na.drop =TRUE)
hapResult <- hap_result(hap)
plotHapTable(hapResult)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.