[R] aadding labels to panel plots

2010-02-28 Thread gauravbhatti
hi I have a panel with 12 plots . All the plots have their own x and y labels as well as titles. I want add additional labels a, b, c, d, e,on the upper left side of each plot in the panel. Please suggest how I can do that. Gaurav -- View this message in context:

[R] Linear models interaction

2010-02-25 Thread gauravbhatti
My data looks like following: cera3[i, ] batch lcl29 pdt Untreated 3.185867 1 0 0 Untreated.4 3.185867 0 0 0 LCL29 4.357552 1 1 0 LCL29.6 3.446256 0 1 0 PDT 2.765535 1 0 1 PDT.5 3.584963

[R] paired wilcox test on each row of a large dataframe

2010-02-12 Thread gauravbhatti
hI I have to calculate V statistic for each row of a large dataframe (28000). I can not use multtest package for paired wilcox test. I have been using for loop which are. Is there a way to speed the computation with another method like using apply or tapply? My data set looks like this:

[R] Lag correlation

2009-11-24 Thread gauravbhatti
Hi I have a data frame which looks like : hs361224 hs426435 hs903411 hs205893 sPP13_2 hs792300 hs747811 2.5 0.837 -0.7684995 -0.4209555 -0.4996375 1.363161 -0.259850 -0.503650 5 1.8617705 -0.5842845 -0.3615625 -0.9784640 1.862586 2.104920 1.192305 24

[R] plotting huge data

2009-08-07 Thread gauravbhatti
I have a data frame with 25000 rows containing two columns Time and Distance. When I plot a simple distance versus time plot, the plot is very confusing showing no general trend because of the large data. Is there any way I can improve the plot by lets say using moving average as in EXCEL ?

[R] Re al Time PCR data analysis help

2009-07-20 Thread gauravbhatti
Hi I need help since I have never worked on RT PCR data before . I have 8 data files each corresponding to a single pcr run. Each file also represent 10 samples(5 cancer and 5 healthy) belonging to a unique gene. I have 7 unique genes and 1 reference (total 8 files). Can any body help me with

Re: [R] Re al Time PCR data analysis help

2009-07-20 Thread gauravbhatti
Unknown 31.3386 0.296 Andrej Kastrin-3 wrote: Check out qpcR package. Andrej gauravbhatti wrote: Hi I need help since I have never worked on RT PCR data before . I have 8 data files each corresponding to a single pcr run

[R] help needed

2008-12-05 Thread gauravbhatti
I need some help in comparing t values avalaible from two data frames. I have two data frames with each containing a column for t valuse For example one data frame looks like as follows IDlogFCt P.Value adj.P.Val B 39 a39 -1.737037118

[R] help needed

2008-11-23 Thread gauravbhatti
hi I have a matrix (10x10) and I have to perform t tests on each row by considering first 5 elements as data set A and next 5 as data set B. This part is easy, However after one t test on each row, I have to randomly permute each column to get new values for each row and then perform another

Re: [R] help needed

2008-11-23 Thread gauravbhatti
values in p. this is done 100 times. Please comment if you think there is better way. gauravbhatti wrote: hi I have a matrix (10x10) and I have to perform t tests on each row by considering first 5 elements as data set A and next 5 as data set B. This part is easy, However after one t test

[R] help neede fast

2008-11-18 Thread gauravbhatti
Hi all can any one of you write a script for the following problem Let X be a matrix of random normal values (mean =0; sd=1) (see rnorm() function) having 10 columns and N=100 rows. Let the first row in the matrix be (1,1.5,1.4,3,1.9,4,4.9,2.6,3.2,2.4). Assume that the first 5 columns of data