Re: [R] gplot heatmaps: clustering according to rowsidecolors + key.xtickfun

2014-09-17 Thread Gregory Warnes
Oops, I forgot to mention that an bug was preventing RowSideColors from working properly. It is fixed in version 2.14.2 of gplots which I've just uploaded to CRAN and am attaching to this email. -Greg On Wed, Sep 17, 2014 at 5:12 PM, Gregory R. Warnes g...@warnes.net wrote: Hello Tim, Sorry

Re: [R] issue with ... in write.fwf in gdata

2010-11-12 Thread Gregory Warnes
Hi Jan, The issue isn't that the ... arguments aren't passed on. Rather, the problem is that in the current implementation the ... arguments are passed to format(), which doesn't understand the eol argument. The solution is to modify write.fwf() to explicitly accept all of the appropriate the

[R] Correction: RStat version 2.7.*1* now available

2008-07-18 Thread Gregory Warnes
Hello Everyone, I mis-typed the version number in the annoucement that just went out. Here is the corrected message: On Fri, Jul 18, 2008 at 6:50 AM, Gregory R. Warnes [EMAIL PROTECTED] wrote: Random Technologies LLC is pleased to announce immediate availability of RStat version 2.7.1.

Re: [R] Messge ``no visible binding''.

2008-07-01 Thread Gregory Warnes
Simply add a definition for this variable to the source for your package, e.g.; .Last.make.date - NULL And the warning should go away. -g On 6/30/08 11:44PM , Rolf Turner [EMAIL PROTECTED] wrote: I have written a function make.fun(), which I keep in my personal ``miscellaneous''

Re: [R] heatmap and continuous variable

2008-06-24 Thread Gregory Warnes
Hello Hans, Do you need *both* a categorical *and* a continuous variable, or just a continuous variable? -Greg On 6/24/08 4:51PM , Hans-Ulrich Klein [EMAIL PROTECTED] wrote: Dear All, I want to plot a heat map with annotated columns. Both functions heatmap (stats) and heatmap.2 (gplots)

[R] Survey: Commercial R companies

2008-06-04 Thread Gregory Warnes
Hello Everyone, In preparation for an upcoming talk, I would like to assemble a list of companies that provide consulting, services, products, or training for R. I am already aware of a number of such companies including (in alphabetical order): BlueReference http://inference.us

Re: [R] SQL INSERT using RMySQL

2008-04-13 Thread Gregory Warnes
Hi All, I figured out my problem. There was a combination of lack of understanding on my part, and a bit of missing functionality. I made a small patch to the rmysqlWriteTable() function passes the field names to MySQL corresponding to the data columns passed in: diff -ru

Re: [R] prediction intervals from a mixed-effects models?

2008-04-13 Thread Gregory Warnes
On Apr 13, 2008, at 1:41PM , Dieter Menne wrote: Spencer Graves spencer.graves at pdf.com writes: How can I get prediction intervals from a mixed-effects model? Consider the following example: library(nlme) fm3 - lme(distance ~ age*Sex, data = Orthodont, random = ~ 1) df3.1 -

Re: [R] lme and confidence intervals

2008-04-10 Thread Gregory Warnes
FWIW, the ci() function in the gmodels package supports generating confidence intervals for the fixed effects of lme objects. -G On Apr 8, 2008, at 1:34PM , Dieter Menne wrote: Cristian Carranza cristiancarranza_1 at hotmail.com writes: After fitting a mixed effects model to repeated

Re: [R] Reading microsoft .xls format and openoffice OpenDocument files

2008-03-10 Thread Gregory Warnes
Hello Ajay, I'm the author of the gdata package. If you send me a copy of an .XLS file that doesn't work with read.xls(), I'll see about fixing the code. -Greg On Mar 7, 2008, at 6:17AM , Ajay Shah wrote: 1. I have used gdata::read.xls() with much happiness. But every now and then

Re: [R] testing for significantly different slopes

