visualiseKNN: visualiseKNN

Description Usage Arguments Value Examples

View source: R/clustering.R

Description

A function to perform louvain clustering

Usage

1
visualiseKNN(sce, colour_by = NULL, metadata = "SNF_W")

Arguments

sce

A singlecellexperiment object

colour_by

the name of coldata that is used to colour the node

metadata

indicates the meta data name of affinity matrix to virsualise

Value

A igraph plot

Examples

1
2
3
4
5
data(sce_control_subset, package = "CiteFuse")
sce_control_subset <- CiteFuse(sce_control_subset)
SNF_W_louvain <- igraphClustering(sce_control_subset,
method = "louvain")
visualiseKNN(sce_control_subset, colour_by = "SNF_W_louvain")

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