View source: R/method_create_ti_method_container.R
create_ti_method_container | R Documentation |
These functions create a TI method from a container using babelwhale
. Supports both docker and singularity as a backend. See vignette("create_ti_method_container", "dynwrap")
for a tutorial on how to create a containerized TI method.
create_ti_method_container(
container_id,
pull_if_needed = TRUE,
return_function = TRUE
)
container_id |
The name of the container repository (e.g. |
pull_if_needed |
Pull the container if not yet available. |
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 function that can be used to adapt the parameters of the method. This functions returns a list containing all metadata of the method, and can be used to infer a trajectory
vignette("create_ti_method_container", "dynwrap")
library(babelwhale)
# only run if docker works on this platform
if (test_docker_installation()) {
method <- create_ti_method_container("dynverse/ti_angle")
trajectory <- infer_trajectory(example_dataset, method())
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.