[R] Heat Map

2006-02-10 Thread Vasundhara Akkineni
Hello all, I am trying to cluster similar rows of a data matrix together using hierarchical clustering and display the results in the form of a heat map. In a Heat map, is it possible to get the order in which the rows will be clustered , starting with the first rows joined into a group and then

[R] Color key in Heat map

2006-02-09 Thread Vasundhara Akkineni
Hi all, I am trying to produce a heatmap to display clustering of similar rows in the data given below. For each given row, different colors are used to represent the corresponding column value. I want to display the values of the colors in the form of a color key added to the heatmap. Is there

[R] Anova help

2006-01-30 Thread Vasundhara Akkineni
Hello all, I am trying to perform ANOVA on my sample data given below to see if any gene(column 1 stands for gene names) is differentially expressed after subjecting it to the 6 different experiments(columns 2 to 7 are experiments). Gene 14A_U133A_Detection 14B_U133A_Signal

[R] Multiple Figure environment through Java

2005-12-09 Thread Vasundhara Akkineni
I am trying to create a .jpg file with multiple graphs on it. I am creating this file through a java servlet which connects to R using RServe. In the code below, col is an int array which has a list of the col numbers of the data file whose data i have to use for plotting. c=new Rconnection();

[R] Transfer String Array from R to java

2005-12-01 Thread Vasundhara Akkineni
I have a data frame which has the following data. data-read.table(table.txt,header=TRUE) data X14A_U133A_StatPairs X14A_U133A_Detection X14B_U133A_Signal 1 AFFX-BioB-5_at403.0 409.3 2 AFFX-BioB-M_at757.3 574.4 3

Re: [R] Row-wise data retrieval

2005-11-30 Thread Vasundhara Akkineni
Thanks, Henrik. Vasu. On 11/29/05, Henrik Bengtsson [EMAIL PROTECTED] wrote: Vasundhara Akkineni wrote: I want to retrieve data row wise from a data frame. My data frame is as below: data-read.table(table.txt, header=TRUE) how can i get row-wise data? Examples: data[1,] data

[R] Row wise function call.

2005-11-30 Thread Vasundhara Akkineni
I have another issue.i have a function which calculates the log2(col i /col2) value, where i stands for columns 3,4,...etc. data-read.table(table.txt, header=TRUE) iratio-function(x){ for(n in 3:ncol(data)){ z-log2(data[x,n]/data[x,2]) } } Where x- the row number of the data frame(data). i

Re: [R] Row wise function call.

2005-11-30 Thread Vasundhara Akkineni
Thanks, Peter and Henrik. Vasu. On 11/30/05, Henrik Bengtsson [EMAIL PROTECTED] wrote: Vasundhara Akkineni wrote: I have another issue.i have a function which calculates the log2(col i /col2) value, where i stands for columns 3,4,...etc. data-read.table(table.txt, header=TRUE

[R] Row-wise data retrieval

2005-11-29 Thread Vasundhara Akkineni
I want to retrieve data row wise from a data frame. My data frame is as below: data-read.table(table.txt, header=TRUE) how can i get row-wise data? Thanks, Vasu. [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list

[R] read.table without sep

2005-11-25 Thread Vasundhara Akkineni
Hello all, I have a data file table.txt which i have attached. I am trying to pass the columns as arguments to a function totnorm where i am displaying a total normalization plot. The function is given below:

[R] Image display in R

2005-11-18 Thread Vasundhara Akkineni
Hi all, I am trying to display a matrix of plots(images), for example a 3*3 matrix of 9 image plots, such that when a user clicks on a image i can show the enlarged plot. I tried the multiple graphic device(using mfcol=c(3,3) and mfg), but it creates multiple plots in a single image file. So, i

Re: [R] [Rd] Scan data from a .txt file

2005-11-17 Thread Vasundhara Akkineni
65 F Rob 160 68 M George 180 65 M Greg 205 69 M Don't see how it doesn't work. Please give more detail on what doesn't work means. Andy From: Vasundhara Akkineni Hi all, Am trying to read data from a .txt file in such a way that i can access the column names too. For example

Re: [R] [Rd] Scan data from a .txt file

2005-11-17 Thread Vasundhara Akkineni
69 $ Gender: Factor w/ 2 levels F,M: 1 2 2 2 dat Weight Height Gender Anne 150 65 F Rob 160 68 M George 180 65 M Greg 205 69 M Don't see how it doesn't work. Please give more detail on what doesn't work means. Andy From: Vasundhara Akkineni Hi all, Am trying