get_merged_mods {CEMiTool} | R Documentation |
This function takes a CEMiTool object with expression and a vector of numeric labels to merge similar modules.
get_merged_mods(cem, ...) ## S4 method for signature 'CEMiTool' get_merged_mods(cem, mods, diss_thresh = 0.8, verbose = FALSE)
cem |
Object of class |
... |
Optional parameters. |
mods |
A vector containing numeric labels for each module gene |
diss_thresh |
A threshold of dissimilarity for modules. Default is 0.8. |
verbose |
Logical. If |
Numeric labels assigning genes to modules.
# Get example expression data data(expr0) # Initialize new CEMiTool object with expression data cem <- new_cem(expr0) # Filter expression data cem <- filter_expr(cem) # Calculate adjacency matrix with example beta value 8 cem <- get_adj(cem, beta=8) # Get modules mods <- get_mods(cem) # Merge similar modules merged_mods <- get_merged_mods(cem, mods)