This chapter describes search results that caIntegrator returns after queries.

Topics in this chapter include the following:

Query Results Overview

After you launch a search of a caIntegrator study, the system automatically opens the Query Results tab showing the results of your search. If you have not configured the column and sort display parameters before launching the search, by default the tab shows only the subject identifiers and a column that allows you to select each row of the data subset.

To display and/or sort additional data, you must return to the Columns and/or Sorting tabs to set display parameters, then re-run the search. The new search results will display the additional information, with the columns and data sorted as you specified. See Results Type Tab.

caIntegrator paginates search results into pages of configurable size (default 20) with standard paginated navigation controls. To sort columns by ascending or descending parameters for on any displayed field, click on the underlined column header.

You can download search results as a CSV file. The file contains the annotations, columns and data sort configurations you specified in the search query. See #Exporting Data.

Browsing Query Results

The query results that can display depend upon the criteria you established for the search. Follow the links below for more information about the category of data you searched.

See #Subject Annotation and Imaging Data, #Gene Expression Data, and #Expanding Imaging Data Results.

Subject Annotation and Imaging Data

If you run the search before configuring column and sort display parameters, only the \[subject\] ID that meet the criteria and a column allowing you to select each row appear on the table, as shown in the following figure. 
!imaging subj ID only75.png|vspace=4, alt="Query Results page"!

You can add details for one or more subjects by configuring them on the Results Type tab. Annotations listed there are the column headers in the CSV file(s) that were uploaded to the study. For information about using the Results Type tab, see Results Type Tab.

Gene Expression Data

If after defining gene expression criteria on the Criteria tab, you select the Gene Expression result type on the Results Type tab, genomic data search results display in a gene expression data matrix. Because the data was downloaded from caArray, the data permissions granted there still apply. In other words, if you have been given access to the data in caArray, you can see it in caIntegrator.

You can select on the Results Type tab a preferred orientation for displaying the results: genes in rows and subjects in columns, or genes in columns and subjects in rows.

For Gene criteria, the cells display the median gene expression value for each gene. By each gene symbol, caIntegrator displays an icon (icon that opens information for the data associated with the icon) which you can click to open the Cancer Genome Anatomy Project (CGAP) showing data for the gene. An example shows in the following figure.
Genomic query result matrix after gene criterion has been specified. Two sample gene names are circled

If you have selected Gene Expression on the Results Type tab, then the column headers are a clickable label which sorts the entire table on that column. If you selected Reporter ID on the Results Type tab, the Reporter ID is clickable (and the gene is not clickable).

For fold-change criteria, the cells display the normalized signal-based value for a given reporter for a given sample. In the results matrix, caIntegrator highlights matrix values for fold change results that meet fold change criteria. Red represents upregulated values and blue indicates downregulated values. The following two figures display gene name search results with gene reporter type display in the first and reporter ID reporter type display in the second. Note the left hand column in each example.
"Gene Name search 6 genes
"Gene Name search 6 genes

You can save genes identified in the search results as a gene list. For more information, see #Creating a Gene or Subject List.

Copy Number Data

If after defining copy number criteria on the Criteria tab and running a copy number query, (see Copy Number Searches), you should select the Copy Number result type on the Results Type Tab, and rerun the query. Copy number data search results display in a data matrix containing samples vs. genomic regions.

Creating a Gene or Subject List

From any page in caIntegrator that shows such a group, you can save a list of genes or subjects so you can use it for searches or analyses. This functionality can also be used where a gene or subject list was created outside of caIntegrator, for example, a list of subjects with validated mutation such as from TCGA projects, or a list of subjects with high EGFR expression or any lists of subjects with genomic or clinical characteristics determined with other tools.

To create a list, follow these steps:

  1. Click the Create New List link in the left sidebar. This opens the Manage List page, shown in the following figure.
    Manage Gene List page
  2. Enter a name for the gene or subject list.
  3. Enter a description (optional).
  4. Select Make Visible to Others if you want the list to be visible to anyone who views the study. This selection places the list in the Global List folder in the left sidebar under Saved Lists. In any box where you can select lists, the term 'Global' will identify any list so identified when the list is created.
  5. Select the List Type, Subject or Gene.
  6. For Gene Symbol, enter one or more gene symbols in the text box or click the icons to locate genes in the following databases. If you enter more than one gene in the text box, separate the entries by commas.
    caIntegrator provides three methods whereby you can obtain gene symbols for creating a gene list:. For more information, see #Choosing Genes.
  7. If you so choose, you can upload a gene or subject ID list. For the Upload File field, click the Browse button to navigate to a .csv file made up of gene symbols. caIntegrator converts the comma-separated content to a gene list.
  8. Click *Create List* at the bottom of the page. caIntegrator now opens the Edit \[Subject or Gene\] List page which shows the name and symbols of the newest gene list, shown in the following figure.
    !edit gene list80.png|vspace=4, alt="The Edit Gene List for reviewing, editing the name or deleting a gene list. The Edit Subject List page is comparable."!

