getLineage: Infer the development lineage based on the clustering results...

Description Usage Arguments Value Examples

View source: R/PlotFunctions.R

Description

Infer the development lineage based on the clustering results from RCSL and the pseudotime

Usage

1
getLineage(drData, clustRes, pseudoTime, simMeasure = "kendall")

Arguments

drData

preprocessed gene expression data (each column represent a cell)

clustRes

the clustering results identified by RCSL

pseudoTime

inferred by PlotPseudoTime() using the similarity matrix S and starting cell

simMeasure

the calculation method of measuring the cluster centers' similarity

Value

lineage the cell lineages connected all the cluster centers based on the clustering results from RCSL

Examples

1
2
3
4
5
6
7
gfData <- GenesFilter(yan[1:100,1:15])
TrueLabel <- ann$cell_type1[1:15]
res_SimS <- SimS(gfData)
C <- EstClusters(res_SimS$drData,res_SimS$S)
res_BDSM <- BDSM(res_SimS$S,C)
Pseudo <- PlotPseudoTime(res_SimS$S,TrueLabel,startPoint=1)
getLineage(res_SimS$drData,res_BDSM$y,Pseudo$pseudoTime)

RCSL documentation built on April 19, 2021, 9:06 a.m.