Search
Question: name of column in R
0
gravatar for ed_isfahani
4 months ago by
ed_isfahani0 wrote:

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.

ADD COMMENTlink modified 4 months ago by Wolfgang Huber13k • written 4 months ago by ed_isfahani0
0
gravatar for Wolfgang Huber
4 months ago by
EMBL European Molecular Biology Laboratory
Wolfgang Huber13k wrote:

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

ADD COMMENTlink written 4 months ago by Wolfgang Huber13k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 179 users visited in the last hour