generate_gold_standard: Simulate the gold standard

View source: R/5_gold_standard.R

generate_gold_standardR Documentation

Simulate the gold standard

Description

generate_gold_standard() runs simulations in order to determine the gold standard of the simulations. gold_standard_default() is used to configure parameters pertaining this process.

Usage

generate_gold_standard(model)

gold_standard_default(
  tau = 30/3600,
  census_interval = 10/60,
  simulate_targets = FALSE
)

Arguments

model

A dyngen intermediary model for which the kinetics of the feature network has been generated with generate_kinetics().

tau

The time step of the ODE algorithm used to generate the gold standard.

census_interval

A granularity parameter of the gold standard time steps. Should be larger than or equal to tau.

simulate_targets

Also simulate the targets during the gold standard simulation

Value

A dyngen model.

See Also

dyngen on how to run a complete dyngen simulation

Examples

model <- 
  initialise_model(
    backbone = backbone_bifurcating(),
    gold_standard = gold_standard_default(tau = .01, census_interval = 1)
  )


data("example_model")
model <- example_model %>% generate_gold_standard()
  
plot_gold_simulations(model)
plot_gold_mappings(model)
plot_gold_expression(model)


dyngen documentation built on Oct. 12, 2022, 5:06 p.m.