Dear All, 

It might be a naive question, but I got stuck a bit. How could I read csv file into R and make the gene column had no label like the picture in attached. everytime I read my data in, the label is still there. 

thank in advance. 

regards,

synat

![enter image description here][1]

  [1]: /media/images/f7f0f656-9dc3-431b-992f-c9ed9b85
I'm going to interpret your question a bit. I'm assuming here that you just want to convert your `data.frame` to a matrix. 

```
# create a matrix from the data.frame
mat2 = as.matrix(mat[,-1]) 

# add rownames to the matrix
rownames(mat2) = mat[,1] 

# show the matrix with genes as rownames
mat2 
```

Note that if the "genes" column has duplicates, this won't work as expected since rownames must be unique. 