Angenieux.Rd
This class aims to provide aplanat-like visualisation abstraction for the floundeR framework
floundeR::FloundeR
-> Angenieux
colourMap
default colourMap for plots requiring discrete colours
data
A method to dump out the stored data from an Angenieux
object
new()
Creates a new Angenieux object. This initialisation method performs other sanity checking of the defined file(s) and creates the required data structures.
Angenieux$new(key, value)
key
the datatype that is being passed to the object
value
the data that is being passed to the object
A new Angenieux
object.
add()
add an AngenieuxDecoration
to the plot.
Angenieux$add(item)
item
an AngenieuxDecoration
plot()
Prepare and present an Angenieux plot
Angenieux$plot(...)
...
parameters passed on to downstream methods - please see examples for further examples as to how Angenieux plots can be customised using this approach.
to_file()
Specify that Angenieux plot should be saved to file
When working at the console an Angenieux plot may be plotted directly to the console. When preparing reports through Rmarkdown or Pkgdown a more logical saving of plots to a discrete file location may make more sense. The method is used to instruct Angenieux that the plot should be saved to a given location and with a given file format.
Angenieux$to_file( target_file, width = 18, height = 12, units = "cm", dpi = "print" )
target_file
the file with extension e.g. figure1.png
width
the width of figure to save (12 by default)
height
the height of figure to save (7.5 by default)
units
the unit to use for height and width (cm by default)
dpi
the plot resolution (print/300 by default)
the original Angenieux object (self)
set_title()
Set the title used in the given Angenieux plot
Angenieux$set_title(title)
title
the title to use on the plot
the original Angenieux object (self)
clone()
The objects of this class are cloneable with this method.
Angenieux$clone(deep = FALSE)
deep
Whether to make a deep clone.