whiteTheme {twoddpcr} | R Documentation |
The default ggplot
theme has a grey background. This
layer can be added to change the aesthetics.
whiteTheme(legendPosition = "right", legendJustification = "center")
legendPosition |
Where to position the legend. This can be "none",
"left", "right", "bottom", "top" or a numeric vector of length two. See the
documentation for |
legendJustification |
The justification to use for the legend positioning. This should be "center" or a two-element vector. Defaults to "center". |
A ggplot
theme layer.
Anthony Chiu, anthony.chiu@cruk.manchester.ac.uk
This function uses theme
.
## Get a data frame in the right format. aWell <- KRASdata[["E03"]] aWell$Cluster <- relabelClasses(aWell, classCol="Cluster") ## Plot it with the white theme. ggplot2::ggplot(aWell, ggplot2::aes(x=Ch2.Amplitude, y=Ch1.Amplitude)) + ggplot2::geom_point(ggplot2::aes(colour=Cluster)) + whiteTheme()