Learn R Programming

dyngen (version 1.0.5)

plot_gold_expression: Visualise the expression of the gold standard over simulation time

Description

Visualise the expression of the gold standard over simulation time

Usage

plot_gold_expression(
  model,
  what = c("mol_premrna", "mol_mrna", "mol_protein"),
  label_changing = TRUE
)

Value

A ggplot2 object.

Arguments

model

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

what

Which molecule types to visualise.

label_changing

Whether or not to add a label next to changing molecules.

Examples

Run this code
data("example_model")
plot_gold_expression(example_model, what = "mol_mrna", label_changing = FALSE)

Run the code above in your browser using DataLab