params_trajectory: Parameters for trajectory data generation

View source: R/params-generated.R

params_trajectoryR Documentation

Parameters for trajectory data generation

Description

For use with manifold_synthetic_data().

Usage

params_trajectory(
  topology = c("bifurcation", "linear", "combination"),
  cell_trajectories = NULL,
  noise = 0.1
)

Arguments

topology

String. Ignored if cell_trajectories is not NULL. One of c("bifurcation", "linear", "combination"). Defaults to "bifurcation".

cell_trajectories

Any. Optional named list with three equal-length vectors: parent (integer, NA for root, zero-indexed), split_at (numeric, fraction along parent where branch starts), and length (numeric, length of the branch). If NULL, topology is used instead. Defaults to NULL.

noise

Numeric. Amount of noise to add. Defaults to 0.1.

Value

A named list with the following elements:

  • topology - String. Ignored if cell_trajectories is not NULL. One of c("bifurcation", "linear", "combination"). Defaults to "bifurcation".

  • cell_trajectories - Any. Optional named list with three equal-length vectors: parent (integer, NA for root, zero-indexed), split_at (numeric, fraction along parent where branch starts), and length (numeric, length of the branch). If NULL, topology is used instead. Defaults to NULL.

  • noise - Numeric. Amount of noise to add. Defaults to 0.1.

Examples

params_trajectory()

manifoldsR documentation built on Nov. 17, 2026, 5:09 p.m.