View source: R/plotDataSetList.R
| plot_general_data | R Documentation | 
General function for plotting within IOHanalyzer
plot_general_data(
  df,
  x_attr = "ID",
  y_attr = "vals",
  type = "violin",
  legend_attr = "ID",
  scale.xlog = F,
  scale.ylog = F,
  scale.reverse = F,
  p = NULL,
  x_title = NULL,
  y_title = NULL,
  plot_title = NULL,
  upper_attr = NULL,
  lower_attr = NULL,
  subplot_attr = NULL,
  show.legend = F,
  inf.action = "none",
  violin.showpoints = F,
  frame_attr = "frame",
  symbol_attr = "run_nr",
  subplot_shareX = F,
  line.step = F,
  ...
)
df | 
 The dataframe containing the data to plot. It should contain at least two columns: 'x_attr' and 'y_attr'  | 
x_attr | 
 The column to specify the x_axis. Default is 'algId'  | 
y_attr | 
 The column to specify the y_axis  | 
type | 
 The type of plot to use. Currently available: 'violin', 'line', 'radar', 'bar', hist' and 'ribbon'  | 
legend_attr | 
 Default is 'algId' This is also used for the selection of colorschemes  | 
scale.xlog | 
 Logarithmic scaling of x-axis  | 
scale.ylog | 
 Logarithmic scaling of y-axis  | 
scale.reverse | 
 Decreasing or increasing x-axis  | 
p | 
 A previously existing plot on which to add traces. If NULL, a new canvas is created  | 
x_title | 
 Title of x-axis. Defaults to x_attr  | 
y_title | 
 Title of x-axis. Defaults to x_attr  | 
plot_title | 
 Title of x-axis. Defaults to no title  | 
upper_attr | 
 When using ribbon-plot, this can be used to create a shaded area. Only works in combination with‘lower_attr' and 'type' == ’ribbon'  | 
lower_attr | 
 When using ribbon-plot, this can be used to create a shaded area. Only works in combination with‘upper_attr' and 'type' == ’ribbon'  | 
subplot_attr | 
 Which attribute of the dataframe to use for creating subplots  | 
show.legend | 
 Whether or not to include a legend  | 
inf.action | 
 How to deal with infinite values. Can be 'none', 'overlap' or 'jitter'  | 
violin.showpoints | 
 Wheteher or not to show individual points when making a violinplot  | 
frame_attr | 
 Which attribute of the dataframe to use for the time element of the animation  | 
symbol_attr | 
 Which attribute of the dataframe to use for the scatter symbol  | 
subplot_shareX | 
 Whether or not to share X-axis when using subplots  | 
line.step | 
 Whether to plot lines as a step-function (T) or as linear interpolation (F, default)  | 
... | 
 Additional parameters for the add_trace function  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.