2008-03-06 Thread Gregory Warnes
What's the problem? The problem is that I would like to do a pair-wise comparison between the multiple slopes. For example with this model: lm1 - lm (Sepal.Length ~ Species/Sepal.Width -1, data=iris) # truncated output from summary(lm1) # just the slope terms

Re: [R] compress data on read, decompress on write

2008-02-28 Thread Gregory Warnes
You might look at storing the data using R's raw data type... -G On Feb 28, 2008, at 5:38PM , Ramon Diaz-Uriarte wrote: Dear Christos, Thanks for your reply. Actually, I should have been more careful with language: its not really a sparse matrix, but rather a ragged array that results

Re: [R] Loading Data to R

2008-02-11 Thread Gregory Warnes
On Microsoft Windows systems, it may be more convenient to install and use the XLSReadWRite packge. For non-windows systems, the gdata package provides this function, but requires perl to be present. -Greg (Maintainer of gdata) On Feb 9, 2008, at 1:09PM , Henrique Dallazuanna wrote: You

Re: [R] Boxplots illustrating the fixed effects in a lme object

2007-11-30 Thread Gregory Warnes
As with many things, I suspect that someone has created plots of this sort, but no-one seems to have contributed a function to do so. If you find/create one, send it to me and I'll be glad to include it in either gmodes or gplots as appropriate. One place to check before writing one is

Re: [R] Heatmap problem

2007-11-25 Thread Gregory Warnes
Hi Allen, The dotted line is an 'extra' feature to help quantify the difference between adjacent color boxes. It can be turned off by using the argument heatmap.2(..., trace=none). For more details do library(gplots) ?heatmap.2 -G On Nov 22, 2007, at 12:03PM , affy snp

Re: [R] sequence of vectors

2007-11-19 Thread Gregory Warnes
Well, this is a natural thing to program up using 3 nested 'for', loops. Alternatively, one could use something like: combn - function( ..., l=list(...) ) + { + lens - sapply( args, length) + ncomb - prod(lens) + retval - matrix(ncol=length(args), nrow=ncomb) + for(i in

Re: [R] R as a programming language

2007-11-08 Thread Gregory Warnes
(2) More process and I/O facilities, specifically I'd like forking and something like a functionconnection which works like a textconnection but obtains input from / feeds output to a function. This would allow running an external process that receives input

Re: [R] How to test combined effects?

2007-11-02 Thread Gregory Warnes
Ooops. One typo in the estimable command: estimable(ModelFit, c('IQ:age'=1, 'IQ:I(age^2)'= 1, 'IQ:I(age^3)' = 1)) (Remove a trailing space in the second string.) -G On Nov 2, 2007, at 11:51AM , Gregory Warnes wrote: Hello Gang, First, if you would like to performa an overall test

Re: [R] textplot() in gplots causes problems (0x9)

2007-11-02 Thread Gregory Warnes
, R2.6.0 patched, RWinEdt. textplot(capture.output(summary(.model)), valign=top, halign=left, cex=0.5) Thanks in advance, Jonas On 11/1/07, Gregory Warnes [EMAIL PROTECTED] wrote: Hi Jonas, By default, textplot() attempts to automatically select a font size that is 'just big enough

[R] [R-pkgs] SASxport v. 1.2.0

2007-11-01 Thread Gregory Warnes
SASxport Version 1.2.0 is now available --- The SASxport package provides R with full support for reading and writing SAS xport format files. Version 1.2.0 corrects a critical issues with storage of negative numbers, as well as adding additional improvements

Re: [R] fit.contrast and interaction terms

2007-10-09 Thread Gregory Warnes
Hello Berta, gmodels::fit.contrasts() simply performs a single-variable contrast using the model you have specified. To perform the more involved contrasts that you are describing, there are two approaches: 1) use the estimable() function in the gmodels package. gmodels::estimable()

Re: [R] R and FDA trials

2007-10-08 Thread Gregory Warnes
Hi All, I'm excited to see that R-Core has released the document R: Regulatory Compliance and Validation Issues A Guidance Document for the Use of R in Regulated Clinical Trial Environments (http://www.r-project.org/doc/R-FDA.pdf). I know it represents a great deal of effort on the part of R