R/plotTSNE.R
plotTSNE.Rd
Plot t-SNE plot on dimensionality reduction data run from t-SNE method.
plotTSNE(
inSCE,
colorBy = "No Color",
shape = "No Shape",
reducedDimName = "TSNE",
runTSNE = FALSE,
useAssay = "logcounts"
)
Input SCtkExperiment object. Required
color by condition.
add shape to each distinct label.
a name to store the results of the dimension reduction coordinates obtained from this method. This is stored in the SingleCellExperiment object in the reducedDims slot. Required.
Run t-SNE if the reducedDimName does not exist. the Default is FALSE.
Indicate which assay to use. The default is "logcounts".
A t-SNE plot
data("mouseBrainSubsetSCE")
plotTSNE(mouseBrainSubsetSCE, colorBy = "level1class",
reducedDimName = "TSNE_counts")