runLeiden: Run Leiden algorithm as graph-based clustering.

View source: R/Clustering.R

runLeidenR Documentation

Run Leiden algorithm as graph-based clustering.

Description

Run Leiden algorithm as graph-based clustering.

Usage

runLeiden(
  kmat,
  path_to_python = NULL,
  reso = 0.8,
  seed = 10,
  partitionType = "RB"
)

Arguments

kmat

sparseMatrix, KNN matrix generated by runKNN.

reso

double, resolution param in Leiden default is 0.8

seed

integer, used for Leiden

partitionType

string, used for Leiden, default is "RB"

path_to_ptyhon

string

Value

vector of factor, cluster index for cells


beyondpie/smmtools documentation built on July 1, 2022, 4:33 a.m.