dynamo.vf.Wang_LAP

dynamo.vf.Wang_LAP(F, n_points, point_start, point_end, D=0.1, lambda_=1)[source]

Calculating least action path based methods from Jin Wang and colleagues (http://www.pnas.org/cgi/doi/10.1073/pnas.1017017108)

Parameters:
  • F (Callable) – The reconstructed vector field function

  • n_points (int) – The number of points along the least action path.

  • point_start (ndarray) – The matrix for storing the coordinates (gene expression configuration) of the start point (initial cell state).

  • point_end (ndarray) – The matrix for storing the coordinates (gene expression configuration) of the end point (terminal cell state).

  • D (float) – The diffusion constant. Note that this can be a space-dependent matrix.

  • lamada – Regularization parameter

Return type:

OptimizeResult

Returns:

The least action path and the action way of the inferred path.