plotAnnot: LocusExplorer - Annotation plot, collapsed

View source: R/plotAnnot.R

plotAnnotR Documentation

LocusExplorer - Annotation plot, collapsed

Description

Annotation plot for LocusExplorer.

Usage

plotAnnot(
  data,
  chrom = NULL,
  xStart = NULL,
  xEnd = NULL,
  vline = NULL,
  collapse = FALSE,
  pad = TRUE
)

Arguments

data

dataframe with c(CHR, BP, TYPE1, TYPE2, COLOUR_HEX, TYPE2N) columns.

chrom

chromosome name, interger 1:23

xStart, xEnd

Region range, zoom, minimum BP and maximum BP, advised to keep this less than 5Mb.

vline

Mark hits on genes

collapse

Collapse TYPE2 group into TYPE1 group

pad

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

Value

a ggplot object

Author(s)

Tokhir Dadaev


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