# "Only 2 columns of data: need at least 3" error when trying to use Limma for RNA-Seq data

**URL:** <https://help.galaxyproject.org/t/only-2-columns-of-data-need-at-least-3-error-when-trying-to-use-limma-for-rna-seq-data/11926>\
**Category:** usegalaxy.org support\
**Tags:** limma\_voom\
**Created:** [March 14, 2024, 5:57am UTC](https://help.galaxyproject.org/t/only-2-columns-of-data-need-at-least-3-error-when-trying-to-use-limma-for-rna-seq-data/11926 "2024-03-14T05:57:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![auerbachsd](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@auerbachsd](https://help.galaxyproject.org/u/auerbachsd)\
**Post date:** [March 14, 2024, 5:57am UTC](https://help.galaxyproject.org/t/only-2-columns-of-data-need-at-least-3-error-when-trying-to-use-limma-for-rna-seq-data/11926/1 "2024-03-14T05:57:43Z")

</div>

Hello there, I am trying to generate some DE tables using RNA-Seq data in Limma but I am getting this error message:

Warning message:  
In Sys.setlocale(“LC\_MESSAGES”, “en\_US.UTF-8”) :  
OS reports request to set locale to “en\_US.UTF-8” cannot be honored  
Error in plotMDS.default(y, top = top, labels = labels, pch = pch, cex = cex, :  
Only 2 columns of data: need at least 3  
Calls: plotMDS → plotMDS.DGEList → plotMDS → plotMDS.default

Is there something missing in my dataset? I can share my history if needed.

---

<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:** [March 14, 2024, 8:05pm UTC](https://help.galaxyproject.org/t/only-2-columns-of-data-need-at-least-3-error-when-trying-to-use-limma-for-rna-seq-data/11926/2 "2024-03-14T20:05:11Z")

</div>

Welcome, @auerbachsd

The error message is directly from the underlying R Bioconductor tool, and it is reporting that it expected a 3 column file for one of the inputs, but the file submitted only had two columns.

Where to look for examples:

1. Scroll down on the tool form to the Help section. I see two possible three column input files. If you are using one of those, compare your file(s) to the examples and you’ll probably spot the problem.

2. Scroll down a bit more to find links to any GTN tutorials that happen to include this tool (not always available for every tool, but this one has the link). This will have example data, and hands-on training, and workflow(s) that you can use as a template when running your own analysis.

3. Try a search at the original tool authors resources – links are usually also included in the Help section of tool forms, but a plain internet search can also find related resources/discussions.

Limma has general usage help at the Bioconductor support site, and in their tool vignettes. This means that a search at the support site with parts of the error message might show some more clues about how the data is processed inside the tool, which can help with organizing your experiment. The overall processing will be the same as when running the tool in Galaxy versus directly (the wrapper in Galaxy is parsing your data and sending it to the same underlying tool for manipulations, then writing the results back inside Galaxy). Sometimes worth a look …but come back here for most Q&A, especially if this is new to you. [https://support.bioconductor.org/](https://support.bioconductor.org/)

* * *

* * *

Please give those a review first. If you get stuck, you can share back your work for more help. How-to is in the banner at this site, or see directly →

- [Troubleshooting resources for errors or unexpected results](https://help.galaxyproject.org/docs?topic=42)
- [How to get faster help with your question](https://help.galaxyproject.org/docs?topic=11469)

---

<div class="post-metadata">

**Author:** ![auerbachsd](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@auerbachsd](https://help.galaxyproject.org/u/auerbachsd)\
**Post date:** [March 15, 2024, 6:26am UTC](https://help.galaxyproject.org/t/only-2-columns-of-data-need-at-least-3-error-when-trying-to-use-limma-for-rna-seq-data/11926/3 "2024-03-15T06:26:38Z")

</div>

Hi jennaj, I made the change and it works perfectly! Thank you for your help!
