Visualizing Concepts and Mappings

From NCBO Wiki
Revision as of 16:23, 22 November 2012 by The CHISEL Group (talk | contribs) (How to use BioPortal's concept and mapping visualization tools)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

With BioPortal, you can visualize ontology concepts and their mappings with other ontologies. The following information is available on this page:

How BioPortal displays concepts and mappings

BioPortal displays individual ontology concepts and mappings as nodes. Lines are used to indicate the relationships among concepts and mappings. Directional relationships (parent/child relationships) are identified by a solid line with an arrow pointing to the parent concept. Mappings are identified by a dotted line.

BioMixerEmbedNodes.png BioMixerEmbedRelationships.png
Child concept (Respiratory System Agent) with a solid arc and arrow pointing to its parent concept (Therapeutic Categories). The same parent/child relationship including a mapping (Respiratory drugs) from the child concept.

Viewing concepts and mappings

To get started, open the Term Details page for a concept, and click the Visualization tab.

BioMixerEmbedTermDetailsVisualizationTab.png

This opens the Visualization panel and displays the Path to Root which contains the concept and all parent concepts, up to and including the root concept.

You can also display the Term Neighbourhood which contains the immediate parent and children of the current concept, or the Mappings Neighbourhood which contains the mappings for the current concept. To do this, click the drop-down arrow at the top of the Visualization panel, and select term neighbourhood or mappings neighbourhood.

From here, you can drag concepts around the screen to optimize viewing. You can also display mappings, other concepts, and adjust the style of visualization used.

BioMixerEmbedDropDownArrow.png

Displaying related concepts and mappings

Once you have visualized a concept, you can expand the visualization to include the child concepts or mappings from any item. To do this, click the arrow below the desired concept or mapping, and then select:
  • Concepts: This will display the children of the concept, if applicable.
  • Mappings: This will display any mappings related to the concept, if applicable.
BioMixerEmbedDisplayChildConcepts.png

BioMixerEmbedChildConceptsDisplayed.png

You can expand the concepts and mappings outside of the current ontology. This makes it possible to visualize multiple ontologies at once and see the relationships between them. To make it easier to see relationships, BioPortal uses colors to identify ontologies. However, depending on how many ontologies you are working with, some colors may be duplicated. For information, see the section on Nodes.

Viewing information about a concept or mapping

You can hover over a concept or mapping to display the name and ID of the ontology the item resides in.

BioMixerEmbedCircleLayout.png

Removing a mapping or concept from a visualization

If a mapping or concept is no longer of interest to you, you can remove the related ontology from the visualization. You cannot remove a concept or mapping without removing its entire ontology. For information, see the section on Nodes.

Changing how concepts and mappings are displayed

When visualizing ontology information, you can adjust how the concepts and mappings are displayed. To do this, click the chevron in the top-right corner of the Visualization panel.

BioMixerEmbedOpenStackedPanel.png

This displays a panel with three groups of options: Nodes, Arcs, and Layouts.

Nodes

The Nodes portion of the side panel displays a list of the ontologies that are currently visualized, either through mappings or expanded concepts. It also displays the color associated with an ontology.

You can choose to remove a particular ontology from the visualization. To do this, clear the check box next to the ontology name.

You can also choose to not use colors to identify ontologies. To do this, clear the Color Concept Nodes by Ontology check box.

Arcs

By default, concepts are connected by a solid line with arrows that point towards the parent concept. Mappings are connected by a dashed line. If desired, you can change the color and style of these connections using the Arcs portion of the side panel.

The Arcs options are divided into separate controls for the concept relationships and the concept mappings. You can change the following options:

  • Arcs Visible: This check box controls whether lines are displayed.
  • Arc Color: This box defines the color of the lines that connect concepts or mappings. You can use any seven-character HTML color code.
  • Arc Style: This drop-down list defines the style of the line displayed (solid or dashed).
  • Arc Thickness: This drop-down list defines the thickness of the line displayed, in pixels.

Once you are finished, click the Update Arcs button and the changes will be applied to your visualization. Please note that there are two Update Arcs buttons – one for the options that control concept relationships, and one for the options that control concept mappings.

BioMixerEmbedArcsOptions.png

Layouts

You can adjust the style of visualization used to optimize the display and to make it easier to view related information. The Layouts portion of the side panel displays four different layouts:

  • Circle Layout: This layout displays the concepts and mappings in a circle.
  • Vertical Layout: This layout displays the concepts and mappings with child/parent relationships organized vertically.
  • Horizontal Layout: This layout displays the concepts and mappings with child/parent relationships organized horizontally.
  • Force-Directed Layout: This layout positions the concepts and mappings so that all the edges are of more or less equal length and with as few crossing edges as possible. Use the Force-Directed Layout when working with clusters of data to optimize the display of related groups of information.