addINFO | R Documentation |
add annotations to INFO fields used for plotHapTable()
addINFO(hap,
tag = "", values = values,
replace = FALSE, sep = ";")
sites(hap)
hap |
object of |
tag |
tag names, usually is a single word used before "=" |
values |
annotation for each site. Length of values must be equal with sites in hapResult |
replace |
whether replace origin INFOs in hapResult or not. Default as FALSE |
sep |
a character string to separate the terms. Not
|
object of hapSummary or hapResult class with added/replaced INFOs
plotHapTable()
plotHapTable()
data("geneHapR_test")
# length of values must be equal with number of sites in hap result
values <- paste0("newInfo",c(1:9))
hapResult <- addINFO(hapResult, tag = "new", values = values, replace = TRUE)
data("geneHapR_test")
# check how many sites were concluded in hapResult/hapSummary
sites(hapResult)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.