[R] help with parsing multiple coxph() results

2006-01-17 Thread Hao Liu
different parts of coxph result? 2. Is there a way to store multiple coxph results into a data structure that can be efficiently accessed? 3. if I find a list of genes I am interested, are there efficient to plot all of them based on the survial data? Thanks Hao Liu, Ph. D [[alternative HTML

[R] help with coxph() for multiple genes

2006-01-17 Thread Hao Liu
data? Thanks Hao Liu, Ph. D [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] help with parsing multiple coxph() results

2006-01-17 Thread Hao Liu
Thanks for your reply, but I am not sure if I understand your reply right: are you saying the geneid in your post is a vector of all 22283 genes? I want to do cox fit to each and everyone of the 22283 genes and need a way to summarize it -- to do that, I need to know how to parse the result for

Re: [R] help with parsing multiple coxph() results

2006-01-17 Thread Hao Liu
data structure, like vectors Java or Perl, etc. Best Hao -Original Message- From: Fredrik Lundgren [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 2:26 PM To: Hao Liu Cc: R-help Subject: Re: [R] help with parsing multiple coxph() results Hao, I'm not sure but you have specified

[R] R GUI programming

2007-02-16 Thread Hao Liu
Hi, All: I am having a problem with handling global variable value in GUI programming, I hope R gurus can give me some advice on it. What I want to do is to read in a dataset, display some information based on the input and do some calculation on the dataset: However, I am having trouble

[R] keyboard issue in R console

2007-05-04 Thread Hao Liu
hi! All: I can do up or down arrow on keyboard to browse through command history on R console in windows. However, I can't do that on a linux xterm or console... I wonder how to make this feature work on linux... it will make working a lot more efficient... Thanks Hao

[R] Is it possible to pass a Tcl/Tk component as argument to a function

2007-05-16 Thread Hao Liu
hi! All: I wonder if someone has done this before... I am writing several functions that conduct statistical analysis using a GUI interface by Tcl/Tk, they share many identical GUI components. What I am trying to do now is to simplify the code by writing a GUI repository for all the

Re: [R] Is it possible to pass a Tcl/Tk component as argument to afunction

2007-05-17 Thread Hao Liu
, Professor Department of Sociology McMaster University Hamilton, Ontario Canada L8S 4M4 905-525-9140x23604 http://socserv.mcmaster.ca/jfox -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hao Liu Sent: Wednesday, May 16

[R] How to repress the annoying complains from X window system

2007-05-18 Thread Hao Liu
Dear All: I am running some GUI functions in linux environment, they runs fine, however I constantly get this kind of message in R console: Warning: X11 protocol error: BadWindow (invalid Window parameter) Is there a way to repress it? Or am I doing something wrong here.. it does not

Re: [R] How to repress the annoying complains from X window system

2007-05-18 Thread Hao Liu
, 2007-05-18 at 11:25 -0400, Hao Liu wrote: Dear All: I am running some GUI functions in linux environment, they runs fine, however I constantly get this kind of message in R console: Warning: X11 protocol error: BadWindow (invalid Window parameter) Is there a way to repress it? Or am I doing

[R] GUI component Margin on tkcanvas, tkframe or tktoplevel

2007-05-24 Thread Hao Liu
Dear gurus: I have a question on how to configure the margin layout on tcl/tk GUI objects like tkcanvas, tkframe or tktoplevel. For example, if I want to leave a larger margin on the left side of the GUI container, which one should I configure, the toplevel or tkcanvas or tkframe?

[R] checking for viability of a GUI component

2007-05-30 Thread Hao Liu
Dear All: The question: How do I check for existance of the GUI, instead of checking the variable of the GUI? I created a log window for several applications, they will check for the existance of log window, if it exists, append output to it, otherwise, create log window and insert to it.

[R] focus to tkwindow after a PDF window pop up

2007-07-02 Thread Hao Liu
Dear All: I currently have a TK window start a acroread window: However, when the acroread window is open, I can't get back to the TK window unless I close the acroead. I invoked the acroread window using: system(paste(acroread ,file, sep=)) anything I can do to make them both available to

Re: [R] focus to tkwindow after a PDF window pop up

2007-07-02 Thread Hao Liu
Thanks... I finally used BrowseURL(), which is how Rcmdr does this... it starts firefox and things are ok... Thanks Hao Peter Dalgaard wrote: Hao Liu wrote: Dear All: I currently have a TK window start a acroread window: However, when the acroread window is open, I can't get back

Re: [R] overlay boxplot

2007-07-10 Thread Hao Liu
On 7/10/07, Hao Liu [EMAIL PROTECTED] wrote: hi, All: I need to overlay two boxplot, I played around with points() but found it does not seem to work with boxplot, it works fine with other. Is there a way to overlay two boxplot (using different color) in R? There was a thread talking

[R] overlay boxplot

2007-07-10 Thread Hao Liu
hi, All: I need to overlay two boxplot, I played around with points() but found it does not seem to work with boxplot, it works fine with other. Is there a way to overlay two boxplot (using different color) in R? There was a thread talking about using ggplot package, however, I don't think

[R] tkfocus issue

2007-07-11 Thread Hao Liu
Dear All: I am stuck with this issue: I have a button on a TK window, once click it, it pops up a individual plot device: individual_plot - function() { tkconfigure(overlay.button, state=normal) options(locatorBell = FALSE) plotfuntype() trellis.focus(panel, 1,