Parameters for trajectory data generation
params_trajectory.RdParameters for trajectory data generation
Usage
params_trajectory(
topology = c("bifurcation", "linear", "combination"),
cell_trajectories = NULL,
noise = 0.1
)Arguments
- topology
Character. One of
c("bifurcation", "linear", "combination"). Ignored ifcell_trajectoriesis notNULL. Defaults to"bifurcation".- cell_trajectories
Optional list. 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. Must be a positive non-zero value. Defaults to
0.1.
Value
A list of parameters for use with manifold_synthetic_data().