scTHI_plotCluster: scTHI_plotCluster

View source: R/scTHI_plotCluster.R

scTHI_plotClusterR Documentation

scTHI_plotCluster

Description

Graphs the output of scTHI_runTsne, labeling cells by clusters.

Usage

scTHI_plotCluster(scTHIresult, cexPoint = 0.8, legendPos = c("topleft",
  "topright", "bottomright", "bottomleft"))

Arguments

scTHIresult

scTHI object.

cexPoint

Set the point size.

legendPos

Character string to custom the legend position.

Value

None

Examples

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)

miccec/scTHI documentation built on April 21, 2023, 12:40 p.m.