R removes 1st column (gene-id) from featureCounts count.txt table

R removes 1st column (gene-id) from featureCounts count.txt table

0

Hi all,

I generated a count.txt for sorted.bam files using featureCounts on Linux following the RNA-SEQ data analysis steps.

1- Using txt.editor, I checked the count.text file and found the following columns;

geneid  Chr Start   End Strand  Length  sample1 sample2 etc

However,

2- The first column name (geneid) was removed when I opened the file using R.

(EMPTY) Chr Start   End Strand  Length  sample1 sample2 etc
  1. both colnames(), and rownames() did not show me the geneid title.

  2. I tried changing or adding the name of the 1st column, but R changed the 2nd column name, so replacing (Chr) with geneid.

So, why did R remove the geneid name, and how can I add it in in which I can advance to edgeR.

Any help you can provide is greatly appreciated


featureCounts


RNA-Seq


R

• 35 views

Read more here: Source link