plotHapTable: plotHapTable

View source: R/hapVisualization.R

plotHapTableR Documentation

plotHapTable

Description

plot you hap result as a table

Usage

plotHapTable(hapResult,
             hapPrefix = "H",
             geneID = "",
             displayIndelSize = 0, angle = c(0,45,90),
             replaceMultiAllele = TRUE,
             title.color = "grey90")

Arguments

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

Value

ggplot2 object

Examples


data("quickHap_test")
hap <- get_hap(vcf,hyb_remove = TRUE, na.drop = TRUE)
hapResult <- hap_result(hap)
plotHapTable(hapResult)

ZhangRenL/quickHapR documentation built on June 17, 2022, 12:04 a.m.