Learn R Programming

dyngen (version 1.0.5)

plot_gold_simulations: Visualise the simulations using the dimred

Description

Visualise the simulations using the dimred

Usage

plot_gold_simulations(
  model,
  detailed = FALSE,
  mapping = aes_string("comp_1", "comp_2"),
  highlight = 0
)

Value

A ggplot2 object.

Arguments

model

A dyngen intermediary model for which the simulations have been run with generate_cells().

detailed

Whether or not to colour according to each separate sub-edge in the gold standard.

mapping

Which components to plot.

highlight

Which simulation to highlight. If highlight == 0 then the gold simulation will be highlighted.

Examples

Run this code
data("example_model")
plot_gold_simulations(example_model)

Run the code above in your browser using DataLab