Add velocity to a dynwrap dataset
1 2 3 4 5 6 7 8 9 | add_velocity(
dataset,
spliced = dataset$expression,
unspliced = dataset$expression_unspliced,
mode = c("stochastic", "deterministic", "dynamical"),
n_neighbors = 20L,
velocity = get_velocity(spliced = spliced, unspliced = unspliced, mode = mode,
n_neighbors = n_neighbors)
)
|
dataset |
A dataset created by |
spliced |
Spliced expression matrix |
unspliced |
Unspliced expression matrix |
mode |
Whether to run the estimation using the deterministic or stochastic model of transcriptional dynamics. |
n_neighbors |
Number of neighbors to use. |
velocity |
The velocity object as generated by [get_velocity()]. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.