Re: [R] How to plot PCA output?

2012-05-07 Thread Christian Cole
a PCA plot that works. Many thanks, Chris >Bryan > >On May 7, 2012, at 9:57 AM, Christian Cole wrote: > >> Hi Bryan, >> >> >> Many thanks for the replies. >> >> The data is gene expression data for 36 samples over 11k genes. >> >> I

Re: [R] How to plot PCA output?

2012-05-07 Thread Christian Cole
rks for both >functions: > >pairs(pcaResult$x,col=iris[,5]) > >Does this help? > >Am 07.05.2012 um 12:22 schrieb Christian Cole: > >> I have a decent sized matrix (36 x 11,000) that I have preformed a PCA >>on >> with prcomp(), but due to the large number of va

Re: [R] How to plot PCA output?

2012-05-07 Thread Christian Cole
plot.princomp >>.html >> >> scale >> The variables are scaled by lambda ^ scale and the observations are >>scaled by lambda ^ (1-scale) where lambda are the singular values as >>computed by princomp. Normally 0 <= scale <= 1, and a warning will be >>issued

Re: [R] How to plot PCA output?

2012-05-07 Thread Christian Cole
n > >*** >Bryan Hanson >Professor of Chemistry & Biochemistry >DePauw University > >On May 7, 2012, at 6:22 AM, Christian Cole wrote: > >> I have a decent sized matrix (36 x 11,000) that I have preformed a PCA >>on >> with prcomp(), but due to th

[R] How to plot PCA output?

2012-05-07 Thread Christian Cole
I have a decent sized matrix (36 x 11,000) that I have preformed a PCA on with prcomp(), but due to the large number of variables I can't plot the result with biplot(). How else can I plot the PCA output? I tried posting this before, but got no responses so I'm trying again. Surely this is a commo

[R] Help with biplot()

2012-05-04 Thread Christian Cole
Hi all, I want to plot the outcome of my PCA analysis (done with prcomp()), but I have so many variables that plotting them obscures the whole plot. How do I suppress the plotting of variables in a biplot? I only want to see the units. I appreciate both data constitute a biplot, so alternatively