Re: [R] merging multiple columns from two dataframes

2011-05-04 Thread Scott Chamberlain
merge(dat, pheno, by.x = "sid", by.y = "sen") Scott On Wednesday, May 4, 2011 at 12:53 PM, 1Rnwb wrote: > Hello, > > I have data in a dataframe with 139104 rows which is multiple of 96x1449. i > have a phenotype file which contains the phenotype information for the 96 > samples. the snp name i

[R] merging multiple columns from two dataframes

2011-05-04 Thread 1Rnwb
Hello, I have data in a dataframe with 139104 rows which is multiple of 96x1449. i have a phenotype file which contains the phenotype information for the 96 samples. the snp name is repeated 1449X96 samples. I haveto merge the two dataframes based on sid and sen. this is how my two dataframes loo