Description Usage Arguments Value Examples
This function takes a CEMiTool object with expression and a vector of numeric labels to merge similar modules.
1 2 3 4 | 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.
1 2 3 4 5 6 7 8 9 10 | # Get example expression data
data(expr0)
# Initialize new CEMiTool object with expression data
cem <- new_cem(expr0, filter=TRUE, apply_vst=FALSE)
# 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.