Will generate a trajectory using Mpath.

This method was wrapped inside a container. The original code of this method is available here.

ti_mpath(distMethod = "euclidean", method = "kmeans",
  numcluster = 11L, numcluster_null = TRUE, diversity_cut = 0.6,
  size_cut = 0.05, run_environment = NULL)

Arguments

distMethod

discrete; The method for calculating dissimilarity between cells. distMethod can be one of "pearson", "kendall", "spearman" or "euclidean". Default is "euclidean". (default: "euclidean"; values: "pearson", "kendall", "spearman", "euclidean")

method

discrete; Method for distinguishing landmark clusters from non-landmark clusters.method can be "kmeans" or "diversity" or "size" or "diversity_size". When method="diversity", numlm needs to be specified. Default is "diversity_size". (default: "kmeans"; values: "kmeans", "diversity", "size", "diversity_size")

numcluster

integer; Number of initial clusters (default: 11L; range: from 3L to 30L)

numcluster_null

logical; If TRUE, will automatically select the number of clusters

diversity_cut

numeric; The cutoff value of diversity for differentiating landmark clusters from non-landmark clusters. The diversity of a landmark cluster must be below this cutoff. (default: 0.6; range: from 0.1 to 1)

size_cut

numeric; The cutoff value of size i.e. number of cells for differentiating landmark clusters from non-landmark clusters. The number of cells in a landmark cluster must be greater than this cutoff. (default: 0.05; range: from 0.01 to 1)

run_environment

In which environment to run the method, can be "docker" or "singularity".

Value

A TI method wrapper to be used together with infer_trajectory

References

Chen, J., Schlitzer, A., Chakarov, S., Ginhoux, F., Poidinger, M., 2016. Mpath maps multi-branching single-cell trajectories revealing progenitor cell progression during development. Nature Communications 7, 11988.