| Angenieux | R Documentation |
This class aims to provide aplanat-like visualisation abstraction for the floundeR framework
floundeR::FloundeR -> Angenieux
colourMapdefault colourMap for plots requiring discrete colours
dataA 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)
keythe datatype that is being passed to the object
valuethe data that is being passed to the object
A new Angenieux object.
add()add an AngenieuxDecoration to the plot.
Angenieux$add(item)
iteman 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_filethe file with extension e.g. figure1.png
widththe width of figure to save (12 by default)
heightthe height of figure to save (7.5 by default)
unitsthe unit to use for height and width (cm by default)
dpithe 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)
titlethe 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)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.