Coding matrices

Coding matrices provide a way to see coding intersections between two lists of items in your project.

For example, a coding matrix can be used to compare what small businesses and large businesses say about different forms of renewable energy. Each cell in the matrix represents a code containing the content coded to the intersection of the row and column.

Node matrix showing intersection of coding at rows and columns.

1 Columns—contains the items you select to display in columns—for example, small businesses and large businesses.

2 Rows—contains the items you select to display in rows—for example, wind power, solar power, hydro power, biofuel, and geothermal.

3 Cells—this can include the number of coding references at the intersection of a row and column—for example, How many comments do large businesses have about solar power? You can change the cell content—for example, to display number of files or words coded. The status bar indicates the type of cell content currently displayed.

How are coding matrices created?

Coding matrices are created when you:

  • Run a matrix coding query.  With matrix coding queries, you can ask a  wide range of questions about patterns in the data and gain access to the content that shows those patterns.
    For example, you could create a matrix coding query to compare what small businesses and large businesses say about different forms of renewable energy. The results are displayed in a coding matrix. Each cell in the matrix represents a code containing the content coded to the intersection of the row and column.

Open and navigate coding matrices

When you run a matrix coding query, you can choose to store the results in either the Coding Matrices folder (as a coding matrix) or the Query Results folder (as a results coding matrix).  

Both of these folders are located in the Queries section of the Navigation View.

Search folder in Navigation View.

If you store the coding matrix in the Query Results folder, it remains linked to the query that generated it.  You open and navigate coding matrices in the same way, no matter where you choose to store them. Manage query results

You can double-click a coding matrix in the List View to open it in the Detail View.

You can expand the column widths or use the scroll bars. To re-size all the columns at once, hold down the Option key while adjusting the column width. You can double-click on a cell in the matrix to open the code containing the content coded to the intersection of the row and column codes.

What can I do in a coding matrix?

You can open a code from a matrix cell to see all the content coded to the cell (at both the row and column codes)—double click on the cell to open the code.

You can also:

  • Apply shading to cells to make it easier to see patterns in the matrix
  • Change the information displayed in the matrix cells—for example number of files coded or number of codes coded

Convert a coding matrix into a code hierarchy

Once you have created a coding matrix you can:

  • Copy or move the matrix into the Codes folder—this creates a hierarchical code structure based on the cells within the matrix.

Export a coding matrix

You can export a coding matrix to a text or spreadsheet file. This can be useful if you want to share the matrix with someone who does not have NVivo or want to include the matrix in a report.

  1. In the List View, select the coding matrix you want to export.
  2. In the Share tab Export menu, select Export Items.
  3. (Optional) Change the file name and folder.
  4. In the File format field select the file format for the exported file.
  5. Click Save.