I am trying to convert my txt file into a data.matrix before generating a heatmap out of it bur when I try data.matrix function, resulting matrix only consists of two columns; sample numbers and all the other information (basemean, log2foldchange, pvalue etc.) packed into a single column. How do I fix this?
Thank you so much,
this is where you can find the .txt file I am using. https://www.dropbox.com/s/n13ny5ropeg8p83/deseq2uaa.txt?dl=0
commands I used;
install.packages("gplots")
library(gplots)
x <- read.csv("deseq2uaa.txt", check.names= FALSE)
y <- data.matrix(x)
Please post your actual code