Description Usage Arguments Details Value Author(s) References Examples
View source: R/annotateClusters.R
Annotates each cluster of GO terms with the term containing the most paths to the root.
1 | annotateClusters(clusters)
|
clusters |
A list of vectors. Each element of the list corresponds to a cluster, and each vector contains the GO terms in the cluster. |
All of the GO terms within all of the clusters must belong to the same GO domain (either BP, CC, or MF).
A vector of cluster labels.
Brian D. Bennett
Pierre R. Bushel
Bennett BD and Bushel PR. goSTAG: Gene Ontology Subtrees to Tag and Annotate Genes within a set. Source Code Biol Med. 2017 Apr 13.
1 2 3 4 5 6 7 8 | data( goSTAG_example_gene_lists )
go_terms <- loadGOTerms()
enrichment_matrix <- performGOEnrichment( goSTAG_example_gene_lists, go_terms )
hclust_results <- performHierarchicalClustering( enrichment_matrix )
clusters <- groupClusters( hclust_results )
cluster_labels <- annotateClusters( clusters )
head( cluster_labels )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.