powered by
This function contains the complete pipeline for generating a dataset with dyngen. In order to have more control over how the dataset is generated, run each of the steps in this function separately.
generate_dataset( model, output_dir = NULL, make_plots = FALSE, store_dimred = model$simulation_params$compute_dimred, store_cellwise_grn = model$simulation_params$compute_cellwise_grn, store_rna_velocity = model$simulation_params$compute_rna_velocity )
A dyngen initial model created with initialise_model().
initialise_model()
If not NULL, then the generated model and dynwrap dataset will be written to files in this directory.
NULL
Whether or not to generate an overview of the dataset.
Whether or not to store the dimensionality reduction constructed on the true counts.
Whether or not to also store cellwise GRN information.
WHether or not to store the log propensity ratios.
A list containing a dyngen model (li$model) and a dynwrap dataset (li$dataset).
li$model
li$dataset
# NOT RUN { out <- initialise_model( backbone = backbone_bifurcating() ) %>% generate_dataset() model <- out$model dataset <- out$dataset # }
Run the code above in your browser using DataLab