Code Relations Browser: Visualizing Overlapping Codes

A tool similar to the CMB is the Code Relations Browser (CRB). The CRB is a visualization of the relationships between codes. A table shows how many document segments any two codes are attached to. The representation is similar to the Code Matrix Browser, but in this case, the little squares/circles stand for the number of co-occurrences of codes.

You can open the CRB in different ways:

  • By selecting Code Relations Browser from the Visual tools drop-down menu,
  • with the keyboard shortcut Ctrl+Alt+R (Windows) or cmd+Alt+R (Mac)
  • by clicking on the CRB symbol in the “Visual tools” toolbar.
Symbol in the “Visual tools” toolbar for opening the CRB

The Code Relations Browser looks like this:

An example of the Code Relations Browser visualization

Code Relations Browser options

After opening the Code Relations Browser an options window will appear, which allows you to change display options. Often, only the activated documents might be of interest, for example.

Code Relations Browser options dialog

First you have to decide which codes will be shown as rows:

All codes – All codes will be shown, the order being the same as it is in the “Code System”

Activated codes – Only the activated codes will be shown as rows.

A similar decision has to be made for the columns in the Code Relations Browser, with the added option of Choose top level code. Selecting this option will open another dialog window after pressing OK, allowing you to select as many top level codes as you want. The selected top level codes and their subcodes will be shown as columns in the Code Relations Browser.

Under Type of analysis you can decide which relations MAXQDA will show, as well as how often a code was used in a document:

Co-occurrence of codes – Only “real” overlaps of codes will be used, which means that a segment has to be coded with both codes and the codes need to overlap.

Note: It is only possible to recognize pages in PDF-documents, not paragraphs. Therefore, the “overlap” and “near”-functions do only apply to whole pages when analysing PDF-documents.

Near (codes) – Alternatively the Code Relations Browser can analyze how many encodings exist in which two codes are present at a defined distance from one another. After clicking OK, you can define the desired distance.

Note: If you search with function „Near (codes)“ and chose distance „0“ you may find more hits than searching for Co-occurence of codes. The function „Near (codes)“ only evaluates if two codes are assigned somewhere in the same paragraph – not at the same segment.

The option Only for activated documents will make the Code Relations Browser only look for relations in the activated documents.

Count hits per document only once – The Code Relations Browser counts the number of documents in which an overlap or proximity (near) of codes exists. It does not matter how many times the overlap or proximity occurs within a document.

Code Relations Browser toolbar

At the top of the screen, you will find the toolbar with the following functions:

Quote Matrix – Displays coded segments as an Excel file

Names, columns: none/short/full – Determines display of document names in column headers.

Display nodes as squares.

Display nodes as circles.

Display nodes as values.

Co-occurrence of codes – Switches to an “overlap” type analysis.

Near (codes) – Switches to a “near” type analysis and displays a dialog window in which the maximum distance can be defined. (In table documents only the nearness of coded segments in the same column will be evaluated. Coded image segment will be ignored generally.)

Count hits per document only once – The Code Relations Browser display will be based not on the number of coded segments but rather on the full document, meaning it will display only whether the code occurs in the document or not. For collapsed subcodes, the code frequency of the subcodes will be aggregated.

Binarize view – Regardless of how many coded segments are present in a cell, this function displays only whether a coded segment is present or not; the symbol size is therefore unified. Even when a collapsed subcode with multiple encodings is present, only one will be counted.

Sum – displays the sum of rows and columns.

Refresh – updates display via the Refresh function.

Open as Excel table – Displays the matrix with the code frequencies of the CRB in Excel. The columns and rows are reversed to allow an easier import into SPSS.

Export – Exports the displayed matrix as values, meaning the number of coded segments per code and per document, in Excel or HTML format. The columns and rows are reversed to allow an easier import into SPSS. Export as a graphic file (Vector or Bitmap) is also possible.

What is actually shown in the Code Relations Browser?

Each symbol in the matrix represents the number of intersections of the two codes. The larger the symbol, the larger the number of intersections. If you choose to switch to the Near function, the symbols represent the number of times two codes exist near to each other (within a certain number of paragraphs, defined in your settings).

If you click on the Count hits per document only once icon in the toolbar, the symbols represent the number of documents that have at least one instance of an intersection or proximity between the two codes. It no longer matters how many times these intersections occur in each document.

Tip: The order of codes in the Code Relations Browser will be identical to the order in the “Code System.” If you want to change the order in the graphic, you have to change the order in the “Code System” first.

Jumping from the Symbol to the Coded Segment

You can call up the document segments with overlapping codes by double-clicking on the node representing them. The “Overlapping” retrieval function will automatically be activated, bringing up the segments in the “Retrieved Segments” window. The CRB can remain open, so you can quickly go from one set of overlapping codes to another.

Note: If you are in mode „Near“ and double click on a node, that has collapsed codes, the collapsed subcodes will be expanded automatically and only the higher code will be evaluated, not the previously collapsed codes.

Exporting the CRB as an Image File

The Export symbol allows you to save the current CRB display as a file, which you can then insert easily into a word processing file or Powerpoint slide.

Tip: Click on the camera icon to copy the actual view into the clipboard. Now you can open Word, PowerPoint, or other programs and paste the image into it by choosing Ctrl+V (Win) or cmd+V (Mac).