[R] edgeR Time Series

2012-05-25 Thread rmje
I have a time serie of 10 time points, including Treated and Control samples. In total my data contains 20 columns. I have grouped Treated and Control samples into 3 categories, Early, mid and late. I want to compare The early Treated Group with the early Control group, The mid Treated with the mi

[R] edgeR: design matrix setup

2012-05-23 Thread rmje
I have a data frame like this: T0h T0.25h T0.5h T1h T2h T3h T6h T12h T24h T48h C0h C0.25h C0.5h C1h C2h C3h C6h C12h C24h C48h NM_001001130 68 9556 43 66 62 68 90 63 89 65 8558 49 81 49 76 73 48 77 NM_001001152 791

[R] ggplot simple question.

2012-05-12 Thread rmje
I have a matrix like this Name 12 3 45 NM_0010395141.033557047 0.74698795180.90045248870.8613861386 0.7952499048 NM_001039

Re: [R] Plot from function

2011-08-15 Thread rmje
Problem solved! -- View this message in context: http://r.789695.n4.nabble.com/Plot-from-function-tp3744428p3744695.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] Plot from function

2011-08-15 Thread rmje
It workes using "" But what is this: > p <- plot_mi_time(hakat, "hsa-miR-100") X1h X4h X9h X15h X18h X21h hsa-miR-100 384 1038 1503 1511 2603 2899 *Error in xy.coords(x, y, xlabel, ylabel, log) : 'x' and 'y' lengths differ* -- View this message in context: http://r.789695.n4.

Re: [R] Plot from function

2011-08-15 Thread rmje
> ls(hakat) [1] "X15h" "X18h" "X1h" "X21h" "X4h" "X9h" -- View this message in context: http://r.789695.n4.nabble.com/Plot-from-function-tp3744428p3744592.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing

[R] Plot from function

2011-08-15 Thread rmje
*I have the following function:* /plot_mi_time = function(mdata, miname) { mdata2 = mdata[row.names(hakat) == miname, ] print(mdata2) xcoords <- c(1,1,2,2,3,3,4,4,5,5,6,6) plot(c(xcoords), mdata2, xaxt="n", ylab="Expression", xlab="Time(h)", , main=miname) axis(1, at=xcoords

Re: [R] re-write plot function for ggplot

2011-06-02 Thread rmje
I have been browsing the pages about ggplot and it really doesn't deal with such problems as far as I can see. -- View this message in context: http://r.789695.n4.nabble.com/re-write-plot-function-for-ggplot-tp3565868p3568025.html Sent from the R help mailing list archive at Nabble.com. __

[R] re-write plot function for ggplot

2011-06-01 Thread rmje
Hi, I have the following function that i use to plot graphs. plot_mi_time = function(mdata, miname) { mdata2 = mdata[row.names(mir_test3) == miname, ] # print(mdata2) xcoords <- c(1,1,2,2,3,3) plot(xcoords, mdata2, xaxt="n", ylab="Expression", xlab="Time(h)", , main=miname)

[R] Plot duplicate csv columns

2011-05-31 Thread rmje
I am using the following function to plot columns from a CSV-file: plot_mi_time = function(mdata, miname) { mdata2 = mdata[row.names(mir_test) == miname, ] # print(mdata2) plot(c(1:3), mdata2, xaxt="n", ylab="Expression", xlab="Time(h)", , main=miname, pch=16) axis(1, at=c(1,2,3),labels

Re: [R] Plot rows of CSV

2011-05-30 Thread rmje
Hi, this works: apply(mtcars[c("Mazda RX4", "Merc 450SLC", "Maserati Bora"), ], 1, plot) How do you add labels and additional edit in such a plot? For instance I want mpg cyl disp hp dratwt qsec vs am gear carb to be plottet below the X-axis -- View this message in context: http://r.

Re: [R] Plot rows of CSV

2011-05-29 Thread rmje
http://r.789695.n4.nabble.com/file/n3558595/help_snap.jpg Why do R rename my rows and columns when loading it like in the image above? -- View this message in context: http://r.789695.n4.nabble.com/Plot-rows-of-CSV-tp3555898p3558595.html Sent from the R help mailing list archive at Nabble.com.

[R] Plot rows of CSV

2011-05-27 Thread rmje
http://r.789695.n4.nabble.com/file/n3555898/example.jpg Hi, I have a CSV-file (see image) that I would like to plot. I want to make a plot-function where I only plot one row at the time. I want to define which row to plot in the function based on the row-names (non-numeric) in column 1 in the C