scTHI_plotPairs: scTHI_plotPairs

View source: R/scTHI_plotPairs.R

scTHI_plotPairsR Documentation

scTHI_plotPairs

Description

Generates a plot on the t-SNE coordinates to show the expression levels of an interaction pair of interest. Each cell is colored according to the corresponding gene expression value.

Usage

scTHI_plotPairs(scTHIresult, cexPoint = 0.8, interactionToplot)

Arguments

scTHIresult

scTHI object.

cexPoint

Set the point size.

interactionToplot

Interaction pair to plot.

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_plotPairs(result,interactionToplot = "CXCL12_CD4")

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