[R] how can I read a xlsx file

2011-08-15 Thread albert coster
Hello, How can I read a xlsx file using xlsx package? Thanks Albert [[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.o

[R] data format

2011-07-07 Thread albert coster
Dear all, I have a input file like following : T TTTAG TTAAC GGATT ACGTA How can I make a single vector with this like following: AGTTAACGGATTACGTA Best regards Albert [[alternative HTML version deleted]] __ R-help@r-project.org

Re: [R] problem in reading a sequence file

2011-07-05 Thread albert coster
seqfile V1 1 NNATTAAAGGGC I want only NNATTAAAGGGC . Thanks Albert On Tue, Jul 5, 2011 at 1:58 PM, Ben Bolker wrote: > albert coster gmail.com> writes: > > > > > Dear all, > > > > I have a file with some sequence (seq.t

[R] problem in reading a sequence file

2011-07-05 Thread albert coster
Dear all, I have a file with some sequence (seq.txt). I am writting following code and getting error! Can please help me? seqfile<-read.table(file="seq.txt") Warning message: In read.table(file = "seq.txt") : incomplete final line found by readTableHeader on 'seq.txt' Thanks in advance Alb

[R] How to merge two files

2011-07-04 Thread albert coster
Dear all, I have two files : seq.txt: NNATTAAAGGGC scores.txt : 0.8 0.7 0.3 0.5 0.6 0.5 0.01 0.9 0.3 0.8 I want output as following A 0.8 T 0.7 T 0.3 A 0.5 A 0.6 A 0.5 G 0.01 G 0.9 G 0.3 C 0.8 Where N are deleted and only A/T/G/C are appearing in a column. Thanks Albert 0.8 0.7 0.3