View source: R/VarID_functions.R
pseudoTime | R Documentation |
Extract pseudo-time order of cells along a trajectory defined by a set of clusters using the slingshot algorithm. If the slingshot package is unavailable, the function falls back to inference by principal curve analysis using the princurve package.
pseudoTime(
object,
set,
m = NULL,
useSlingshot = TRUE,
map = "umap",
x = NULL,
n_neighbors = 15,
metric = "euclidean",
n_epochs = 200,
min_dist = 0.1,
local_connectivity = 1,
spread = 1,
initial_cmd = TRUE,
perplexity = 30,
rseed = 15555,
...
)
object |
RaceID |
set |
Set of valid ordered cluster numbers (in |
m |
Existing dimensional reduction representation of RaceID object. Either |
useSlingshot |
logical. If |
map |
Either |
x |
Optional feature matrix, which will be directly used for computation of the dimensional reduction representation. Default is NULL and |
n_neighbors |
Umap parameter (used if |
metric |
Umap parameter (used if |
n_epochs |
Umap parameter (used if |
min_dist |
Umap parameter (used if |
local_connectivity |
Umap parameter (used if |
spread |
Umap parameter (used if |
initial_cmd |
logical. t-SNE parameter (used if |
perplexity |
Positive number. t-SNE parameter (used if |
rseed |
Integer number. Random seed to enforce reproducible dimensional reduction computation. |
... |
Additional arguments to be passed to the |
List object of six components:
pt |
Vector of pseudo-time value obtained by slingshot. |
ord |
Vector of cells in |
set |
Vector of cluster numbers defining the trajectory used for pseudo-time inference. |
part |
Vector of cluster numbers of all cells in |
rd |
Two-dimensional matrix with x- and y-coordinates of dimensional reduction representation used for |
sls |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.