Boxplot of values stratified by genotypes with customized data

xQTLvisual_genoBox(
  genoDT,
  axis_text_size = 1.3,
  axis_title_size = 1.3,
  title_size = 1.4,
  xlab_text = "Genotypes",
  ylab_text = "Normalized expression",
  ylim_v = NULL,
  title_text = "",
  jitter_color = NULL
)

Arguments

genoDT

(Data.framt) including two columns, "value" and "genotypes"

axis_text_size

(numberic) text size of the axis labels

axis_title_size

(numberic) text size of the axis title

title_size

(numberic) text size of the title of the plot

xlab_text

(character) Lable for x-axis

ylab_text

(character) Lable for x-axis

ylim_v

(numeric vector) Set scale limits

title_text

(character) Title of the plot

jitter_color

(A character vector) Set the point color.

Value

A ggplot object.

Examples

# \donttest{
url1 <- "http://bioinfo.szbl.ac.cn/xQTL_biolinks/xqtl_data/eqtl/eqtlExpLabel.txt"
genoDT <- data.table::fread(url1)
box_plot <- xQTLvisual_genoBox(genoDT, title_size=1.6, title_text="Geno-Exp association" )
# }