Enrichment Map Logo

Automatically Annotating an Enrichment Map

Automatic Annotation

Enrichment Maps are often large networks with multiple highly inter-connected clusters representing processes and functions that are well annotated in public databases. Summarizing these networks simplifies it allowing users to focus on the prominent themes. To do so manually is both subjective and time-consuming. Automatic Annotation makes this process easier by clustering similarly connected terms in a network (using clusterMaker) and labelling each cluster using WordCloud.

Requirements

Creating an annotation set

Once you have created your Enrichment Map, select “Annotate Clusters” from Enrichment Map under the Apps menu at the top of the screen to begin annotating.

Annotate Clusters Menu

This will open an Annotation Panel in the Cytoscape Control Panel, on the left of the window.

Annotation Panel

In this panel, you can specify certain parameters for the annotation. Once you are satisfied with the parameters (optionally need to be specified, you can annotate using defaults), pressing the 'Annotate!' button will create a new annotation set. This will run clusterMaker to find the clusters in your network, create a WordCloud for each cluster, and create labels for each cluster.

Gene set descriptions

Words contained in the gene set description column will be used to automatically generate labels. Usually these will be under the GS_DESCR column of the

Clustering

You can select a clustering algorithm from the dropdown menu. These algorithms will run in clusterMaker using their default parameters. MCL clustering is recommended by default. For more refined clustering, you can run clusterMaker on your own and then specify the column that it creates with your clusters (these will usually look something like 'mclCluster'). You can also specify your own clusters by entering it into a new column and selecting it here.

Repositioning nodes

Often there will be significant clutter between the clusters, which can potentially make the labels harder to read. Selecting the 'Layout nodes by cluster' checkbox will rearrange the nodes in your network to isolate each cluster.

Creating Groups

Selecting the 'Create Groups for clusters' checkbox will create Cytoscape Groups from the nodes in each cluster. These will allow you to collapse each cluster into a single node.

WordCloud Parameters

To set the parameters of WordCloud globally for an entire annotation set, do this before creating the Annotation Set in the 'WordCloud' panel. It is recommended to turn on network normalization, under 'Advanced', which will help make labels more specific.

The output for the example network, using the default parameters, will look like this:

Default output

Repositioning clusters

Selecting the 'Layout nodes by cluster' option will rearrange the nodes in your network, grouping them by network and applying a Prefuse Force Directed Layout to each group. This reduces the amount of overlap between clusters and makes the annotations easier to read and interpret. Alternatively, repositioning can be done manually by selecting clusters in the table, dragging the nodes to a new location, and deselecting the cluster by clicking anywhere outside of it. Multiple clusters can be selected and moved together by doing a Command+click for Mac users or Ctrl+click for other operating systems.

Editing clusters

If you are unsatisfied with the clusters in your network, it is easy to change them by using the buttons at the bottom of the Annotation Panel.

Creating new clusters

Selecting a group of nodes and pressing the 'Extract' button will create a new cluster from the selected node(s). If you are using discrete clustering (rather than fuzzy clustering) then the selected nodes will be removed from their previous clusters.

Merging clusters

Selecting two or more clusters from the table (Ctrl/Command + click) and pressing 'Merge' will create one cluster from the selected clusters.

Deleting clusters

Selecting one or more clusters from the table and pressing 'Delete' will remove the selected clusters from the network.

Display Options

After creating your annotations, there are several visual options that you can adjust in the 'Annotation Display Options Panel' on the right side of the screen in the 'Results Panel'.

Editing labels

Because the labels are computed automatically, they will often need some manual adjustment or reordering of words. This can be done easily, by double clicking on the name of a cluster in the table on the Annotation Panel, typing a new name, and pressing enter. It is recommended to look at the WordClouds when doing this, by selecting WordCloud under 'Show on selection:' in the Display Options menu.

Frequently Asked Questions

Downloads

Contact

Arkady Arkhangorodsky (aarkhangorodsky@gmail.com)

Ruth Isserlin (ruth.isserlin@utoronto.ca)

Known bugs

ClusterMaker doesn’t run properly on a second enrichment map

Groups are deleted upon saving

Software/EnrichmentMap/Annotation (last edited 2014-10-02 13:37:27 by RuthIsserlin)

MoinMoin Appliance - Powered by TurnKey Linux