name of column in R
1
0
Entering edit mode
@ed_isfahani-12190
Last seen 7.5 years ago

Hi,

I want to import data to R with the columns name of these:

#ID  study1cond1  study1cond1  study1con2  study1con2  study2con1  study2con1  study2con1

#A        430                30                     0                    76                 45                 120            230

#B         34                 35                    34                 124                67                   0               84

 But after importing the columns` name change to:

#ID  study1cond1  study1cond1.1  study1con2  study1con2.1  study2con1  study2con1.1  study2con1.2

#A        430                30                     0                    76                 45                 120            230

#B         34                 35                      34                 124                67                   0               84

 

it changes the names with addig (dot+number)

What should I do for that?I wants to show replicate by the name of column.

software error deseq metarnaseq HTSFilter columns • 1.2k views
ADD COMMENT
0
Entering edit mode
@wolfgang-huber-3550
Last seen 4 months ago
EMBL European Molecular Biology Laborat…

You might want to read the R intro, esp. the chapter Reading data from files, and you might enjoy the readr package.

ADD COMMENT

Login before adding your answer.

Traffic: 613 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6