R removes 1st column (gene-id) from featureCounts count.txt table
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
-
both colnames(), and rownames() did not show me the geneid title.
-
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
• 35 views
Read more here: Source link