| plot_model_comparison_dotplot | R Documentation | 
Overview dotplot to compare screening results of selected models.
plot_model_comparison_dotplot(
  data,
  eval = "mae",
  pval = "p_value",
  model_subset = NULL,
  model_remove = NULL,
  scale_factor = 1,
  pt_size = 1.5,
  label_vars = 2,
  label_size = 4,
  threshold_pval = 0.05,
  label_color = "#4d4d4d"
)
| data | Output of  | 
| model_remove | (Optional) A character vector specifying models to remove from the plot. | 
| scale_factor | A numeric value to scale the point sizes. Default is 1. | 
| pt_size | The size of the points in the plot. Default is 0.1. | 
| label_vars | The number of top variables to label for each model. Default is 2. | 
| label_size | The size of the labels. Default is 4. | 
| threshold_pval | The p-value threshold for coloring points. Default is 0.05. | 
| label_color | The color of labels. Default is "#4d4d4d". | 
| x_label | The label for the x-axis. Default is "Gene-model correlation". | 
A dotplot comparing model screening results.
# Example usage:
pl <- plot_model_comparison_dotplot(screening_1@results, model_remove = c("peak"), label_vars = 3)
pl + coord_cartesian(xlim = c(0.5, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.