RunClassification {IRISFGM} | R Documentation |
This function is based on Seurat package.
RunClassification(object, ...) .runClassification( object, dims = seq_len(15), k.param = 20, resolution = 0.6, algorithm = 1 ) ## S4 method for signature 'IRISFGM' RunClassification( object, dims = seq_len(15), k.param = 20, resolution = 0.6, algorithm = 1 )
object |
input IRIS-FGM object. |
... |
other arguments passed to methods |
dims |
Dimensions of reduction to use as input. |
k.param |
Defines k for the k-nearest neighbor algorithm. |
resolution |
Value of the resolution parameter, use a value above (below) 1.0 if you want to obtain a larger (smaller) number of communities. |
algorithm |
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. |
It will generate cell type inforamtion.
data(example_object) example_object <- RunClassification(example_object, dims = 1:15, k.param = 20, resolution = 0.6, algorithm = 1)