ptorder: Order Components by PseudoTime

Description Usage Arguments Details Value

View source: R/functions_ordering.R

Description

Order Components by PseudoTime

Usage

1
2
ptorder(component, cell_metadata = cell_data, threshold = 2,
  side = "both")

Arguments

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

Details

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.

Value

weighted mean of pseudotime for a given component


MyersGroup/testisAtlas documentation built on Nov. 29, 2020, 9:21 p.m.