get_hubs {CEMiTool} | R Documentation |
Returns n
genes in each module with high connectivity.
get_hubs(cem, ...) ## S4 method for signature 'CEMiTool' get_hubs(cem, n = 5, method = "adjacency")
cem |
Object of class |
... |
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" |
A list
containing hub genes for each module and the value of
the calculated method.
# Get example CEMiTool object data(cem) # Get module hubs hubs <- get_hubs(cem, n=10, "adjacency")