Re: [R] paste two columns of a matrix by rows

2010-05-12 Thread Assa Yeroslaviz
THX, it's working now. On Wed, May 12, 2010 at 13:54, jim holtman wrote: > Have you tried: > > combined[,19] <- paste(combined[,19], combined[,20], sep=' ') > > On Wed, May 12, 2010 at 4:40 AM, Assa Yeroslaviz wrote: > >> Hello, >> >> I'm trying to paste two columns of a matrix >> GB_ACCGE

Re: [R] paste two columns of a matrix by rows

2010-05-12 Thread jim holtman
Have you tried: combined[,19] <- paste(combined[,19], combined[,20], sep=' ') On Wed, May 12, 2010 at 4:40 AM, Assa Yeroslaviz wrote: > Hello, > > I'm trying to paste two columns of a matrix > GB_ACCGENEGENE_SYMBOL > NM_010657NM_010657 > NM_027162NM_027162 > NM_198863NM_1988

[R] paste two columns of a matrix by rows

2010-05-12 Thread Assa Yeroslaviz
Hello, I'm trying to paste two columns of a matrix GB_ACCGENEGENE_SYMBOL NM_010657NM_010657 NM_027162NM_027162 NM_198863NM_198863 NM_010727NM_010727 These two column are a part of a 41,000 x 26 matrix. I wanted these two column to be pasted into one (the firstone, GB_ACC)