bubblesort_index: Bubblesort Index

Description Usage Arguments Examples

Description

It calculates the bubblesort index of the ordered cells. Evaluation in the range of [0, 1] with 1 being perfectly aligned.

Usage

1
bubblesort_index(cell_labels_int, pseudotime, order = F)

Arguments

cell_labels_int

The cell type labels written in terms of int, with ordering of cell types. For example, qNSC -> aNSC -> NPC becomese 1 -> 2 -> 3.

pseudotime

The pseudo time / order index calculated from various softwares.

order

Defaults to FALSE for input of pseudo-time, TRUE for input of an order index of cells

Examples

1
bs <- bubblesort_index(cell_labels_int, redpath_pseudotime, order = F) 

tinglab/redPATH documentation built on May 31, 2019, 10:37 a.m.