scTHI_plotCluster {scTHI} | R Documentation |
Graphs the output of scTHI_runTsne, labeling cells by clusters.
scTHI_plotCluster(scTHIresult, cexPoint = 0.8, legendPos = c("topleft", "topright", "bottomright", "bottomleft"))
scTHIresult |
scTHI object. |
cexPoint |
Set the point size. |
legendPos |
Character string to custom the legend position. |
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) scTHI_plotCluster(result)