here my problem in R:
mtable <- read.table(paste(".folder_1362704682.4574","/groups.txt",sep=""),sep="\t",comment.char='',skip=0, header=TRUE, fill=TRUE,check.names=FALSE)
The first folder part or paste() is normally wrapped by a var, for debugging purpose -> static.
I always get the message:
Error in read.table(paste(".frunc_1362704682.4574", "/groups.txt", sep = ""), :
duplicate 'row.names' are not allowed
But if i look to the file with this header:
root_node_name node_name node_id #genes_in_root_node #genes_in_node #genes_with_variable=1_in_root_node #genes_with_variable=1_in_node raw_p_underrepresentation_of_variable=1 raw_p_overrepresentation_ of_variable=1 FWER_underrepresentation FWER_overrepresentation FDR_underrepresentation FDR_overrepresentation
I can not see any duplicates.. :( I've read in another discussion about that i should try :
mtable <- read.table(paste(".frunc_1362704682.4574","/groups.txt",sep=""),sep="\t",comment.char='',skip=0, header=TRUE, fill=TRUE,check.names=FALSE,**row.names=NULL**)
That works nice, but after that all headings are shifted one column to the right:
> head(mtable, n=1)
row.names root_node_name node_name
1 molecular_function trans-hexaprenyltranstransferase activity GO:0000010
node_id #genes_in_root_node #genes_in_node
1 17668 2 2419
#genes_with_variable=1_in_root_node #genes_with_variable=1_in_node
1 0 0.74491
raw_p_underrepresentation_of_variable=1
1 1
raw_p_overrepresentation_of_variable=1 FWER_underrepresentation
1 1 1
FWER_overrepresentation FDR_underrepresentation FDR_overrepresentation
1
Any ideas to get it right? :(
EDIT:
Okay as a comenteer said, this is mainly a problem with thr rows.. stupid as iam i thought it ight come from the header. but i dont wanna name the rows, it just should read them easy in... o.O cant be that hard , or?
File-content:
molecular_function trans-hexaprenyltranstransferase activity GO:0000010 17668 2 2419 0 0.74491 1 1 1 -1 -1
molecular_function single-stranded DNA specific endodeoxyribonuclease activity GO:0000014 17668 5 2419 0 0.478885 1 1 1 -1 -1
molecular_function lactase activity GO:0000016 17668 1 2419 0 0.863086 1 1 1 -1 -1
molecular_function alpha-1,3-mannosyltransferase activity GO:0000033 17668 3 2419 0 0.64291 1 1 1 -1 -1
molecular_function tRNA binding GO:0000049 17668 27 2419 7 0.975698 0.0663832 1 1 -1 -1
molecular_function fatty-acyl-CoA binding GO:0000062 17668 20 2419 6 0.986407 0.0460431 1 1 -1 -1
molecular_function L-ornithine transmembrane transporter activity GO:0000064 17668 1 2419 0 0.863086 1 1 1 -1 -1
molecular_function S-adenosylmethionine transmembrane transporter activity GO:0000095 17668 1 2419 0 0.863086 1 1 1 -1 -1