TSCANorder: TSCANorder

Description Usage Arguments Details Value Author(s) Examples

View source: R/TSCANorder.R

Description

Construct TSCAN order after exprmclust

Usage

1
TSCANorder(mclustobj, MSTorder = NULL, orderonly = T, flip = F, listbranch = F)

Arguments

mclustobj

The exact output of the exprmclust function.

MSTorder

A numeric vector specifying the order of clusters.

orderonly

Only return the ordering. State or pseudotime information will not be returned

flip

whether to flip the ordering

listbranch

whether to list the ordering results of all possible branches in MST. Only works if MSTorder in NULL.

Details

This function takes the exact output of exprmclust function and construct TSCAN order by mapping all cells onto the path that connects cluster centers. Users can also specify their own path.

Value

if orderonly = F, a vector of ordered cell names. if orderonly = T, a data frame of ordered cell names, cell states and pseudotime.

Author(s)

Zhicheng Ji, Hongkai Ji <zji4@zji4.edu>

Examples

1
2
3
4
data(lpsdata)
procdata <- preprocess(lpsdata)
lpsmclust <- exprmclust(procdata)
TSCANorder(lpsmclust)

TSCAN documentation built on Nov. 8, 2020, 5:13 p.m.