View source: R/hapVisualization.R
plotHapTable | R Documentation |
plot you hap result as a table
plotHapTable(hapResult, hapPrefix = "H", geneID = "", displayIndelSize = 0, angle = c(0,45,90), replaceMultiAllele = TRUE, title.color = "grey90")
hapResult |
hapResult |
hapPrefix |
hapPrefix |
geneID |
geneID used as mainTitle |
displayIndelSize |
display indels with max size of displayIndelSize, If set as 0, all indels will convert into 'i*'. |
angle |
angle of coordinate, should be one of 0, 45 and 90 |
replaceMultiAllele |
Whether to replace MultiAllele with T*, defalt as TRUE |
title.color |
title.color, defalt is grey90 |
ggplot2 object
data("quickHap_test") 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.