get_hubs {CEMiTool} | R Documentation

## Get hubs

### Description

Returns `n` genes in each module with high connectivity.

### Usage

    get_hubs(cem, ...)

    ## S4 method for signature 'CEMiTool'
    get_hubs(cem, n = 5, method = "adjacency")

### Arguments

`cem` | Object of class `CEMiTool`.
`...` | Optional parameters.
`n` | Number of hubs to return from each module. If "all", returns all genes in decreasing order of connectivity. Default: 5.
`method` | Method for hub calculation. Either "adjacency" or "kME". Default: "adjacency"

### Value

A `list` containing hub genes for each module and the value of the calculated method.

### Examples

    # Get example CEMiTool object
    data(cem)
    # Get module hubs
    hubs <- get_hubs(cem, n=10, "adjacency")

[Package CEMiTool version 1.16.0 Index]