plotEQTL: LocusExplorer - TCGA eQTL plot

View source: R/plotEQTL.R

plotEQTLR Documentation

LocusExplorer - TCGA eQTL plot

Description

TCGA eQTL plot for LocusExplorer.

Usage

plotEQTL(
  data = NULL,
  xStart = NULL,
  xEnd = NULL,
  hits = NULL,
  hitsTags = TRUE,
  label = "eQTL TCGA",
  pad = TRUE,
  title = NULL
)

Arguments

data

data.frame with columns: c("SNP", "gene", "xSNP", "xGene")

xStart, xEnd

Region range, minimum and maximum position on x axis, advised to keep this less than 5Mb.

hits

SNP names to label in the plot. Must be present in data data.frame.

hitsTags

Tag SNP names to label in the plot. Must be present in data data.frame.

pad

Default is TRUE, to align plots pad strings with spaces, using oncofunco::strPadLeft().

title

character string for plot title. Default is NULL, i.e.: no plot title.

Value

a ggplot object

Author(s)

Tokhir Dadaev


oncogenetics/oncofunco documentation built on March 9, 2024, 5:23 p.m.