Will generate a trajectory using Embeddr.
This method was wrapped inside a container. The original code of this method is available here.
ti_embeddr(ndim = 2L, kernel = "nn", metric = "correlation", nn_pct = 0, eps = 0, t = 0, symmetrize = "mean", measure_type = "unorm", thresh = 0.001, maxit = 10L, stretch = 2, smoother = "smooth.spline", run_environment = NULL)
ndim | integer; Dimension of the embedded space, default is 2 (default:
|
---|---|
kernel | discrete; The choice of kernel. 'nn' will give nearest
neighbours, 'dist' gives minimum distance and'heat' gives a heat kernel.
Discussed in detail in 'Laplacian Eigenmaps and Spectral Techniques for
Embedding and Clustering',Belkin & Niyogi (default: |
metric | discrete; The metric with which to assess 'closeness' for nearest
neighbour selection, one of'correlation' (pearson) or 'euclidean'. Default is
'correlation'. (default: |
nn_pct | numeric; The percentage of cells to use as tge number of nearest
neighbours if kernel == 'nn'. (default: |
eps | numeric; Maximum distance parameter if kernel == 'dist' (default:
|
t | numeric; 'time' for heat kernel if kernel == 'heat' (default: |
symmetrize | discrete; How to make the adjacency matrix symmetric. Note that slightlycounterintuitively, node i having node j as a nearest neighbour doesn't guarantee nodej has node i. There are several ways to get round this:
(default: |
measure_type | discrete; Type of laplacian eigenmap, which corresponds to
the constraint on the eigenvalue problem. Iftype is 'unorm' (default), then the
graph measure used is the identity matrix, while if type is 'norm' then the
measureused is the degree matrix. (default: |
thresh | numeric; Convergence threshold on shortest distances to the
curve. (default: |
maxit | integer; Maximum number of iterations. (default: |
stretch | numeric; A factor by which the curve can be extrapolated
whenpoints are projected. Default is 2 (times the last segmentlength). The
default is 0 for |
smoother | discrete; Choice of smoother. The default
is |
run_environment | In which environment to run the method, can be |
A TI method wrapper to be used together with
infer_trajectory
Campbell, K., Ponting, C.P., Webber, C., 2015. Laplacian eigenmaps and principal curves for high resolution pseudotemporal ordering of single-cell RNA-seq profiles.