scran_graph_cluster
Graph-based clustering of cells
|
Options for cluster_leiden()
.
More...
#include <cluster_leiden.hpp>
Public Attributes | |
double | resolution = 1 |
double | beta = 0.01 |
int | iterations = 2 |
bool | modularity = false |
bool | report_quality = true |
int | seed = 42 |
Options for cluster_leiden()
.
double scran_graph_cluster::ClusterLeidenOptions::resolution = 1 |
Resolution of the clustering. Larger values result in more fine-grained communities. The default is based on ?cluster_leiden
in the igraph R package.
double scran_graph_cluster::ClusterLeidenOptions::beta = 0.01 |
Level of randomness used during refinement. The default is based on ?cluster_leiden
in the igraph R package.
int scran_graph_cluster::ClusterLeidenOptions::iterations = 2 |
Number of iterations of the Leiden algorithm. More iterations can improve separation at the cost of computational time. The default is based on ?cluster_leiden
in the igraph R package.
Whether to optimize the modularity instead of the Constant Potts Model. The two are closely related but the magnitude of the resolution is different. The default is based on ?cluster_leiden
in the igraph R package.
Whether to report the quality of the clustering in Results::quality
.
int scran_graph_cluster::ClusterLeidenOptions::seed = 42 |
Seed for the igraph random number generator.