[R] recall variable in a loop

2014-05-10 Thread Marco Chiapello
I'd like to create several tables in which my data are stored. I did the follow: x-mydata splitted-split(x[,1],x[,2]) #Create my function for the tables fxdata-function(){ y.row=c(0,1,2,3,4,5) yy=c(rep(0,6)) w=data.frame(A3=yy,A2=yy,A1=yy,A0=yy)

[R] expression

2009-09-16 Thread Marco Chiapello
/Dear all,/// /I am very thankful, if you could tell what is the right way to write: mtext(paste(expression(R^2),round(marco2[1,i],digits=3), N° of proteins:,marco3[i]),side=4,cex=.6) in this case the output is: R^2 I tried also in this way:

[R] iTRAQ normalization

2009-02-12 Thread Marco Chiapello
Hi all, I need to normalized iTRAQ data. I have a table like this: C8/C2 A2/C2 A8/C2 1 1.2 1.1 1.5 2 0.2 0.9 0.2 3 1 0.1 0.1 4 1.1 1.1 0.9 ... ...

[R] Smoothing Spline Clustering

2008-09-11 Thread Marco Chiapello
Hi, I need to use the Smoothing Spline Clustering (SSC): genemerge.bioteam.net/SSClust-Manual.pdf But it doesn't work! If someone can try it and help me! In the folder you will find a file named SSClust.R, but, I do not why, it doesn't work. Also the SSClust.test.R file doesn't work, but it

[R] chisq

2008-08-22 Thread Marco Chiapello
Hi, the chisq value for .05 level of signif. and 3 DF is 7.81 (one-sided). Is there a way to calculated it in R (giving level of signif. and DF)? Marco __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

[R] Graph

2008-07-17 Thread Marco Chiapello
Hi, I need to draw a barplot with the value numbers on the bars. In particular I would draw a barplot(beside=T) with on the bars the value numbers and in the middle of the bars a parcentage. -- | 12.34% | 150

[R] mean

2008-06-06 Thread Marco Chiapello
Hi, I have a simple question. If I have a table and I want to have the mean for each row, how can I do?! Es: c1 c2 c3 mean 1 12 13 14 ?? 2 15 24 10 ?? ... Thanks, Marco __

[R] pie graphic

2008-04-07 Thread Marco Chiapello
Hi, My problem is: I have many data to plot as pie-chart, so the labels are not readable! Is there a way to solve my problem? For example is it possible move the labels more far to the graphic? Thanks in advance Marco __ R-help@r-project.org mailing

[R] match

2007-11-22 Thread Marco chiapello
Hi, I'm new about R. My problem is: I have 2 lists of proteins and I would compare them. I import the 2 lists like 2 different matrixs and I would that the first entry in the matrix 1 match with all entries of the matrix 2, then the second entry of the matrix 1 matchs with all entries of the