Description Usage Arguments Details Value
View source: R/functions_ordering.R
Order Components by PseudoTime
1 2 | ptorder(component, cell_metadata = cell_data, threshold = 2,
side = "both")
|
component |
string; Component name as in cell_data |
cell_metadata |
data.table with columns cell, PseudoTime, and components V1, V2 etc. |
threshold |
numeric; value below which cells will not count towards the ordering of the component |
The order is determined by using a weighted mean of the pseudotime values, where the weights are the cell scores of the component. Only cells with an absolute cell score of greater than 2 contribute to the mean.
weighted mean of pseudotime for a given component
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.