xQTLanno_genomic
R/visualize.R
xQTLvisual_anno.Rd
Visualize enrichment of variants derived from xQTLanno_genomic
xQTLvisual_anno(
snpHits,
axis_text_size = 1.3,
axis_title_size = 1.3,
legend_text_size = 1.1,
title_size = 1.4,
xlab_text = "",
ylab_text = "",
title_text = "",
point_color = NULL
)
A data.table object from result of xQTLanno_genomic
(numberic) text size of the axis labels
(numberic) text size of the axis title
(numberic) text size of the legend text
(numberic) text size of the title of the plot
(character) Lable for x-axis
(character) Lable for x-axis
(character) Title of the plot
Cut step of pvlaue. Defaults: 5
"enrichment" or "overlapping"
A ggplot object
# \donttest{
url1 <- "http://bioinfo.szbl.ac.cn/xQTL_biolinks/xqtl_data/gwas/gwasSub.txt.gz"
snpInfo <- fread(url1, sep="\t")
snpHits <- xQTLanno_genomic(snpInfo)
p <- xQTLvisual_anno(snpHits)
# }