lohSpec_buildMain {GenVisR} | R Documentation |
Build a ggplot2 object displaying calculated LOH data
lohSpec_buildMain(x, dummyData, colourScheme = "inferno", plotLayer = NULL)
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 |
object of class ggplot2