This function generates a static ggplot for inclusion in an HTML report for an object of class "htmlReport".
A character string specifying the identifier for the element of hash_vars that is taken.
Logical, indicating whether the dataset has a header row.
Logical, indicating whether to include row names.
Logical, indicating whether to transpose the dataset.
A list of attributes for samples.
A list of attributes for variables.
A character vector specifying fields to include in the ggplot.
A function to preprocess data before plotting.
A function used for generating the ggplot.
Logical, indicating whether to convert table to text or a vector indicating the numeric fields.
plot width
plot height
units in plot size
string including html properties of img
logical indicating if plot must be resizable
Generate static ggplot for HTML report
This function generates a static ggplot based on the provided data
and plot specifications. It first defines a wrapper function for ggplot
generation, then calls the static_plot_main
function to generate the
plot and include it in the HTML report object.