module_group_sim | R Documentation |
Calculating similarity between two list of module groups
module_group_sim(Module.group1, Module.group2, sim.method = "Simpson")
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. |
Similarity between two list of module groups
Junpeng Zhang (https://www.researchgate.net/profile/Junpeng-Zhang-2)
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.
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.