Description Usage Arguments Value Examples
View source: R/PlotFunctions.R
Infer the pseudo-temporal ordering between the cell types using the distance from a cell type to the predefined starting cell type.
1 2 3 4 5 6 7 8 | 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
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.