Re: [R] Scatterplot_row match

2010-07-15 Thread Yanwei Tan
; df1 <- subset(dframe,select=c("id2c","2c")) > df2 <- subset(dframe,select=c("id1c","1c")) > > merged <- merge(df1,df2,by.x="id2c",by.y="id1c",all=TRUE) > > plot(merged$1c,merged$2c) > > Cheers, > > Jonath

[R] Scatterplot_row match

2010-07-15 Thread Yanwei Tan
Dear all, I would like to make a scatter plot using "plot" function. I have two sample 1c and 2c, the 1st and 3rd are the ID of each gene, the 2nd and 3rd are the values. But as you can see some genes are not in the same row, i.e: ENSMUSG0001020 is in the 4th row in sample 2c and 7th row

Re: [R] How to delete the previously saved workspace restored

2010-05-31 Thread Yanwei Tan
Thanks a lot David! I use MacOSX and deleted the .RData file, then everything is fine. Best wishes, Wei On 5/31/10 2:49 PM, David Winsemius wrote: On May 31, 2010, at 5:10 AM, Yanwei Tan wrote: Dear all, I am a new user of R, here I have a question about remove the previous restored

[R] How to delete the previously saved workspace restored

2010-05-31 Thread Yanwei Tan
Dear all, I am a new user of R, here I have a question about remove the previous restored workspace. I saved the workspace last time, but R always automatically load the workspace when I open it. I try to remove the object and then close R without saving. But next time when I open R, it alw

[R] R Anova Analysis

2010-04-29 Thread Yanwei Tan
Dear all, I have a quite basic questions about anova analysis in R, sorry for this, but I have no clue how to explain this result. I have two datasets which are named: nmda123, nmda456. Each dataset has three samples which were measured three times. And I would like to compare means of them