visualiseKNN | R Documentation |
A function to perform louvain clustering
visualiseKNN(sce, colour_by = NULL, metadata = "SNF_W")
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 |
A igraph plot
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.