Re: [R] Plot data from table with column and row names
Here are a few possibilities: Lines <- "GM1 GM2 GM3 GM4 GM5 Run1 1 2 1 2 3 Run2 2 1 3 2 1 Run3 2 1 1 1 1" DF <- read.table(textConnection(Lines), header = TRUE) long <- as.data.frame.table(as.matrix(DF)) head(long) with(long, b
[R] Plot data from table with column and row names
Dear All Sorry for what appears a trivial matter - I'm new to R and am stumbling ahead. I have a table of numerical data (36 rows by 12 columns) such as below: GM1 GM2 GM3 GM4 GM5 ...etc GM12 Run1 1 2 1 2 3 ... Run2 2 1 3 2 1 ... ... Run