View Single Post
Old 07-16-2014, 01:39 PM   #11
KYR
Member
 
Location: Toronto

Join Date: May 2012
Posts: 18
Default

Quote:
Originally Posted by dpryan View Post
You actually have 4 additional columns, since you only described 9 samples. You probably just need to:
Code:
mydata4 = read.table("matrix4.txt", header=TRUE, row.names=1)

That's what I've done originally, but it gave me the following error:

Code:
> mydata4 = read.table("matrix4.txt", header=TRUE, row.names=1)
Error in read.table("matrix4.txt", header = TRUE, row.names = 1) : 
  duplicate 'row.names' are not allowed
So I decided to dump the row.names, this is weird it never happened before.
KYR is offline   Reply With Quote