reducedDimSNF: reducedDimSNF

Description Usage Arguments Value Examples

View source: R/clustering.R

Description

A function to reduce the dimension of the similarity matrix

Usage

1
reducedDimSNF(sce, metadata = "SNF_W", method = "UMAP", dimNames = NULL, ...)

Arguments

sce

A singlecellexperiment object

metadata

indicates the meta data name of affinity matrix to virsualise

method

the method of visualisation, which can be UMAP, tSNE and diffusion map

dimNames

indicates the name of the reduced dimension results.

...

other parameters for tsne(), umap()

Value

A SingleCellExperiment object

Examples

1
2
3
4
5
data(sce_control_subset, package = "CiteFuse")
sce_control_subset <- CiteFuse(sce_control_subset)
sce_control_subset <- reducedDimSNF(sce_control_subset,
method = "tSNE",
dimNames = "tSNE_joint")

CiteFuse documentation built on April 14, 2021, 6 p.m.