dynverse / dyngen

Simulating single-cell data using gene regulatory networks 📠
https://dyngen.dynverse.org
Other
73 stars 6 forks source link

rstudio crashes when running dyngen #41

Open Pinolinoo opened 2 years ago

Pinolinoo commented 2 years ago

Dear all,

I tried running dyngen on my Mac with OS 11.5.2. However after installing dyngen following the instructions and then running one of the example backbones Rstudio crashes completely.

Has someone else had this problem and how can I fix it?

I am running on R version 4.1.0. Here is the code I used:

set.seed(1)
library("dyngen")
backbone <- backbone_linear()

init <- initialise_model(
  backbone = backbone,
  num_cells = 500,
  num_tfs = 100,
  num_targets = 0,
  num_hks = 0,
  simulation_params = simulation_default(census_interval = 10, ssa_algorithm = ssa_etl(tau = 300 / 3600)),
  verbose = FALSE
)
out <- generate_dataset(init, make_plots = TRUE)
out$plot 

the crash occurs when running out <- generate_dataset(init, make_plots = TRUE) after the first bar runs through

thanks in advance, philipp