# Microarray Expression File

**URL:** <https://community.brain-map.org/t/microarray-expression-file/1741>\
**Category:** Technical\
**Tags:** transcriptomics, how-to, atlas-human-brain-adult\
**Created:** [July 26, 2022, 9:47pm UTC](https://community.brain-map.org/t/microarray-expression-file/1741 "2022-07-26T21:47:26Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![GerrikLabra](https://avatars.discourse-cdn.com/v4/letter/g/7feea3/32.png) [@GerrikLabra](https://community.brain-map.org/u/GerrikLabra)\
**Post date:** [July 26, 2022, 9:47pm UTC](https://community.brain-map.org/t/microarray-expression-file/1741/1 "2022-07-26T21:47:26Z")

</div>

Hello, I am a undergrad student at UC Davis, with no experience using the API, or SDK of the Allen Brain Institute.

I am trying to create a python module, that will match patient microarray expression data to their disease, and anatomical structure. So using my module, and downloaded microarray data, I can querey the following. “Given gene classification, “autism”, what genes are expressed?” “Given anatomy structure, “prefontal cortex”, what diseases have their genes significantly expressed here?” etc.

Now, I have the expression.csv file, and I understand the rows are the probes, and each column is a z score. However, I don’t know which column goes to which structure, or to which patient. So my question is, “how is the expression file from the downloaded microarray data organized?”

To reiterate, I downloaded all the data from the gene classification, “autism”. The expression file has no headers, detailing what anatomical structure or patient the z-scores come from. Is there a key for the csv file?

 ![Screenshot 2022-07-26 144408](https://canada1.discourse-cdn.com/flex027/uploads/brainobservatory/original/1X/7cfd00f1c51e318962019cf6512a7c56021203d7.png)

---

<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:** [July 26, 2022, 10:41pm UTC](https://community.brain-map.org/t/microarray-expression-file/1741/2 "2022-07-26T22:41:02Z")

</div>

Hi @GerrikLabra. When you download expression data using a “Download this data button” you should have a zip file with four files: “Contents.txt”, “Expression.csv”, “Columns.csv”, and “Probes.csv”. Contents.txt will provide more details, but Probes.csv tells you about the probes/genes and Columns.csv tells you about the samples, including the information you request here.

---

<div class="post-metadata">

**Author:** ![GerrikLabra](https://avatars.discourse-cdn.com/v4/letter/g/7feea3/32.png) [@GerrikLabra](https://community.brain-map.org/u/GerrikLabra)\
**Post date:** [July 26, 2022, 11:09pm UTC](https://community.brain-map.org/t/microarray-expression-file/1741/3 "2022-07-26T23:09:47Z")

</div>

Hi Jeremy,

I read the document and the help files, but it only tells me the following.

"The file Expression.csv contains expression values, calculated using zscore normalization. Each row begins with the ID of a probe.

The file Columns.csv contains metadata for each column in Expression.csv, arranged in the same order."

So, is row 1 column B of expression.csv, relating to the second row of columns.csv. Then in row 2, col B, expression, is row 1 of columns. row 3, 4, 5, etc, column B, of expression is for row 1 of columns. Ok. Then columns B-all represents in expression.csv represent all the rows in columns.csv

---

<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:** [July 27, 2022, 3:50pm UTC](https://community.brain-map.org/t/microarray-expression-file/1741/4 "2022-07-27T15:50:49Z")

</div>

Correct! Columns B,C,D,… of expression.csv correspond to rows 2,3,4,… in Columns.csv. Rows 1,2,3,… in expression.csv correspond to rows 2,3,4,… in Probes.csv and can also be matched from the id’s in column A.

---

<div class="post-metadata">

**Author:** ![altorfer92](https://avatars.discourse-cdn.com/v4/letter/a/b3f665/32.png) [@altorfer92](https://community.brain-map.org/u/altorfer92)\
**Post date:** [August 12, 2022, 6:19pm UTC](https://community.brain-map.org/t/microarray-expression-file/1741/5 "2022-08-12T18:19:02Z")

</div>

What do these value even mean?

Does -0.5 mean that this gene is very little expressed?

---

<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:** [August 12, 2022, 7:18pm UTC](https://community.brain-map.org/t/microarray-expression-file/1741/6 "2022-08-12T19:18:49Z")

</div>

These are most likely Z scores. See [this post](https://community.brain-map.org/t/z-score-in-human-brain-atlas/1354) and the related post it references for more detail.

---

<div class="post-metadata">

**Author:** ![altorfer92](https://avatars.discourse-cdn.com/v4/letter/a/b3f665/32.png) [@altorfer92](https://community.brain-map.org/u/altorfer92)\
**Post date:** [August 15, 2022, 10:25pm UTC](https://community.brain-map.org/t/microarray-expression-file/1741/7 "2022-08-15T22:25:17Z")

</div>

So in Brainspan. This fold change what dies this mean?

---

<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:** [August 15, 2022, 10:59pm UTC](https://community.brain-map.org/t/microarray-expression-file/1741/8 "2022-08-15T22:59:19Z")

</div>

In all the atlases (including Brainspan) the fold change is the ratio of expression in the target vs. contrast structures:

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/brainobservatory/original/1X/29942d321ce71277d17c3f47253d531220b3f957.png)

---

<div class="post-metadata">

**Author:** ![altorfer92](https://avatars.discourse-cdn.com/v4/letter/a/b3f665/32.png) [@altorfer92](https://community.brain-map.org/u/altorfer92)\
**Post date:** [August 18, 2022, 4:52pm UTC](https://community.brain-map.org/t/microarray-expression-file/1741/12 "2022-08-18T16:52:19Z")

</div>

![image](https://canada1.discourse-cdn.com/flex027/uploads/brainobservatory/original/1X/25a4dcd2d42c71257a1d1d1c92f59a31d94c2aa4.jpeg)

I get this mess. But why?

---

<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:** [August 29, 2022, 2:55pm UTC](https://community.brain-map.org/t/microarray-expression-file/1741/13 "2022-08-29T14:55:26Z")

</div>

You need to import them into Excel rather than directly opening, or use a text editor or a programming language. This can be resolved using a Google search.
