# Gene ID \<---\> Gene SYMBOL

**URL:** <https://help.c-moor.org/t/gene-id-gene-symbol/154>\
**Category:** Code Cookbook\
**Created:** [February 18, 2022, 9:54pm UTC](https://help.c-moor.org/t/gene-id-gene-symbol/154 "2022-02-18T21:54:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LindsayHayes](https://yyz1.discourse-cdn.com/flex027/user_avatar/help.c-moor.org/lindsayhayes/32/14_2.png) [@LindsayHayes](https://help.c-moor.org/u/LindsayHayes)\
**Post date:** [February 18, 2022, 9:54pm UTC](https://help.c-moor.org/t/gene-id-gene-symbol/154/1 "2022-02-18T21:54:39Z")

</div>

Are you frustrated 😖 always having to track down the conversion for **ENSEMBL GENE ID** and **GENE SYMBOL** in your dataset?! Try this trick 🤯 to convert **GENE IDs** and **GENE SYMBOLs** in the `gastrulation dataset`.

Conveniently, the `gastrulation dataset` has both the **ENSEMBL GENE ID** and the corresponding **GENE SYMBOL** already embedded in the `sce` object! Here is how to access it:

First check out the `rowData` to see for yourself. This is where all the information about the genes is listed.

```auto
head(rowData(sce))

```

now convert your gene of interest SYMBOL → ID

```auto
gene_name <- "Sox17"
rowData(sce)[which(rowData(sce)[,2] %in% gene_name),]

```

Or convert the ENSEMBL ID to its gene SYMBOL ← ID

```auto
gene_id <- "ENSMUSG00000025902"
rowData(sce)[which(rowData(sce)[,1] %in% gene_id),]

```

With this output, you can quickly plug in the **ENSEMBL ID** for plotting and google the **GENE SYMBOL** for exploration!

Happy Hunting! 🏹
