dynverse / dyno

Inferring, interpreting and visualising trajectories using a streamlined set of packages 🦕
https://dynverse.github.io/dyno
Other
167 stars 32 forks source link

Dr #75

Closed subkhankul closed 4 years ago

subkhankul commented 4 years ago

Dear All, Even if I try to use a demo version I constantly have an error: data("fibroblast_reprogramming_treutlein")

dataset <- wrap_expression(

  • counts = fibroblast_reprogramming_treutlein$counts,
  • expression = fibroblast_reprogramming_treutlein$expression
  • ) guidelines <- guidelines_shiny(dataset)

Listening on http://0.0.0.0:4140 Warning: All elements of ... must be named. Did you want renderers = c(column_id, renderer, label, title, style, default, name, trajectory_type, category_old, scaling_type)? Code to reproduce the guidelines, copy it over to your script!

Reproduces the guidelines as created in the shiny app

answers <- dynguidelines::answer_questions( multiple_disconnected = NULL, expect_topology = NULL, expected_topology = NULL, n_cells = 392, n_features = 2000, memory = "2GB", prior_information = c("start_id", "end_id", "end_n", "start_n", "leaves_n", "groups_n", "features_id"), method_selection = "fixed_n_methods", metric_importance = list(correlation = 0.27, him = 0.28, featureimp_wcor = 0.23, F1_branches = 0.23), docker = FALSE ) guidelines <- dynguidelines::guidelines(answers = answers)

methods_selected <- guidelines$methods_selected model <- infer_trajectory(dataset, first(methods_selected)) ### Error in match.arg(backend, choices = c("docker", "singularity")) : 'arg' should be one of “docker”, “singularity”

What am I doing wrong? I am using Mac OS with Rsrudio Version 1.2.1335. Many thanks in advance