PlotPseudoTime: Infer the pseudo-temporal ordering between the cell types...

Description Usage Arguments Value Examples

View source: R/PlotFunctions.R

Description

Infer the pseudo-temporal ordering between the cell types using the distance from a cell type to the predefined starting cell type.

Usage

1
2
3
4
5
6
7
8
PlotPseudoTime(
  S,
  TrueLabel,
  startPoint,
  fontSize = 12,
  dataName = "",
  sim = TRUE
)

Arguments

S

the similarity matrix calculated by SimS() function

TrueLabel

the real cell types used to indicate the vertical axis

startPoint

the posiition of the starting cell in the matrix

fontSize

the font size of the plot

dataName

the name of the data that will be showed in the plot

sim

indicate the input data is simialrity matrix or not

Value

PstudoTime

PseudoTimePlot ggplot object of the pseudo-temporal ordering of cells

Examples

1
2
3
4
gfData <- GenesFilter(yan[1:100,1:15])
TrueLabel <- ann$cell_type1[1:15]
res_SimS <- SimS(gfData)
PlotPseudoTime(res_SimS$S,TrueLabel,startPoint=1)

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