See #Editing a Gene or Subject List for information about the edit feature.

When you perform a GISTIC analysis, caIntegrator automatically saves the retrieved genes in the Saved Copy Number analysis in the left sidebar. For a query or plot analysis, they also appear in the Gene Picker dialog box described in #Choosing Genes.

Editing a Gene or Subject List

To view a gene list or subject list in caIntegrator, under Study Data in the left sidebar, click Saved Lists > Global Lists, or My Lists. Select the list/analysis you want to open. The system displays gene or subject lists that have been saved for the open study.
You can initiate the following functions on this page:

In the Edit \[List Type\] dialog box, you can perform the following tasks: 

Once a list is created, you cannot edit the list contents.

Expanding Imaging Data Results

In reviewing imaging search results, it is important to understand the hierarchy of submissions in NBIA. For more information, see #Relationship of Patient to Study to Series to Images.

If you run a search before configuring column and sort display parameters, only the Subject Identifiers for the patients/images that meet the criteria and a column containing one check box per row display by default. An example displays in the following figure.
"With imaging criteria only and no column definition

If your annotation choice on the Columns page identifies annotations such as tumor size or tumor location, the search results display image series subsets that have those annotations, or any annotations you check on the Results Type page. The check boxes work in conjunction with buttons at the bottom of the results page, shown in the following figure. By expanding display parameters, you can view complete details for image search results.
"By expanding display parameters on the Results Type tab

You can add more details for images by configuring image annotations on the Results Type tab. Annotations listed there are the column headers in the image series CSV file(s) that were uploaded to the study. Examples of image details include the following:

You can set display parameters for the results on the Columns and Sorting tabs. For more information, see #Results Type Tab.
See also #caIntegrator and NBIA, [#Retrieving DICOM Images and #Example of Retrieving Images.

caIntegrator and NBIA

Images can be accessed in NBIA if you see buttons on the Search Results page. See the Imaging Note in #Results Type Tab. You can click links on the Search Results tab to view or download image data.

Retrieving DICOM Images

On the imaging data Search Results page, you can click the Retrieve DICOM Images button which is linked to results you have selected by row. caIntegrator retrieves the corresponding image(s) from NBIA through the grid. NBIA organizes the download file by patient ID, StudyInstance UID, and ImageSeries UID, and compresses it into a zip file. When caIntegrator notifies you that the file is retrieved, the DICOM Retrieval page indicates whether the retrieved files are Study Instance UIDs or Image Series UIDs, shown in the following figure. For more information, see the note below.
DICOM Retrieval result

Click the Download DICOM link to download and save the file. caIntegrator unzips the file and displays the list of images in the file. To open the DICOM images, you must have a DICOM image viewer application installed on your computer. For more information, see http://dicom.online.fr/fr/download.htm.

In the search results, not all of the subjects in the data subset may be mapped to image series IDs. If you select a mixture of subjects, some of whom have image annotations as indicated by an image series ID and some of whom do not have image annotations (no image series ID), when you click the Retrieve DICOM Images button, NBIA retrieves the images for the entire NBIA study instance UID that includes the image seriesIDs you checked.

If on the Search Results tab you select only subjects that have image annotations as indicated by an image series ID, when you click the Retrieve DICOM Images button, NBIA retrieves images for the NBIA image series that were matched in the search. If the results are a mixture, but you select one specific row with a valid image annotation, caIntegrator aggregates to the image series. If results are a mixture and you select multiple rows, caIntegrator aggregates to the NBIA study in which multiple image series you have selected in the search results are found.

If your query does not have image annotations and all check boxes are selected, results will go up to image series UID and gives all image series in it. Search results may ultimately depend on how the study was created. For example, if no image series display in query results, it means they were not mapped in the study. In that case, the results "move" up to Study Instance UIDs. See

To best understand this, it is important to review the hierarchy of submissions in NBIA. For more information, see #Relationship of Patient to Study to Series to Images.

Example of Retrieving Images

If you are searching a study that has image data and image annotation(s) for at least one image series, you would follow these steps:

  1. Open a study that has imaging data associated with it that points to the production NBIA server.
  2. Make a query that will have image series or patients who are associated to Image Studies and select a few of those patients in the check box.
  3. Click the Retrieve Dicom Images button. Note that it aggregates to the image study.
  4. Now go back to Results Type tab, select all image annotations and run the query again.
  5. Select an image series type column and click the Retrieve Dicom Images button. caIntegrator now aggregates to the Image Series that were selected and not the Image Study.
  6. Select a row that doesn't have image series data, and a row that does, and push the button. This should aggregate to the study for the rows selected.
  7. Click Forward to NBIA. You should see the same types of aggregation for these tests.

When the image Study is in the checked boxes (regardless of image series being there or not), the system aggregates up to the Image Study level.

Exporting Data

You can choose to download tabular search results as a CSV file. Click the Export .csv link at the bottom of the page. You may need to scroll the page to see it. The file contains the annotations, columns and data sort configurations you specified in the search query.

You will not see the Export option when gene expression data displays as query results.