Dear friends,
 
            I have a problem:
 
When I read a file with:
 
            tmp <- read.table("tottimecourseR.txt", sep="\t", header=F,
na.strings = "")
 
all work fine:
 
            names(tmp)
  [1] "V1"   "V2"   "V3"   "V4"   "V5"   "V6"   "V7"   "V8"   "V9"
"V10"  "V11"  "V12"  "V13"  "V14"  "V15"  "V16"  "V17"  "V18"  "V19"
"V20"  "V21"
 
tmp[5,1:10]
    V1   V2   V3   V4   V5   V6   V7   V8   V9  V10
5 1.11 0.81 0.94 0.87 0.75 0.62 1.19 0.48 0.76 0.76
 
 
but if I make the transposition of tmp:
 
tmp.t<-t(tmp)
 
I obtain the numbers with "":
 
1       2       3       4       5       6       7       8       9
10      11      12      13 
" 7.25" " 0.30" "-0.20" " 0.82" " 1.11" " 1.81" "-0.12" "-2.22" " 1.51"
" 1.11" " 4.15" " 3.84" " 1.66"
 
 
and 
> names(tmp.t)
NULL
 
How can do to obtain:
 
> names(tmp.t)
"gene1" "gene2" "gene3"                                    "geneN"
 
 
best regards
 
 
 
 
Dr Alberto Goldoni
Medical Genetics Unit
S. Orsola-Malpighi Hospital
Via Massarenti n.9, Pad 11
40100 Bologna, Italy
Mobile Phone: 338-4145970
Fax: 051-636-4004
alberto.goldoni@eurogene.org
www.eurogene.org
www.lagem.it
 

	[[alternative HTML version deleted]]

