Learn R Programming

dynwrap (version 1.2.4)

create_ti_method_definition: Create a TI method from a local method definition file

Description

The local method definition file describes a method that is runnable on the local system. See vignette("create_ti_method_definition", "dynwrap") for a tutorial on how to create a containerized TI method.

Usage

create_ti_method_definition(definition, script, return_function = TRUE)

Value

A method definition

Arguments

definition

A definition, see definition()

script

Location of the script that will be executed. Has to contain a #!

return_function

Whether to return a function that allows you to override the default parameters, or just return the method meta data as is.

Examples

Run this code

# See the vignette "create_ti_method_definition" to get a good idea on how
# to use this function.

# create a definition.yaml file and a run.R/py script.
# method <- create_ti_method_definition("definition.yml", "run.R")
# trajectory <- infer_trajectory(example_dataset, method(), verbose = TRUE)

Run the code above in your browser using DataLab