find_pseudotime | R Documentation |
This function finds the pseudotime corresponding to a given sample point.
find_pseudotime(sample.point, pseudotime)
sample.point |
A numeric vector representing the sample point. |
pseudotime |
A matrix or data frame containing pseudotime values. |
The index of the pseudotime corresponding to the closest match to the given sample point.
sample.point <- c(0.5, 0.3, 0.7)
pseudotime <- matrix(c(0.1, 0.4, 0.8, 0.2, 0.3, 0.6), ncol = 3)
find_pseudotime(sample.point, pseudotime)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.