Re: [R] Ordering numbers

2009-12-02 Thread Senthil Kumar M
On Wed, Dec 2, 2009 at 3:30 PM, Lisa wrote: > > Hello all, > > I have a set of numbers that looks like this: > >> id <- c(1, 1, 2, 2, 2, 3, 4, 4, 4, 4, 1, 2, 2, 2, 3, 3, 1, 1, 1, 2, 3, 4, >> 4, 4, 5, 5) >> id > [1] 1 1 2 2 2 3 4 4 4 4 1 2 2 2 3 3 1 1 1 2 3 4 4 4 5 5 > > Please ignore the bold num

Re: [R] Installing R in Ubuntu

2008-08-12 Thread Senthil Kumar M
On Tue, Aug 12, 2008 at 9:24 PM, Shreyasee Pradhan <[EMAIL PROTECTED]> wrote: > Hi, > > I am running Ubuntu on my Windows OS through VMware. > I am trying to install R in Ubuntu, but not getting with those commands, > which are there on the site. > Can anyone please tell me how to install it, stepw

Re: [R] Histogram/Bar plot graph

2008-02-06 Thread Senthil Kumar M
On Feb 6, 2008 2:35 AM, ONKELINX, Thierry <[EMAIL PROTECTED]> wrote: > You'll need to transform your dataset in a long format first. > > library(ggplot2) > n <- 5 > MyValues <- data.frame(Gene = factor(LETTERS[seq_len(n)]), ES = > rnorm(n), MEF = rnorm(n), Embrio = rnorm(n), EShyp = rnorm(n)) > MyV

[R] Histogram/Bar plot graph

2008-02-06 Thread Senthil Kumar M
Hi, I have the following data: > Myvalues Gene ES MEF Embryo ESHyp 1 GeneA -0.38509507 0.00 1.6250 1.7039921 2 GeneB0.06262914 0.00 1.6250 -0.272033 and so on... I want to plot the expression values of GeneA and GeneB in the different cell/embryo/conditions (col