Find subclusters under one cluster
FindSubCluster(
object,
cluster,
graph.name,
subcluster.name = "sub.cluster",
resolution = 0.5,
algorithm = 1
)
An object
the cluster to be sub-clustered
Name of graph to use for the clustering algorithm
the name of sub cluster added in the meta.data
Value of the resolution parameter, use a value above (below) 1.0 if you want to obtain a larger (smaller) number of communities.
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.
return a object with sub cluster labels in the sub-cluster.name variable