
Parameters for trajectory data generation
params_trajectory.RdFor 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_trajectoriesis notNULL. One ofc("bifurcation", "linear", "combination"). Defaults to"bifurcation".- cell_trajectories
Any. Optional named list with three equal-length vectors:
parent(integer,NAfor root, zero-indexed),split_at(numeric, fraction along parent where branch starts), andlength(numeric, length of the branch). IfNULL,topologyis used instead. Defaults toNULL.- noise
Numeric. Amount of noise to add. Defaults to
0.1.
Value
A named list with the following elements:
topology - String. Ignored if
cell_trajectoriesis notNULL. One ofc("bifurcation", "linear", "combination"). Defaults to"bifurcation".cell_trajectories - Any. Optional named list with three equal-length vectors:
parent(integer,NAfor root, zero-indexed),split_at(numeric, fraction along parent where branch starts), andlength(numeric, length of the branch). IfNULL,topologyis used instead. Defaults toNULL.noise - Numeric. Amount of noise to add. Defaults to
0.1.