RunClassification {IRISFGM}R Documentation

RunClassification

Description

This function is based on Seurat package.

Usage

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
)

Arguments

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.

Value

It will generate cell type inforamtion.

Examples

data(example_object)
example_object <- RunClassification(example_object, 
dims = 1:15,
k.param = 20, 
resolution = 0.6,
algorithm = 1)

[Package IRISFGM version 1.2.0 Index]