Description Usage Arguments Value Author(s) See Also Examples
The default ggplot
theme has a grey background. This
layer can be added to change the aesthetics.
1 | 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
.
1 2 3 4 5 6 7 8 | ## 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()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.