TME_plot | R Documentation |
Generates a plot on the t-SNE coordinates, labeling cells by TME classification.
TME_plot(tsneData, Class, cexPoint = 0.8)
tsneData |
X and y coordinates of points in the plot. |
Class |
Object returned by TME_classification function. |
cexPoint |
Set the point size. |
None
library(scTHI.data)
data(scExample)
result <- scTHI_score(scExample,
cellCusterA = colnames(scExample)[1:30],
cellCusterB = colnames(scExample)[31:100],
cellCusterAName = "ClusterA",
cellCusterBName = "ClusterB", filterCutoff = 0,
pvalueCutoff = 1, nPermu = 100, ncore = 8)
result <- scTHI_runTsne(result)
Class <- TME_classification(scExample)
TME_plot(tsneData = result$tsneData, Class)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.