View source: R/findCurves_method.R
find_curve | R Documentation |
Find pseudo-time curve using the princurve library, given the gene path. Alternative to the findPaths method.
find_curve( object, metadata, column, population_sequence, dims.use, reduction.type )
object |
CellRouter object. |
metadata |
data frame; metadata table with cell annotations. |
column |
character; column in the metadata table specifying whether transitions are between clusters or other annotations, such as sorted populations. |
population_sequence |
list of character vectors; the ordered sequence of the populations that will be used to calculate the curve. |
dims.use |
numeric vector; the number of dimensions to use. |
reduction.type |
character; the dimension reduction space to be used: pca, tsne, DC of diffusion components, umap, or custom. |
data frame; the cells, their distance from the origin of the curve, and the curve they belong.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.