Learn R Programming

GenVisR (version 1.0.4)

lohView_buildMain: construct loh plot

Description

given a loh data frame plot points in ggplot

Usage

lohView_buildMain(x, y, chr, layers = NULL)

Arguments

x
a data frame with columns chromosome, position, n_vaf, t_vaf, sample
y
a data frame with columns chromosome, coordinate for plotting chromosome boundaries
chr
a character string specifying chromosome
layers
additional ggplot2 layers to add

Value

ggplot2 object