PlotPseudoTime | R Documentation |
Infer the pseudo-temporal ordering between the cell types using the distance from a cell type to the predefined starting cell type.
PlotPseudoTime(
S,
TrueLabel,
startPoint,
fontSize = 12,
dataName = "",
sim = TRUE
)
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 |
PstudoTime
PseudoTimePlot ggplot object of the pseudo-temporal ordering of cells
gfData <- GenesFilter(yan)
TrueLabel <- ann$cell_type1
res_SimS <- SimS(gfData)
PlotPseudoTime(res_SimS$S,TrueLabel,startPoint=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.