# How do I filter to just one cancer type

## Generalized Steps

1\. Add the phenotype column that details the cancer type

{% hint style="info" %}
The phenotype column will vary depending on which study you choose. See below for specific column names
{% endhint %}

2\. Search for the cancer type you are interested in, making sure that it is listed in the phenotype column. Click the Filter + subgroup menu next to the search bar and select 'Keep Samples'.

![](https://3676322134-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAsF1Wuj3-Bs3YBFd7f%2F-LF-IOfKfnTwhFtgNCVl%2F-LF-I_tx5inP7N55aFsu%2FhighlightLocation.png?alt=media\&token=5e1a722d-8aa1-4202-90bb-6a5b5c51fffc)

![](https://3676322134-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAsF1Wuj3-Bs3YBFd7f%2F-LF-IOfKfnTwhFtgNCVl%2F-LF-J_xUdpyX947rOLjD%2FhighlightMenuLocation.png?alt=media\&token=0faf0da5-f74e-40f7-9d38-1717c7199071)

{% hint style="info" %}
[More information on filtering](https://ucsc-xena.gitbook.io/project/overview-of-features/filter-and-subgrouping)
{% endhint %}

## For TCGA Pan-Cancer (PANCAN)&#x20;

For the TCGA PanCan (PANCAN), you will want to add the phenotype column:

> cancer type abbreviation

{% hint style="info" %}
[Here is a bookmark ](https://xenabrowser.net/heatmap/?bookmark=d34a38000eca5f2bfcf936d5e06066dc)that will take you to the TCGA PanCan (PANCAN) Study with that phenotype column already selected.
{% endhint %}

## For TCGA TARGET GTEx

For the TCGA TARGET GTEx, you will want to add the phenotype columns:

> main category
>
> study
>
> primary\_site

{% hint style="info" %}
[Here is a bookmark](https://xenabrowser.net/?bookmark=96a9f803a168169ce223cb17d05c600d) that will take you to the TCGA TARGET GTEx Study with those phenotype columns already selected.
{% endhint %}
