Run a method on a dataset with a set of parameters

execute_method_on_dataset(dataset, method, parameters = list(),
  give_priors = NULL, mc_cores = 1, verbose = FALSE,
  capture_output = FALSE)

Arguments

dataset

The dataset

method

One or more methods. Must be one of:

  • an object or list of ti_... objects (eg. ti_comp1())

  • a character vector containing the names of methods to execute (e.g. "scorpius"), or

  • a dynguidelines data frame.

parameters

A set of parameters to be used during trajectory inference. A parameter set must be a named list of parameters. If multiple methods were provided in the method parameter, parameters must be an unnamed list of the same length.

give_priors

All the priors a method is allowed to receive. Must be a subset of all available priors (priors).

mc_cores

The number of cores to use, allowing to parallellise the different datasets

verbose

Whether or not to print information output

capture_output

Whether to capture the stdout and stderr produced by a method