mlg_cluster: MLG clustering This function takes a list of low dimensional...

Description Usage Arguments Value

View source: R/mlg.R

Description

MLG clustering This function takes a list of low dimensional embedding data as input, and performs MLG clustering.

Usage

1
2
3
4
5
6
7
mlg_cluster(
  factor.list,
  knn.param = 20,
  prune.param = 1/5,
  cluster.resolution,
  cluster.algorithm = 1
)

Arguments

factor.list

A list that contains several low dimensional embedding data.

knn.param

The number of neighbors used to construct k-nearest-neighbot graph

prune.param

The prune parameter for SNN graph. There is an edge between cell i and j in the SNN graph, if the number of common neighbors between i and j exceeds the product of knn.param and knn.param.

cluster.resolution

The resolution number of modularity maximization.

cluster.algorithm

The clustering algorithm. 1–Louvain algorithm; 2–Louvain algorithm with multilevel refinement; 3–SLM algorithm.

Value

A vector of cluster labels.


shanlu01/mlg documentation built on Oct. 20, 2020, 6:36 a.m.