This function generates a static plot for inclusion in an HTML report for an object of class "htmlReport".
A character string specifying the identifier for the plot included in hash_vars.
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 the fields to include in the plot.
A function to preprocess data before plotting.
A function used for generating the plot.
Logical, indicating whether to convert table to text or a vector indicating the numeric fields.
Logical, indicating if id correspond to a table or a custom object
plot width
plot height
units in plot size
string including html properties of img
logical indicating if plot must be resizable
logical indicating if is using classic plot() R function
Generate static plot for HTML report
This function generates a static plot based on the provided data and plot specifications. It first retrieves the data frame for plotting using the provided options, preprocesses the data if a preprocessing function is specified, generates the plot using the provided plotting function, and then adds the plot to the HTML report object.