Learn R Programming

Seurat (version 4.3.0.1)

FindSubCluster: Find subclusters under one cluster

Description

Find subclusters under one cluster

Usage

FindSubCluster(
  object,
  cluster,
  graph.name,
  subcluster.name = "sub.cluster",
  resolution = 0.5,
  algorithm = 1
)

Value

return a object with sub cluster labels in the sub-cluster.name variable

Arguments

object

An object

cluster

the cluster to be sub-clustered

graph.name

Name of graph to use for the clustering algorithm

subcluster.name

the name of sub cluster added in the meta.data

resolution

Value of the resolution parameter, use a value above (below) 1.0 if you want to obtain a larger (smaller) number of communities.

algorithm

Algorithm for modularity optimization (1 = original Louvain algorithm; 2 = Louvain algorithm with multilevel refinement; 3 = SLM algorithm; 4 = Leiden algorithm). Leiden requires the leidenalg python.