# How to get LogFC from Log2(FC)

**URL:** <https://help.galaxyproject.org/t/how-to-get-logfc-from-log2-fc/13601>\
**Category:** usegalaxy.eu support\
**Tags:** gtn-tutorial, transcriptomics, add\_a\_column1\
**Created:** [October 4, 2024, 12:23pm UTC](https://help.galaxyproject.org/t/how-to-get-logfc-from-log2-fc/13601 "2024-10-04T12:23:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![olha\_strilbytska](https://avatars.discourse-cdn.com/v4/letter/o/b9e5f3/32.png) [@olha\_strilbytska](https://help.galaxyproject.org/u/olha_strilbytska)\
**Post date:** [October 4, 2024, 12:23pm UTC](https://help.galaxyproject.org/t/how-to-get-logfc-from-log2-fc/13601/1 "2024-10-04T12:23:25Z")

</div>

Hi, please specify which tool and expression in it I can use to obtain LogFC from Log2(FC) (column 3) in my “Annotated DESeq2 results” file, resulted from Reference-based RNA-Seq data analysis. The general idea is to perform Volcano plot based on “Visualization of RNA-Seq results with Volcano Plot” tutorial. In that training “limma-voom\_luminalpregnant-luminallactate” dataset I see logFC. In “Annotated DESeq2 results” dataset Log2(FC). I used “Compute on rows (Galaxy Version 2.1)” tool with expression - sign(с3-1)\*с3, where c3 is a column in “Annotated DESeq2 results” dataset with Log2(FC) and got error.  
Thank you in advance

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [October 4, 2024, 7:51pm UTC](https://help.galaxyproject.org/t/how-to-get-logfc-from-log2-fc/13601/2 "2024-10-04T19:51:04Z")

</div>

Hi @olha_strilbytska

You can use the output you have with the tutorial. That would make use of the statistics calculated by **DESeq2**. [Hands-on: Visualization of RNA-Seq results with Volcano Plot / Visualization of RNA-Seq results with Volcano Plot / Transcriptomics](https://training.galaxyproject.org/training-material/topics/transcriptomics/tutorials/rna-seq-viz-with-volcanoplot/tutorial.html)

If you want to obtain the other values, get your count files from the prior tutorial, and process with **Limma** instead. Why? The **Compute** tool cannot replace any of these tools: **DESeq2, EdgeR, Limma.**

How to reuse the count files

The count files from the tutorial you are currently following are produced at this step. → [https://training.galaxyproject.org/training-material/topics/transcriptomics/tutorials/ref-based/tutorial.html#counting-the-number-of-reads-per-annotated-gene](https://training.galaxyproject.org/training-material/topics/transcriptomics/tutorials/ref-based/tutorial.html#counting-the-number-of-reads-per-annotated-gene).

You can then start with the **Transcriptomics End-to-End tutorial – Step 2**. Your count files will be _individual dataset files_ instead of a _count matrix_ as described in the tutorial, but that is fine – the tool can be used either way. See here → [Transcriptomics / Tutorial List](https://training.galaxyproject.org/training-material/topics/transcriptomics/) then here directly → [Hands-on: 2: RNA-seq counts to genes / 2: RNA-seq counts to genes / Transcriptomics](https://training.galaxyproject.org/training-material/topics/transcriptomics/tutorials/rna-seq-counts-to-genes/tutorial.html)

Be sure to carry over your count files **and** your reference data! If you want to create a count matrix, you can back up to Step 1 in that same series. See → [Hands-on: 1: RNA-Seq reads to counts / 1: RNA-Seq reads to counts / Transcriptomics](https://training.galaxyproject.org/training-material/topics/transcriptomics/tutorials/rna-seq-reads-to-counts/tutorial.html#create-count-matrix)

The output from the **Step 2** tutorial is the same as was used in this Volcano plot tutorial here. → [Hands-on: Visualization of RNA-Seq results with Volcano Plot / Visualization of RNA-Seq results with Volcano Plot / Transcriptomics](https://training.galaxyproject.org/training-material/topics/transcriptomics/tutorials/rna-seq-viz-with-volcanoplot/tutorial.html)

Hopefully this helps! 🙂

---

<div class="post-metadata">

**Author:** ![olha\_strilbytska](https://avatars.discourse-cdn.com/v4/letter/o/b9e5f3/32.png) [@olha\_strilbytska](https://help.galaxyproject.org/u/olha_strilbytska)\
**Post date:** [October 4, 2024, 9:39pm UTC](https://help.galaxyproject.org/t/how-to-get-logfc-from-log2-fc/13601/3 "2024-10-04T21:39:37Z")

</div>

Dear jennaj, by saying “you can use the output you have with the tutorial” you mean that the c3 column is correct to build Volcano?

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [October 7, 2024, 4:44pm UTC](https://help.galaxyproject.org/t/how-to-get-logfc-from-log2-fc/13601/4 "2024-10-07T16:44:18Z")

</div>

Hi @olha_strilbytska

Sure, you can try that.

Then if you want to replicate the results in the other tutorial, you can run your count files through Limma and do it that way. Maybe compare to see if you can understand why those are different. 🙂

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [July 22, 2025, 9:40pm UTC](https://help.galaxyproject.org/t/how-to-get-logfc-from-log2-fc/13601/5 "2025-07-22T21:40:13Z")

</div>

Closed on July 22, 2025, 9:40pm UTC


