Last modified 2026-01-06

Support

Use Advanced Filters for Complex Search Queries (Tutorial)

Abbreviations Key
EMRelectronic medical record
GUIDglobally unique identifier
HISEHuman Immune System Explorer
IDEintegrated development environment
QCquality control

At a Glance

Use this tutorial when you want to answer a precise research question in HISE. We show you how to move beyond quick, broad searches (for example, project plus file type, or a known file name) to layer on specific metadata filters that pinpoint the files, samples, or cohorts you need. You can also run multiple queries, group the results of each query, and display them in a visualization tool to compare attributes such as cohorts, visits, or pipelines. We explain when and how to use advanced filters to execute complex queries in HISE Advanced Search. 

For instructions on performing simple searches, see Use Advanced Search for Basic Queries (Tutorial). If you have questions or need help, contact Support.

Description
Instructions
Step 1: Set up search
Step 2: Apply filters

Step 3: Choose operator and value
Step 4: Use results
Step 5: Example: Combine batch ID and sample kit GUID filters
Related Resources


Description

The redesigned HISE Advanced Search lets you use an intuitive, shopping‑style interface to find the data you need for your research. You define the search scope, pick a category (files, samples, or subjects), and apply filters that behave like selections in an online store. As you narrow your results, more granular, context‑specific filters appear to help you refine your data set by attributes such as batch or panel ID, visit, and cohort. Using these filters makes it easy to reproduce an analysis data set, limit results to a particular disease state or visit window, or pull files tied to a known subject, specimen, or file ID. The next section walks through these steps so you can apply them to your own searches.


Instructions

For details on Step 1, parts 1–3, see Use Advanced Search for Basic Queries (Tutorial)

1. Sign in to HISE, and choose a general search type: FILES, SAMPLES, or SUBJECTS.

2. Choose one or more projects.

3. (FILES searches only.) Choose one or more file types. 

Back to top

 Apply filters

1. To apply filters to your search, choose among the following categories: Sample Metadata, File Metadata, Subject Metadata, User Tags, Custom Metadata, Survey MetadataEMR Data, EMR Metadata, and Lab Metadata.

A. Sample Metadata filter group. This filter group pinpoints specimen-level attributes for each sample. Use it to find samples with specific processing histories or biological characteristics.​

Sample Metadata filter group

Filter

Description

Batch IDUnique pipeline batch identifier for processed samples.
Panel IDAssay or marker panel configuration identifier.
Specimen Type

High-level specimen category (for example, "Blood").

Specimen Source

Anatomical or biological origin of the specimen.

Specimen Tissue Subtype

More specific tissue classification within the source.

Visit Name 

Study-defined label for the collection event.

Visit Details

Additional scheduling or context notes about the visit.

Disease State

Clinical or experimental disease condition at collection (for example, "Healthy control.").

Sample Kit GUID

Globally unique ID of the physical collection kit.

Back to top

B. File Metadata filter group. This filter group represents properties of stored files. Use it to find results based on how files were generated, stored, or labeled.​

File Metadata filter group

FilterDescription
File NameHuman-readable name of the stored file.
File IDUnique system identifier for the file record.
File VersionSpecific revision number of the file content.

Back to top

C. Subject Metadata filter group. This filter group targets subject-level information. Use it to find data associated with subjects who share specific characteristics.​

Subject Metadata filter group

FilterDescription
Cohort

Study-defined group to which the subject is assigned.

Biological Sex

Subject's sex assigned at birth.

Birth Year

Calendar year in which the subject was born.

Age at Enrollment

Subject’s age when first enrolled in the study.

Ethnicity

Subject's self-reported ethnic background.

Race

Subject's self-identified racial category.

Subject ID

Subject's study-specific identifier.

Back to top

D. User Tags filter group. This filter group maps to user-defined labels attached to files or records, such as custom names, versions, groups, or origins. Use them to quickly find or regroup data according to a project-specific tagging scheme.​

User Tags filter group

FilterDescription
DetailsFreeform notes about the user tag.
NameUser-defined tag name or label.
VersionVersion identifier for this specific tag definition.
GroupUser-defined grouping or cohort label.
OriginSource or provenance of the tagged data.
OtherMiscellaneous user-defined tag not elsewhere covered.

Back to top

E. Custom Metadata filter group. This filter group covers project-specific fields that extend the standard metadata model, such as additional diagnoses, external IDs, or study-specific flags. Use these filters to search fields not covered by the standard sample, file, or subject filters.​

The Custom Metadata filter group appears only when your current query context includes data that requires custom fields. When this filter does appear, it might not include all three options listed in the accompanying table. For example, as shown in the image to the left of the table, the query produced only one custom filter option.

Custom Metadata filter group

FilterDescription
DiagnosisDocumented clinical diagnosis for the subject at collection.
limsParentContentIDIdentifier linking this record to its parent LIMS entry.
Subject GuidGlobally unique identifier for the study subject.

Back to top

F. Survey Metadata filter group. Selections in the Survey Metadata filter group vary widely. They describe the respondents who participated in a survey and the survey context, such as when and how the data collection occurred and what questions were asked. This filter does not include survey responses. 

  ​​Back to top

