# Assigning Allen Transcriptomic Taxonomy to External Dataset

**URL:** <https://community.brain-map.org/t/assigning-allen-transcriptomic-taxonomy-to-external-dataset/1144>\
**Category:** Technical\
**Tags:** celltype, transcriptomics, rna-seq, analysis, atlas-reference-maps\
**Created:** [June 17, 2021, 7:59pm UTC](https://community.brain-map.org/t/assigning-allen-transcriptomic-taxonomy-to-external-dataset/1144 "2021-06-17T19:59:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpatino2799](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.brain-map.org/mpatino2799/32/436_2.png) [@mpatino2799](https://community.brain-map.org/u/mpatino2799)\
**Post date:** [June 17, 2021, 7:59pm UTC](https://community.brain-map.org/t/assigning-allen-transcriptomic-taxonomy-to-external-dataset/1144/1 "2021-06-17T19:59:36Z")

</div>

Hello,

How can Allen transcriptomic identities be assigned to external datasets. For example assigning nuclei from a query dataset as Sst Myh8 vs Sst Chodl?

I have tried using the Allen data as a reference and then mapping my cells onto that reference using Seurat MapQuery. The issue is that this requires clustering the Allen data with Seurat to create the reference and this does not produce the exact same clusters/cell types as the found in the papers. For example, I will get a cluster composed of multiple Sst subtypes (based on the Allen metadata) so when a query cell maps to that cluster I am still not sure what subtype it is.

Is there a better way to do this? Can Scrattch.hitcat do this and if so how?

Thank you!

Maribel

---

<div class="post-metadata">

**Author:** ![jeremyinseattle](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.brain-map.org/jeremyinseattle/32/50_2.png) [@jeremyinseattle](https://community.brain-map.org/u/jeremyinseattle)\
**Post date:** [June 17, 2021, 8:10pm UTC](https://community.brain-map.org/t/assigning-allen-transcriptomic-taxonomy-to-external-dataset/1144/2 "2021-06-17T20:10:48Z")

</div>

If you’d like to use Seurat, I would recommend using the function [TransferData](https://satijalab.org/seurat/reference/transferdata), which takes as input the data AND cell type assignments from a reference data set and transfers (maps) those labels into your query data set (see the examples section at the bottom of the page). Also, if you happen to be interested in adult primary motor cortex, both mouse and human data sets from this region are included in [Azimuth](https://azimuth.hubmapconsortium.org/), which is a user friendly web application from the Satija lab that has Seurat as its engine. We have tested several other mapping algorithms and hope to have something to show in this space by the end of the year.

---

<div class="post-metadata">

**Author:** ![mpatino2799](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.brain-map.org/mpatino2799/32/436_2.png) [@mpatino2799](https://community.brain-map.org/u/mpatino2799)\
**Post date:** [June 17, 2021, 10:39pm UTC](https://community.brain-map.org/t/assigning-allen-transcriptomic-taxonomy-to-external-dataset/1144/3 "2021-06-17T22:39:31Z")

</div>

Azimuth is great! Unfortunately I am interested in mouse primary visual cortex. Is there any plans to add the Allen V1 data to Azimuth anytime soon or at all? In the mean time I will try using TransferData.

---

<div class="post-metadata">

**Author:** ![jeremyinseattle](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.brain-map.org/jeremyinseattle/32/50_2.png) [@jeremyinseattle](https://community.brain-map.org/u/jeremyinseattle)\
**Post date:** [June 17, 2021, 11:48pm UTC](https://community.brain-map.org/t/assigning-allen-transcriptomic-taxonomy-to-external-dataset/1144/4 "2021-06-17T23:48:19Z")

</div>

Glad to hear. Details of specifically what we will be releasing and when for mapping tools are still under discussion but we’ll post about it on the Community Forum and/or the main [brain-map.org](http://brain-map.org) page when something is released.

You also asked about mapping in [scrattch.hicat](https://github.com/AllenInstitute/scrattch.hicat) and it seems the answer is yes because [there is a section about it in the tutorial](https://taxonomy.shinyapps.io/scrattch_tutorial/#section-mapping-between-datasets).
