Hi all,
Most of the analyses I do are short little once-and-done type things that are
easily encapsulated in a .Rnw file. However, I sometimes end up with projects
that take an extended amount of time. Usually these projects are not easily
encapsulated in an .Rnw file, so I have been using a
The dist object for the rows of the matrix will be 16000x16000, which if
there are any copies will easily suck up all of your RAM.
A more pertinent question is what use would a heatmap of that size be?
How do you plan to visualize 16000 rows? In a pdf? You certainly
couldn't publish such a
Hi Alberto,
It took me approximately 20 seconds to find all the arguments for this
function. Here were the steps I took.
1.) Look at R help page ?tkgetOpenFile
2.) Hmmm. Lots of functions, but little info. But wait, what's this?
Details:
[snip]
There are far too many of these
Here is an excellent choice:
http://www.amazon.com/exec/obidos/tg/detail/-/0387251464/qid=1129910139/sr=8-1/ref=pd_bbs_1/002-2566394-3995236?v=glances=booksn=507846
Best,
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center
To add to Spencer's reply, I have two things.
First, if you look back at your earlier list entries, Uwe asked you
politely at least twice to read the posting guide. The reason for this
is that the posting guide gives guidance to allow you to post questions
that are clear enough to answer, and
This is a question that should be asked on the bioconductor mailing list
rather than R-help.
Quick answer:
library(reposTools)
install.packages2(whateverchiptypethisiscdf)
Where you have to replace whateverchiptypethisiscdf with e.g.,
hgu133acdf.
HTH,
Jim
James W. MacDonald
Affymetrix and
For row or column means with a matrix of any size, you will be much
better served by using
rowMeans()
colMeans()
Best,
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623
Since both of the packages you mention are part of Bioconductor, you
would do well to re-post in the correct list
([EMAIL PROTECTED]).
Best,
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI
Works for me with Firefox 0.8.
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623
Prof Brian Ripley [EMAIL PROTECTED] 06/17/04 02:10PM
Works for me. Did it work with Firefox 0.8?
I don't know of a good tutorial, but I find that looking at ?par is
usually good for answering most graphing questions.
To resize axes, look at xlim and ylim under ?par. As for changing the
axes, you can suppress the axes using e.g., for the x-axis xaxt=n in
your plotting function call, and then
Plus, do you really want your system call to be
system(c:\\dir g:\\simulation\\at)
not sure what you want, but that is what you will get.
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
If you check the max memory used, I bet it is the same as your
memory.limit. Try
memory.size(max=TRUE)
to see how much memory was allocated. You also might try
--max-mem-size=2000M. R will not actually be able to get all 2 Gb of
ram, but I think it will be more than 1.5 Gb you are allowing now.
Note that package.descripton() is deprecated in R-1.9.0. You have to use
packageDescription() instead.
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623
Sundar Dorai-Raj
And a closer examination of the help page would lead you to this:
options(show.error.messages=FALSE)
stop()
which is what I believe you want
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI
How many chips you can read is a function of how much RAM you have and
what chip it is. On a unix/linux box you will be able to read in and
process 143 of the HG-u95aV2 chips if you have about 2 Gb RAM. For the
larger U133A chips (RAE/MOE are about the same size), you will probably
need almost
You can get a reasonable (if relatively comedic) translation of the page
by doing a google search for 'Statistiques avec R', and then choosing
Translate this page.
Although oddly enough the translator only seems to do each page up to a
point and then it reverts to French...
Jim
James W.
You don't make a histogram with a data.frame. You have to pass a vector
of numeric values to hist(). If you want to make a histogram using a
*column* of a df, you have to subset the df in the call to hist.
hist(mydata[,1]) -or- hist(mydata[,year])
hist(mydata[,2]) - or- hist(mydata[,snow.cover])
siggenes is part of Bioconductor, and the author is Holger Schwender.
You should ask Holger first ([EMAIL PROTECTED]), and the BioC list
second.
Best,
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann
Hi All,
I am having a problem with Rcmd build using R-devel on WinXP. If I try
to build a package using the --binary flag, I get the following error:
Error: cannot change to directory ' 'c:/TEMP/Rbuild.' '
Where is some number. I can get Rcmd build to work using R-1.7.1
and R-1.8.0,
You are using the xlim and ylim arguments incorrectly. You should be doing something
like xlim=c(0.5, nc+0.5), ylim=c(0.5, nc+0.5). The error message gave you this hint.
HTH,
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical
I'm trying to grasp this: if you're saying (or are you saying) that
the
only way to have if() know that an else will be present is to put it
on the
same line as the closing curly brace of the if() (compound)
statement. But
if I look at some code from, e.g., aov and lm, I see plenty
You are doing something wrong.The p-value should be calculated using
phyper alone.
HTH,
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623
Aurora Torrente [EMAIL PROTECTED]
which(v==max(v)) should do the trick.
HTH,
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623
[EMAIL PROTECTED] 11/14/03 02:05PM
Is there a function in R, which would return
Look at xaxt and yaxt under ?par, as well as ?axis.
HTH,
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623
M. Edward (Ed) Borasky [EMAIL PROTECTED] 11/12/03 17:56 PM
Is there
There is no threshold for fdr. The adjusted p-values give the expected
proportion of false positives for all comparisons with similar p-values
or smaller. In other words, if you choose a p-value of 0.05, you would
expect that ~5% of the tests with a p-value of 0.05 or smaller are false
positives.
x[x0] - NA
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623
Yulei He [EMAIL PROTECTED] 10/27/03 04:05PM
Hi, there.
Can I ask how to set up missing values in R? Suppose I want to
Thomas Lumley [EMAIL PROTECTED] 10/23/03 04:26PM
On Thu, 23 Oct 2003, James MacDonald wrote:
I believe you want plot(blah blah, col=palette(rainbow(13)))
No. palette() sets the default palette, so
eg
palette(rainbow(13))
plot(1:13,col=1:13)
will plot in the new palette.
-thomas
You need to use the devel versions of Bioconductor packages with
R-1.8.0
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623
r.ghezzo [EMAIL PROTECTED] 10/24/03 09:55AM
I just
I believe you want plot(blah blah, col=palette(rainbow(13)))
HTH,
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623
Anna Pryor [EMAIL PROTECTED] 10/23/03 02:19PM
I've tried
If you data.frame is called df, then
names(df) - c(new names here)
You can also do individual names
names(df)[1] - new name for first column
HTH
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor
You need to make sure that all the tools are in your path, with the R
tools before perl and mingw. Set this by right clicking My Computer,
then properties, advanced, environment variables, then edit the path in
the system variables window. Once you have done that, you should be able
to download
This is a question for the Bioconductor listserv, not R-help. In
addition, all current versions of affy will automagically download and
install any cdfenvs that you may need, so there is no need to do this
manually. If anything, you may need to update your version of affy.
Jim
James W.
Using R-1.8.0 (d/l and compiled on 2003-10-01) on WinXP, I seem to be
unable to determine the maximum memory allocated to R. The help still
says to use memory.limit(size=NA), but this returns the value NA.
In addition, I have set --max-mem-size=2G but I run out of memory
somewhere around 500Mb
Aren't the headers usually in the devel package (e.g.,
fftw-devel-2.1.5-0.dag.rh73.i386.rpm)? You might try installing the
devel package too.
HTH
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI
It's actually in the Hmisc package. The error looks like Hmisc hasn't
been attached yet, so you might try library(Hmisc) first.
In addition, it does appear from the help file that you need SAS
installed to output the ASCII files that are required to import the
data.
HTH,
Jim
James W.
getMethods(normalize) should do the trick.
Best,
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623
Mathieu Drapeau [EMAIL PROTECTED] 09/30/03 02:14PM
Hi,
I would like to
I don't think there is a compiled version of this library, so you will
have to compile and install yourself. See question 3.1 of the R for
Windows FAQ.
In addition, the fact that there is not a compiled version on CRAN may
indicate a problem with this package on Windows.
HTH,
Jim
James W.
If you read the data into a data frame, you should be able to simply pass the name of
the data frame in a call to boxplot.
my.data - read.delim(mytext.txt)
boxplot(my.data)
If you only want a boxplot of column 5
boxplot(my.data[,5])
See ?boxplot for other options to make the boxplot look the
I think you are confused. As sample size increases, the variance of an
estimate based on that sample will decrease asymtotically to zero (e.g.,
the standard error of the mean will go to zero). However the variance of
the sample itself will not change. Any difference you see in your data
is simply
Either ?savePlot and import using Import -- Picture -- File in
Word/PowerPoint
or right click, copy as..., and paste in Word/Power point
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
I get similar results as Philippe on WinXP (1.33 GHz laptop, 512 Mb
RAM).
R 1.7.1
2.86 sec
7.82 sec
R 1.7.0
0.64 sec
1.64 sec
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
HTTP_PROXY issues aside, if all you want to do is install Bioconductor,
simply download the latest bioconductor_xx.tar.gz and use R CMD
INSTALL.
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI
tst - apply(my.mat, 2, mean) 1
my.mat[,tst]
Will return only columns with mean 1
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623
[EMAIL PROTECTED] 07/22/03 01:53PM
I
Segments should do what you want. Try ?segments for help.
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623
Carlos Rios [EMAIL PROTECTED] 07/16/03 12:26PM
I was wondering if
You probably need to change the directory to the one that contains the
text file you are reading in. This is done under the File menu.
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
45 matches
Mail list logo