G. EMR Data filter group. This highly variable filter group consists of dynamically generated, structured clinical fields from the EMRs associated with your selected projects. Examples include specific diagnoses, lab values, and treatment attributes. These filters are used to find data associated with specific subjects or samples.

Back to top

H. EMR Metadata filter group. This group captures various descriptive fields, such as file IDs, dates, and linkage keys, associated with EMR records. Use this filter group to find data based on how or when it was ingested or categorized. 

Back to top

I. Lab Metadata filter group. This group narrows your results based on laboratory measurements and derived lab values, such as absolute basophil, eosinophil, or lymphocyte counts. These filters help you find records for subjects or samples with specific lab profiles or ranges that matter for your analysis.

Back to top

 Choose operator and value

1. After each filter selection, click the arrow to the right of the Operator field and choose an operator from the drop-down list (see the images and the accompanying table). Operators, like filters, are context specific, so the operators available to you depend on the filter you select.

A. The is one of and is none of operators let you use multiple-select to choose more than one value.

B. Some operators, such as is between, let you specify a range of values (between x and y).

Filter operators

Operator

Description

Multiple-select allowed

Range of values allowed

equalsA single, exact value.
does not equalExcludes one specific value.
is one ofReturns records in which the selected filter matches any of the specified values.
is none ofExcludes all selected values.
contains termType a keyword or phrase (for example, FH 1013) into the Value field.
is betweenReturns a specified range of values (between x and y).
is outsideReturns a value outside the specified range.
Returns a value greater than the specified number.
Returns a value less than the specified number.
Returns a value greater than or equal to the specified number.
Returns a value greater less than or equal to the specified number.

Back to top

2. Click the arrow to the right of the Value field, and choose a value from the drop-down list. In some cases, the Value field becomes a text box, and you can type a value directly into it. 

3. In the results window, select the checkbox next to each result you want to include in your data set. To keep all results, click SELECT ALL ITEMS. To see the number of rows selected, check the lower-right corner of the table.

4. To keep the results that appear in the results window, click APPLY. To return to filter selection, click CANCEL

The results shown in the results window change instantly as you select operators and values. The options that appear in the drop-down list of values are limited by your earlier project, file type, and filter selections. If a query returns no matches or too few matches, thinking in terms of filter groups and operators, rather than tweaking single terms, often yields better results. If you choose an operator and the Value returns Empty field, it means that the value of this field is unpopulated in your search results. To generate results, adjust your project selection, file type, or filters until values appear. For example, you might change your operator from equals to is one of.

Back to top

 Use results

1. From the floating options menu, click the link that represents what you want to do with your results. For details, see the accompanying table.

The options menu for your result set is context specific and, as a result, it might not contain all the options described in the Floating Options Menu table below. For example, the search shown here produces only two options: GET IDE SCRIPTS and VISUALIZE. You can load your results into an IDE or create a visualization, but you can't use the results to create or expand a file set.

Floating options menu

OptionDescription
ADD TO FILE SETUse this option to add the selected items to an existing file set that you choose from the Options menu. You can reuse the same collection of files in analyses, visualizations, or Data Apps. For details, see Work with File Sets (Tutorial).
CREATE FILE SETUse this option to create a new file set from the selected items. Track and share exactly which samples, subjects, or files you plan to analyze. For details, see Save Your Input File or File Set to a Study (Tutorial).
GET IDE SCRIPTSUse this option to generate and download scripts you can run in a  supported IDE. Load the selected results as an input dataset for modeling, differential analysis, or QC. For details, see Attach an IDE to a Study (Tutorial).
VISUALIZEUse this option to pass an Advanced Search result set into a HISE visualization template or your own Python/R notebook. Build plots, dashboards, and interactive figures you can reuse across studies. For details, see Use the HISE SDK to Build and Save Visualizations (Tutorial). You can also add visualizations to Data Apps or publications. For details, see Get Started with Data Apps (Tutorial) and Prepare a Publication (Tutorial).


(Optional) Example: Combine batch ID and sample kit GUID filters

Suppose you want to review samples from a specific project that were processed in one batch using a particular sample kit.

1. In the Filters panel, select SAMPLES as the search type.

2. In the Projects field, choose The nine cohorts engage… as your project.

3. In the Sample Metadata group in the Advanced Filters section, click the Batch ID filter. 

4. In the Batch ID dialog box, choose equals as the operator and B006 as the value, and click APPLY.

5. Return to the Sample Metadata group in the Advanced Filters section, and choose the Sample Kit GUID filter.

6. In the Sample Kit GUID dialog box, choose equals as the operator and KT00073 as the value, and click APPLY



 The result is the only sample that matches both criteria.

7. From the floating Options box, choose an option

A. To analyze or transform the data in Python or R in a Jupyter notebook, click GET IDE SCRIPTS.

1. In the Query IDE Scripts box, click the copy icon. Use it to load the filtered data set into your IDE environment, where you control the libraries, methods, and outputs.

2. Click CLOSE.

B. To explore or compare results in the UI using an existing visualization template or a saved visualization, or to share a view with your collaborators, click VISUALIZE. For details, see the Visualizations documentation.

Back to top


Understand Advanced Search Concepts

Use Advanced Search for Basic Queries (Tutorial)