View source: R/method_create_ti_method_definition.R
create_ti_method_definition | R Documentation |
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.
create_ti_method_definition(definition, script, return_function = TRUE)
definition |
A definition, see |
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. |
A method definition
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.