Thanks you all for the contributions! I will send the data back to the computer guys who collect data yesterday. Actually, the data can be open in excel and txt editor. after replace some ";",
> gene_name<-read.table("/home/cdu/operon/id_name_gh5.txt", sep="\t", skip=0, header=FALSE, fill=TRUE) > dim(gene_name) [1] 1205 3 It is now 1205 lines. It needs to be cleaned. Thanks so much for the great help and input, I am afraid I use much of your time. Thanks! On Tue, May 25, 2010 at 9:27 AM, David Winsemius <dwinsem...@comcast.net>wrote: > Have you compared them to > > tail(gene)_name, 2) > > Come on, man, show some initiative. > > On May 25, 2010, at 12:12 PM, Changbin Du wrote: > > 644727344 ABC-2 type transporter ABC-2 type transporter > 644727345 conserved hypothetical protein conserved hypothetical > protein > > Here is the last two lines of the file id_name_gh5.txt. > > > > On Tue, May 25, 2010 at 8:57 AM, David Winsemius > <dwinsem...@comcast.net>wrote: > >> >> On May 25, 2010, at 11:42 AM, Changbin Du wrote: >> >> HI, Dear R community, >>> >>> My original file has 1932 lines, but when I read into R, it changed to >>> 1068 >>> lines, how comes? >>> >> >> We are being asked to investigate this quest, how? >> >> Have you looked at the last line to see if it looks like gene_name? >> >> Isn't this isomorphic to genetics questions? What sort of mutation is it? >> Deletion? Abnormal stop codon? Figure out where the transcription process >> went wrong. This sort of analysis would appear to be right up the alley of >> someone doing genetics. >> >> >> >>> >>> c...@nuuk:~/operon$ wc -l id_name_gh5.txt >>> 1932 id_name_gh5.txt >>> >>> >>> gene_name<-read.table("/home/cdu/operon/id_name_gh5.txt", sep="\t", >>>> >>> skip=0, header=F, fill=T) >>> >>>> dim(gene_name) >>>> >>> [1] 1068 3 >>> >>> >>> -- >>> >> >> >> David Winsemius, MD >> West Hartford, CT >> >> > > > -- > Sincerely, > Changbin > -- > > > > > David Winsemius, MD > West Hartford, CT > > -- Sincerely, Changbin -- Changbin Du DOE Joint Genome Institute Bldg 400 Rm 457 2800 Mitchell Dr Walnut Creet, CA 94598 Phone: 925-927-2856 [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.