getOmicsModules | R Documentation |
Apply hierarchical tree cutting to the similarity matrix and extract multi/single-omics network modules.
getOmicsModules(Abar, CutHeight = 1 - 0.1^10, PlotTree = TRUE)
Abar |
A similary matrix for all features (all omics data types). |
CutHeight |
Height threshold for the hierarchical tree cutting. Default
is |
PlotTree |
Logical. Whether to create a hierarchical tree plot, default is set to |
A list of multi/single-omics modules.
set.seed(123)
w <- rnorm(5)
w <- w/sqrt(sum(w^2))
feature_name <- paste0('feature_', 1:5)
abar <- getAbar(w, FeatureLabel = feature_name)
modules <- getOmicsModules(abar, CutHeight = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.