lohSpec_buildMain {GenVisR} | R Documentation

## Plot LOH data

### Description

Build a ggplot2 object displaying calculated LOH data

### Usage

    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

[Package GenVisR version 1.8.1 Index]