[R] Adding a numeric to all values in the dataframe

2011-05-19 Thread Ramya
Hi there I just want to add 2 to all the values in dataframe. I tried using sapply but it seem to die all the time. Any help would be appreciated. Thanks Ramya -- View this message in context: http://r.789695.n4.nabble.com/Adding-a-numeric-to-all-values-in-the-dataframe-tp3537594p3537594

[R] Removing -Inf values from all the colums in a dataframe

2011-02-23 Thread Ramya
is it might have some differing row numbers and just ignoring the columns itself. Thanks Ramya -- View this message in context: http://r.789695.n4.nabble.com/Removing-Inf-values-from-all-the-colums-in-a-dataframe-tp3322059p3322059.html Sent from the R help mailing list archive at Nabble.com

[R] Start and end point of peak

2011-02-18 Thread Ramya
trying to make the process of finding the area under the curve automated so trying to approximate the star and end point by looking at the graph wont help me. If there is no function a little background of finding the start and end points would be helpful. Thanks Ramya -- View this message

[R] Find peaks in dataset(x,y) and area for each peak

2011-02-17 Thread Ramya
but they return me a list of values which when computed from area turns out to be huge nnumbers. In the dataset I know there are 4 peaks but i couldnt find through R. getPeaks method was kind of promising but i am not sure how to use it. Any help would be appreciated. Thanks Ramya -- View this message

[R] mean and sd for a Dataframe

2011-02-09 Thread Ramya
hi there, I need to subtract each value in the dataframe from the mean of the column and divide by the standard deviation of the column. dim(a) [1] 2201152 data2 - sapply(seq(from = 2, by = 1, length = 50), function(e){ rbind((a[[e]] - mean(a[,e]))/sd(a[,e])) }) Does this look right

Re: [R] code ok in unix R2.6 , fails in windows R 2.12

2011-02-08 Thread Ramya
help. my data SC - read.delim(/Users/Ramya/d1.txt) SC Response Expected 1 10.06235500.0 2 16.62795250.0 3 28.79325125.0 4 44.03961 62.5 5 60.19685 31.3 6 77.03876 15.6 7 80.17484 7.8 8 82.66292 3.9 FourP - drm(Response~Expected, data = SC, fct = LL.4

[R] Four paramete logistics.

2011-02-07 Thread Ramya
Hi, I have to do a four point logistics for a dataset. All I have is the absorbance value for different proteins and need to get the four Point values. I have no idea where to start. Any suggestions would be much helpful. Thanks Ramya -- View this message in context: http://r.789695.n4

Re: [R] Four parameter logistics.

2011-02-07 Thread Ramya
Hi, I decided to use the drm function for four point fitting and in the all the examples that i see spinach.m1 - drm(SLOPE~DOSE, CURVE, data = spinach, fct = LL.4()) fit1 - drm(wheeze~p(age9)+smoking+cluster(id),data=wheeze,dep=B, print=0) what are these with '~' mean? This is my data

[R] error in density plot

2011-02-02 Thread Ramya
. I have the same code doing plots for otherfiles but just one is not working. what xactly it means missing values even if there is there how can i tell it to overlook those any help would be appreciated Thanks Ramya -- View this message in context: http://r.789695.n4.nabble.com/error

Re: [R] Finding a Diff within a Dataframe columns

2011-01-31 Thread Ramya
Thanks. It helped me a lot. Ramya On Mon, Jan 31, 2011 at 6:56 AM, djmuseR [via R] ml-node+3248651-1296211736-40...@n4.nabble.comml-node%2b3248651-1296211736-40...@n4.nabble.com wrote: Hi: I won't speak for Jim, as he's more than capable of responding to this himself, but I'll give

[R] Finding a Diff within a Dataframe columns

2011-01-30 Thread Ramya
Hi, I have a Dataframe. A B C D 0.10.7 0.9 0.8 0.20 0.60 0.80 0.70 0.40 0.80 0.70 0.76 I need a resultant dataframe (A-B) (C-D) -0.6 0.1 -0.400.1 -0.40 -0.06 Any suggestion would be of a great help Thanks Ramya -- View this message in context

Re: [R] Finding a Diff within a Dataframe columns

2011-01-30 Thread Ramya
for the Dataframe? Thanks Ramya -- View this message in context: http://r.789695.n4.nabble.com/Finding-a-Diff-within-a-Dataframe-columns-tp3247943p3248066.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https

[R] Boxplot

2011-01-27 Thread Ramya
for A in Green while B in Red and alternated all the way till the end Data I am working on. a = read.delim(list.files()[3],header = T) dim(a) 22011(columns) 52(rows) boxplot(log(a[,2:52]),main = list.files()[3],col = red) This makes all the boxplots as red but i wanted it altered. Thanks Ramya

[R] help for shift.down

2010-09-15 Thread Malangi Chikkalingaiah, Ramya
0 0 0 0 0 0 0 0 0 0 0 0 0 0 [2,] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Regards, Ramya M.C TCIS|Purva|UGSI Bangalore

[R] vector help

2009-12-10 Thread Ramya
I have tow vectors one is the subset of another x is a subset of X Both are vectors with n elements X[X %in% x] would give me x again rite because it is a subset but i want all those are not in x from X. X[which(X != x)] should this do that Thanks Ramya -- View this message in context

[R] Regular expression help

2009-12-07 Thread Ramya
that as a condition UV7C11-F9-E1 MCS#9831019 MCS Lot #9512516 how do i go abt it Ramya -- View this message in context: http://n4.nabble.com/Regular-expression-help-tp954834p954834.html Sent from the R help mailing list archive at Nabble.com. __ R

[R] Dataframe help

2009-12-03 Thread Ramya
Hi there I have two dataframes Dataframe_1 column_1colum_2 121 12345 145 1675 167 2765 Dataframe_2 column_1 column2 121abc 345lmn 167efg I want a resulting dataframe 121 12345abc 167 2765 efg how do i go abt it Ramya

Re: [R] Dataframe help

2009-12-03 Thread Ramya
Thanks it worked!!! i was trying to use %in% and matching it. Ramya On Thu, Dec 3, 2009 at 2:06 PM, Peng Cai [via R] ml-node+947950-541874...@n4.nabble.comml-node%2b947950-541874...@n4.nabble.com wrote: Try this: both - merge(left, right, by.x=column1, by.y=column1) left dataset

[R] R help

2008-06-25 Thread ramya . victory
hi, I have a question could please help me. Geneset.ls - list() for(i in 1: 5452) { Geneset.ls[[i]] - read.delim(c.all.v2.5.symbols.gmt, header=T, skip=1, sep=\t) } I have a file named c.all.v2.5.symbols.gmt.it is a huge file with about 30 columns and 5452 rows. I want to write single rows