scTHI_runTsne: scTHI_runTsne

Description Usage Arguments Value Examples

View source: R/scTHI_runTsne.R

Description

Runs t-SNE dimensionality reduction on selected features based on Rtsne package.

Usage

1
scTHI_runTsne(scTHIresult)

Arguments

scTHIresult

scTHI object.

Value

The same object as scTHI_score with a fifth item tsneData (data.frame)

Examples

1
2
3
4
5
6
7
8
9
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 documentation built on Nov. 8, 2020, 7:37 p.m.