plotTSCANClusterDEG | R Documentation |
runTSCANClusterDEAnalysis
on
cell 2D embedding with MST overlaidA wrapper function which plot the top features expression
identified by runTSCANClusterDEAnalysis
on the 2D embedding of
the cells cluster used in the analysis. The related MST edges are overlaid.
plotTSCANClusterDEG(
inSCE,
useCluster,
pathIndex = NULL,
useReducedDim = "UMAP",
topN = 9,
useAssay = NULL,
featureDisplay = metadata(inSCE)$featureDisplay,
combinePlot = c("all", "none")
)
inSCE |
Input SingleCellExperiment object. |
useCluster |
Choose a cluster used for identifying DEG with
|
pathIndex |
Specifies one of the branching paths from |
useReducedDim |
A single character for the matrix of 2D embedding.
Should exist in |
topN |
Integer. Use top N genes identified. Default |
useAssay |
A single character for the feature expression matrix. Should
exist in |
featureDisplay |
Specify the feature ID type to display. Users can set
default value with |
combinePlot |
Must be either |
A .ggplot
object of cell scatter plot, colored by the
expression of a gene identified by runTSCANClusterDEAnalysis
,
with the layer of trajectory.
Yichen Wang
data("mouseBrainSubsetSCE", package = "singleCellTK")
mouseBrainSubsetSCE <- runTSCAN(inSCE = mouseBrainSubsetSCE,
useReducedDim = "PCA_logcounts")
mouseBrainSubsetSCE <- runTSCANClusterDEAnalysis(inSCE = mouseBrainSubsetSCE,
useCluster = 1)
plotTSCANClusterDEG(mouseBrainSubsetSCE, useCluster = 1,
useReducedDim = "TSNE_logcounts")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.