Will generate a trajectory using URD.
This method was wrapped inside a container. The original code of this method is available here.
ti_urd(knn = 0L, sigma.use = 0, distance = "euclidean", n_floods = 20L, stability.div = 10L, mp.factor = 1L, perplexity = 30L, theta = 0.5, max_iter = 1000L, num.nn = 30L, do.jaccard = TRUE, optimal.cells.forward = 20L, max.cells.back = 40L, n.per.tip = 25000L, root.visits = 1L, max.steps = 25000L, n.subsample = 10L, divergence.method = "ks", cells.per.pseudotime.bin = 80L, bins.per.pseudotime.window = 5L, p.thresh = 0.01, run_environment = NULL)
knn | integer; Number of nearest neighbors to use. |
---|---|
sigma.use | numeric; Kernel width to use for the diffusion map. |
distance | discrete; Distance metric to use for determining transition
probabilities. (default: |
n_floods | integer; Number of simulations to perform and average.
(default: |
stability.div | numeric; Number of simulation subsamplings to calculate.
(default: |
mp.factor | numeric; Retain PCs than are this factor more than the
estimated maximum singular value expected or random data. This is useful in
cases when there are many PCs that have standard deviations just above that
expected by random, which probably represent noise and should be excluded.
(default: |
perplexity | numeric; Perplexity parameter for the tSNE. (default: |
theta | numeric; Speed/accuracy trade-off for Barnes-Hut approximation of
tSNE. 0 is exact tSNE, higher is less accurate. (default: |
max_iter | integer; Number of nearest neighbors to use. |
num.nn | integer; How many nearest-neighbors to use in the k-nn graph.
(default: |
do.jaccard | logical; Weight edges in the k-nn graph according to their Jaccard overlap? |
optimal.cells.forward | numeric; The number of cells in the direction
specified by pseudotime.direction at which the logistic should reach
1-asymptote. (default: |
max.cells.back | numeric; The number of cells in the direction opposite
from that specified by pseudotime.direction at which the logistic should reach
asymptote. (default: |
n.per.tip | integer; Number of walks to do per tip. (default: |
root.visits | integer; Number of steps to take that visit a root.cell
before stopping. (default: |
max.steps | integer; Number of walks to do per tip. (default: |
n.subsample | integer; Number of subsamplings to perform for calculating
stability. (default: |
divergence.method | discrete; Distance metric to use for determining
transition probabilities. (default: |
cells.per.pseudotime.bin | integer; Approximate number of cells to assign
to each pseudotime bin for branchpoint finding. (default: |
bins.per.pseudotime.window | integer; Width of moving window in pseudotime
used for branchpoint finding, in terms of bins. (default: |
p.thresh | numeric; P-value threshold to use in determining whether
visitation is significantly different from pairs of tips (default: |
run_environment | In which environment to run the method, can be |
A TI method wrapper to be used together with
infer_trajectory
Farrell, J.A., Wang, Y., Riesenfeld, S.J., Shekhar, K., Regev, A., Schier, A.F., 2018. Single-cell reconstruction of developmental trajectories during zebrafish embryogenesis. Science 360, eaar3131.