lohSpec_buildMain: Plot LOH data

Description Usage Arguments Value

View source: R/lohSpec_buildMain.R

Description

Build a ggplot2 object displaying calculated LOH data

Usage

1
lohSpec_buildMain(x, dummyData, colourScheme = "inferno", plotLayer = NULL)

Arguments

x

object of class dataframe with loh difference calculations and column names "window_start", "window_stop", "chromosome", "sample", and "loh_diff"

dummyData

object of class dataframe with column names "chromosome", "start", "end" specifying chromosome boundaries

colourScheme

Character vector specifying the colour scale to use from the viridis package. One of "viridis", "magma", "plasma", or "inferno".

plotLayer

Valid ggplot2 layer to be added to the plot. for the legend's parameters

Value

object of class ggplot2


GenVisR documentation built on March 18, 2018, 2:36 p.m.