[R] how to merge GRange object?

2013-10-16 Thread John linux-user
Hello everyone, I am wondering how to simply merge two GRanges objects by range field and add the value by additional vector. For example, I have two objects below    obj1  seqnames           ranges strand |       Val                       |   [1] chr1_random [272531, 272571]      + |        8

Re: [R] R web application development

2013-03-18 Thread John linux-user
ld probably get a good start on this by looking through the archives. On Mon 18 Mar 2013 06:55:33 PM CDT, John linux-user wrote: > > Dear all, > > I am wondering if what would be the simple way to develop a simple web > application that runs R. That is, the web application allows

[R] R web application development

2013-03-18 Thread John linux-user
Dear all, I am wondering if what would be the simple way to develop a simple web application that runs R. That is, the web application allows any user upload a dataframe as a variable to my web server, a linux-based apache, and then run a R package (my package) on the variable that should ideal

Re: [R] add vectors to multiple objects

2012-08-03 Thread John linux-user
meric(dat[,3])) >  #or i$add=as.numeric(dat[,3] >    names(i)[names(i)=="add"]=substr(x,1,5) > >    print (i[1:3,]) >  }} From: David Winsemius Cc: "r-help@r-project.org" Sent: Friday, August 3, 2012 2:58 PM Subject: Re: [R] add

Re: [R] add vectors to multiple objects

2012-08-03 Thread John linux-user
to multiple objects On Aug 1, 2012, at 8:11 AM, John linux-user wrote: > Hi everyone, > > I try to add many vectors (L1,L2,L3) to many list objects (a.list, > b.list) in a workspace. Somethings like below, but it is not working. Any > suggestions will be appreciated.

[R] assign vectors to objects

2012-08-01 Thread John linux-user
Hi everyone, I try to add many vectors (L1,L2,L3) to multiple list objects (a.list, b.list) in a workspace. Somethings like below, but it is not working. Any suggestions will be appreciated. Best, John lf=ls(pattern=".lst")  for (x in listfiles) {     dat=read.delim(x,header=F)    

[R] add vectors to multiple objects

2012-08-01 Thread John linux-user
Hi everyone, I try to add many vectors (L1,L2,L3) to many list objects (a.list, b.list) in a workspace. Somethings like below, but it is not working. Any suggestions will be appreciated. Best, John lf=ls(pattern=".lst")  for (x in listfiles) {     dat=read.delim(x,header=F)     for