[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

Re: [R] distance matrix from metaMDS

2014-08-29 Thread Cara Fiore
C > > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Cara Fiore > Sent: Thursday, August 28, 2014 7:02 PM > To: r-help@r-project.org > Subject: [R] distance matrix from metaMDS > > Dear R users, > >

[R] distance matrix from metaMDS

2014-08-28 Thread Cara Fiore
Dear R users, I would like to access the distance matrix generated by metaMDS as well as use the dist function to calculate the euclidean distance for each axis in the NMDS. I am having trouble finding a way to access these variables and any help is greatly appreciated. For the distance matrix I