Infographic.Rd
R6 Class for loading and analysing sequence sets
R6 Class for loading and analysing sequence sets
floundeR::FloundeR
-> Infographic
panel.width
defines width of an infographic block
panel.height
defines height of an infographic block
panel.spacer
defines spacing around an infographic block
panel.x.offset
defines x offset spacing for whole graphic
panel.y.offset
defines y offset spacing for whole graphic
columns
defines the number of columns to use in infographic plot
items
return 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)
item
an 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_file
the 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)
file
a file.path to use to write the infographic to
offset
an integer offset defining where we should start rendering from in a broad sequence.
rows
the number of rows to fill with sequential data.
columns
the corresponding number of columns.
clone()
The objects of this class are cloneable with this method.
Infographic$clone(deep = FALSE)
deep
Whether to make a deep clone.