R/11-merge_modules.R
merge_modules.Rd
This function identify functional modules from various databases, such as GO, KEGG, and Reactome. It calculates the similarity matrix between all the pathways and clusters them into functional modules.
merge_modules(
object,
sim.cutoff = 0.5,
measure_method = c("jaccard"),
path = "result",
save_to_local = FALSE
)
An S4 object, expected to be processed by merge_pathways()
.
A numerical value for similarity cutoff, default is 0.5.
A character vector indicating the method for measuring similarity, default is "jaccard".
A character string for the directory where to save results, default is "result".
Logical, if TRUE the results will be saved to local disk.
Please ensure that object
has been processed by merge_pathways()
before using this function.
if (FALSE) {
merge_modules(variable_info = my_var_info, object = my_object)
}