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 (Function) – The reconstructed vector field function

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

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

  • point_end ('np.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 (float) – Regularization parameter

Returns

Return type

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