plotTSCANPseudotimeHeatmap | R Documentation |
A wrapper function which visualizes outputs from the
runTSCANDEG
function. Plots the top genes that change in
expression with increasing pseudotime along the path in the MST.
runTSCANDEG
has to be run in advance with using the same
pathIndex
of interest.
plotTSCANPseudotimeHeatmap(
inSCE,
pathIndex,
direction = c("both", "increasing", "decreasing"),
topN = 50,
log2fcThreshold = NULL,
useAssay = NULL,
featureDisplay = metadata(inSCE)$featureDisplay
)
inSCE |
Input SingleCellExperiment object. |
pathIndex |
Path index for which the pseudotime values should be used.
Should have being used in |
direction |
Should we show features with expression increasing or
decreeasing along the increase in TSCAN pseudotime? Choices are
|
topN |
An integer. Only to plot this number of top genes along the path
in the MST, in terms of FDR value. Use |
log2fcThreshold |
Only output DEGs with the absolute values of log2FC
larger than this value. Default |
useAssay |
A single character to specify a feature expression matrix in
|
featureDisplay |
Whether to display feature ID and what ID type to
display. Users can set default ID type by |
A ComplexHeatmap in .ggplot
class
Nida Pervaiz
data("mouseBrainSubsetSCE", package = "singleCellTK")
mouseBrainSubsetSCE <- runTSCAN(inSCE = mouseBrainSubsetSCE,
useReducedDim = "PCA_logcounts")
terminalNodes <- listTSCANTerminalNodes(mouseBrainSubsetSCE)
mouseBrainSubsetSCE <- runTSCANDEG(inSCE = mouseBrainSubsetSCE,
pathIndex = terminalNodes[1])
plotTSCANPseudotimeHeatmap(mouseBrainSubsetSCE,
pathIndex = terminalNodes[1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.