######################################### DO NOT EDIT! #########################################
#### This file is automatically generated from data-raw/2-generate_r_code_from_containers.R ####
################################################################################################
#' @title ElPiGraph - Cycle
#'
#' @description
#' Will generate a trajectory using [ElPiGraph -
#' Cycle](https://github.com/Albluca/ElPiGraph.R).
#'
#' This method was wrapped inside a
#' [container](https://github.com/dynverse/ti_elpicycle).
#' The original code of this method is available
#' [here](https://github.com/Albluca/ElPiGraph.R).
#'
#'
#'
#' @param NumNodes The number of nodes of the principal graph. Domain: U(2, 1000).
#' Default: 50. Format: integer.
#' @param NumEdges The maximum number of edges. Domain: e^U(0.69, 11.51). Default:
#' 100000. Format: integer.
#' @param InitNodes Number of points to include in the initial graph. Domain:
#' e^U(0.69, 6.91). Default: 2. Format: integer.
#' @param Mu Controls the elastic energy. Domain: e^U(-6.91, 0.00). Default: 0.1.
#' Format: numeric.
#' @param Lambda Controls the elastic energy. Domain: e^U(-6.91, 0.00). Default:
#' 0.01. Format: numeric.
#' @param MaxNumberOfIterations Maximum number of steps to embed the nodes.
#' Domain: e^U(0.00, 6.91). Default: 10. Format: integer.
#' @param eps Minimal relative change in the position of the nodes to stop
#' embedment. Domain: e^U(-6.91, 0.00). Default: 0.01. Format: numeric.
#' @param CenterData Should data and initial node positions be centered?. Default:
#' FALSE. Format: logical.
#'
#' @keywords method
#'
#' @return A TI method wrapper to be used together with
#' \code{\link[dynwrap:infer_trajectories]{infer_trajectory}}
#' @export
ti_elpicycle <- function(
NumNodes = 50L,
NumEdges = 100000L,
InitNodes = 2L,
Mu = 0.1,
Lambda = 0.01,
MaxNumberOfIterations = 10L,
eps = 0.01,
CenterData = FALSE
) {
method_choose_backend(
package_repository = NULL,
package_name = NULL,
function_name = NULL,
package_version = NULL,
container_id = "dynverse/ti_elpicycle:v0.9.9.01"
)(
NumNodes = NumNodes,
NumEdges = NumEdges,
InitNodes = InitNodes,
Mu = Mu,
Lambda = Lambda,
MaxNumberOfIterations = MaxNumberOfIterations,
eps = eps,
CenterData = CenterData
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.