# Phenotypic Filtering

To filter with phenotypic data, you can filter from the tiles that you added in the “Overview” tab,  or through the “+ Add Filter” button in the Cohort Banner. These filters allow for assessing the impact of phenotypic/ clinical data and the creation of cohorts.&#x20;

## How to Filter a Dataset with Phenotypic Filters

1\. In the Cohort section, select the “+ Add Filter”

<figure><img src="/files/LFKtlDjakcnow7vsC6TR" alt=""><figcaption></figcaption></figure>

2\. Search or select your characteristic. Ex: Diagnoses, Tumor Details > Tumor Disease Anatomic Site

<figure><img src="/files/kJLfdZtfCeAqdIZuuOPX" alt=""><figcaption></figcaption></figure>

3\. Click Add Cohort Filter

4\. Make sure "Is Any of" is selected, click on empty field

5\. Select details for the characteristic. Ex: selecting Ovary&#x20;

<figure><img src="/files/LBzVCcZNypk3exGB4k5R" alt=""><figcaption></figcaption></figure>

6\. Your cohort panel will then look like this:

<figure><img src="/files/ymsGIVRIffTwrAie7IRE" alt=""><figcaption></figcaption></figure>

7. Repeat steps as necessary to filter as needed to create your cohort

## **And/ Or Functionality**

In this example, we are going to create 2 different filters. One will be a sample with where the tumor disease anatomic site is the ovary, and another where the site is breast.&#x20;

If in the cohort filter we select the tumor disease anatomic site “is ovary” AND tumor disease anatomic site “is breast”, then we have zero patients.&#x20;

This is seen the in the figure below:&#x20;

<figure><img src="/files/GXft1RSB4NwSzF7TWCy8" alt=""><figcaption></figcaption></figure>

Instead, we would need to change this to “OR” by pressing the “AND With” portion of the filter. &#x20;

<figure><img src="/files/kfW14ga0Jm2etVA9wnA0" alt=""><figcaption></figcaption></figure>

Now, we have a filter that has the tumor disease anatomic site as the ovary or the breast.&#x20;

## Supplemental Video for the Overview Tab + Filtering&#x20;

{% embed url="<https://youtu.be/JMN4IVMZiPE>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://academy.dnanexus.com/cohortbrowser/how-to-create-cohorts/phenotypic-filtering.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
