Description Usage Arguments Details Value Author(s) References See Also Examples
Calculates the overlap among every pair of gene-sets given as input.
1 2 3 4 5 6 7 8 | ## S4 method for signature 'list,character'
computeGeneSetsOverlap(gSets, uniqGenes, min.sz=1, max.sz=Inf)
## S4 method for signature 'list,ExpressionSet'
computeGeneSetsOverlap(gSets, uniqGenes, min.sz=1, max.sz=Inf)
## S4 method for signature 'GeneSetCollection,character'
computeGeneSetsOverlap(gSets, uniqGenes, min.sz=1, max.sz=Inf)
## S4 method for signature 'GeneSetCollection,ExpressionSet'
computeGeneSetsOverlap(gSets, uniqGenes, min.sz=1, max.sz=Inf)
|
gSets |
Gene sets given either as a |
uniqGenes |
Vector of unique genes to be considered when calculating the overlaps. |
min.sz |
Minimum size. |
max.sz |
Maximum size. |
This function calculates the overlap between every pair of gene sets
of the input argument gSets. Before this calculation takes place,
the gene sets in gSets are firstly filtered to discard genes that do not
match to the identifiers in uniqGenes. Secondly, they are further
filtered to meet the minimum and/or maximum size specified with the arguments
min.sz and max.sz. The overlap between two gene sets is calculated
as the number of common genes between the two gene sets divided by the smallest
size of the two gene sets.
A gene-set by gene-set matrix of the overlap among every pair of gene sets.
J. Guinney
Hänzelmann, S., Castelo, R. and Guinney, J. GSVA: Gene set variation analysis for microarray and RNA-Seq data. BMC Bioinformatics, 14:7, 2013.
1 2 3 | geneSets <- list(set1=as.character(1:4), set2=as.character(4:10))
computeGeneSetsOverlap(geneSets, unique(unlist(geneSets)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.