Infographic.RdR6 Class for loading and analysing sequence sets
R6 Class for loading and analysing sequence sets
floundeR::FloundeR -> Infographic
panel.widthdefines width of an infographic block
panel.heightdefines height of an infographic block
panel.spacerdefines spacing around an infographic block
panel.x.offsetdefines x offset spacing for whole graphic
panel.y.offsetdefines y offset spacing for whole graphic
columnsdefines the number of columns to use in infographic plot
itemsreturn an integer describing the number of items that is contained
within the Infographic.
new()Initialise a new instance of the R6 Class Infographic
Infographic$new()
add()add an InfographicItem to the Infographic plot.
Infographic$add(item)
iteman InfographicItem
as_tibble()Export the contained Infographic dataset(s) as a tibble
Infographic$as_tibble()
A tibble representation for all the data
plot()Plot the infographic to file (and display it immediately)
display_filethe file to write to the infographic to (a temp file will be created and used by default).
display_fa()Display a collection of fontawesome based infographics for picking.
The fontawesome collection of icons contains over 700 icons of
which some are more useful / desirable than others. This accessory
method is used to render an Infographic report that summarised the
available icons within a predefined range - the intention here is to
make the selection of fonts to use in infographics a little simpler
and easier. This replaces a dodgy notebook approach that was used
previously.
Infographic$display_fa(file, offset = 0, rows = 10, columns = 6)
filea file.path to use to write the infographic to
offsetan integer offset defining where we should start rendering from in a broad sequence.
rowsthe number of rows to fill with sequential data.
columnsthe corresponding number of columns.
clone()The objects of this class are cloneable with this method.
Infographic$clone(deep = FALSE)
deepWhether to make a deep clone.