RunClassification: RunClassification

Description Usage Arguments Value Examples

Description

This function is based on Seurat package.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
RunClassification(object, ...)

.runClassification(
  object,
  dims = 1:15,
  k.param = 20,
  resolution = 0.6,
  algorithm = 1
)

## S4 method for signature 'IRISFGM'
RunClassification(
  object,
  dims = 1: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

1
2
3
4
5
6
7
## Not run: 
object <- RunClassification(object, 
dims = 1:15,
k.param = 20, 
resolution = 0.6,
algorithm = 1)
## End(Not run)

carter-allen/IRISFGM documentation built on Dec. 31, 2020, 9:54 p.m.