modGroups | R Documentation |
Find group of modules based on shared genes
modGroups(modules, mset = NULL, min.overlap = 2, stat = "number")
modules |
Either a list of modules or character vector. |
mset |
Which module set to use. Either a character vector ("LI", "DC" or "all", default: all) or an object of class tmod (see "Custom module definitions" below) |
min.overlap |
Minimum number of overlapping items if stat == number, minimum jaccard index if stat == jaccard etc. |
stat |
Type of statistics to return. "jaccard": Jaccard index (default); "number": number of common genes; "soerensen": Soerensen-Dice coefficient; "overlap": Szymkiewicz-Simpson coefficient. |
Split the modules into groups based on the overlapping items.
The first argument, modules, is either a character vector of module identifiers from 'mset' (NULL mset indicates the default mset of tmod) or a list. If it is a list, then each element is assumed to be a character vector with module IDs.
mymods <- list(A=c(1, 2, 3), B=c(2, 3, 4, 5), C=c(5, 6, 7))
modGroups(mymods)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.