Re: [R] duplicate rows with rbind in a loop

2015-10-08 Thread Morgan, Martin
> -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Cara Fiore > Sent: Wednesday, October 07, 2015 11:20 PM > To: r-help@r-project.org > Subject: [R] duplicate rows with rbind in a loop > > Dear R users, > > I wrot

[R] duplicate rows with rbind in a loop

2015-10-07 Thread Cara Fiore
Dear R users, I wrote a simple script to change the header lines in a fasta file that contains DNA sequences in a format: >header1 sequence1 >header2 sequence2 I am basically trying to replace the "header" in this file with a line from another file (taxonomy file). In order to do that I have to