Skip to contents

Takes a region, extracts a specified NN graph by name, and returns graph clustering via the Louvain algorithm

Usage

cluster_louvain.region(
  object,
  nn.name = "umap",
  col.name = ".clusters",
  cluster.resolution = 50,
  ...
)

Arguments

object

A Region object

nn.name

The name of the NN object to cluster from

col.name

The name of the column containing cluster assignments to add to Regions' cellMetadata

cluster.resolution

The resolution parameter.

...

Additional parameters passed to clustering functions

Scroll to top