geneclusters {cogena} | R Documentation

## geneclusters: get the cluster information of a certain clustering method with a certain number.

### Description

geneclusters: get the cluster information of a certain clustering method with a certain number.

### Usage

    geneclusters(object, method, nClust)

    ## S4 method for signature 'genecl'
    geneclusters(object, method = clusterMethods(object), nClust)

    ## S4 method for signature 'cogena'
    geneclusters(object, method = clusterMethods(object), nClust)

### Arguments

`object` | a genecl or cogena object
`method` | as clMethods in genecl function
`nClust` | cluster numbers

### Value

geneclusters: a list or hclust depends on the method

### Examples

    ## Not run:
    geneclusters(genecl_result, "kmeans", 3)
    geneclusters(genecl_result, "hierarchical", 4)

    ## End(Not run)

[Package cogena version 1.28.0 Index]