runLeiden | R Documentation |
Run Leiden algorithm as graph-based clustering.
runLeiden( kmat, path_to_python = NULL, reso = 0.8, seed = 10, partitionType = "RB" )
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 |
vector of factor, cluster index for cells
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.