Description Usage Arguments Value
Calculates distance between cells in gene expression space. Can be passed to tipPotential
.
1 2 3 4 5 | cellDistByExpression(
object,
genes.use = object@var.genes,
return.as.matrix = T
)
|
object |
An URD object |
genes.use |
(Character vector) Which genes to use for distance calculation (default: variable genes. NULL is all genes) |
return.as.matrix |
(Logical) Return value as a matrix (memory hungry, but used for other URD functions) or as a dist object. |
Returns the distance between cells in gene expression space, either as a matrix
(if return.as.matrix=T
) or a dist object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.