module_group_sim: module_group_sim

View source: R/miRSM.R

module_group_simR Documentation

module_group_sim

Description

Calculating similarity between two list of module groups

Usage

module_group_sim(Module.group1, Module.group2, sim.method = "Simpson")

Arguments

Module.group1

List object, the first list of module group.

Module.group2

List object, the second list of module group.

sim.method

Methods for calculating similatiry between two modules, select one of three methods (Simpson, Jaccard and Lin). Default method is Simpson.

Value

Similarity between two list of module groups

Author(s)

Junpeng Zhang (https://www.researchgate.net/profile/Junpeng-Zhang-2)

References

Simpson E H. Measurement of diversity. Nature, 1949, 163(4148): 688-688.

Jaccard P. The distribution of the flora in the alpine zone. 1. New phytologist, 1912, 11(2): 37-50.

Lin D. An information-theoretic definition of similarity. in: Icml. 1998, 98(1998): 296-304.

Examples

library(GSEABase)
data(BRCASampleData)
modulegenes_WGCNA <- module_WGCNA(ceRExp, mRExp) 
modulegenes_igraph <- module_igraph (ceRExp, mRExp) 
Sim <- module_group_sim(geneIds(modulegenes_WGCNA), geneIds(modulegenes_igraph))


zhangjunpeng411/miRSM documentation built on Sept. 23, 2024, 4:37 a.m.