A wrapper function which visualizes outputs from the
runTSCAN
function. Plots the pseudotime ordering of the cells
and project them onto the MST.
plotTSCANResults(inSCE, useReducedDim = "UMAP")
A .ggplot
object with the pseudotime ordering of the cells
colored on a cell 2D embedding, and the MST path drawn on it.
data("mouseBrainSubsetSCE", package = "singleCellTK")
mouseBrainSubsetSCE <- runTSCAN(inSCE = mouseBrainSubsetSCE,
useReducedDim = "PCA_logcounts")
#> Wed Apr 23 11:40:17 2025 ... Running 'scran SNN clustering' with 'louvain' algorithm
#> Wed Apr 23 11:40:18 2025 ... Identified 2 clusters
#> Wed Apr 23 11:40:18 2025 ... Running TSCAN to estimate pseudotime
#> Wed Apr 23 11:40:18 2025 ... Clusters involved in path index 2 are: 1, 2
#> Wed Apr 23 11:40:18 2025 ... Number of estimated paths is 1
plotTSCANResults(inSCE = mouseBrainSubsetSCE,
useReducedDim = "TSNE_logcounts")
#> Scale for colour is already present.
#> Adding another scale for colour, which will replace the existing scale.