Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/clusterAnalysis.R
This function performs enrichment analysis on genes within each cluster, with genes from all clusters as the gene universe.
1 | enrichAnalysis(x, cl, terms=c('GO','KEGG'), verbose=FALSE, ...)
|
x |
An |
cl |
A named numeric vector, with names being gene Entrez IDs and values indicating grouping. |
terms |
A character string indicating which annotation should be used. This must be (an abbreviation of) one of the strings 'GO' or 'KEGG'. |
verbose |
A logical scalar indicating whether progress should be reported. |
... |
Additional arguments to be passed to the |
Gene enrichment analysis tests whether certain gene annotations (e.g., GO terms or KEGG ids) are enriched in genes of interest, compared with the gene universe. This function is designed to analyze gene enrichment in clusters, with genes in the tested cluster being genes of interest and genes in all clusters being the gene universe.
The Hypergeometric test is performed by the hyperGTest
function of the GOstats
package. Please refer to hyperGTest
for additional arguments.
A list of HyperGResult
instances.
Xian Zhang
1 | ## see clusterDist.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.