[R] PCA in predefined Groups??

chuck.01 CharlieTheBrown77 at gmail.com
Sat Mar 10 21:33:51 CET 2012

Without taking away all the fun of trial and error, and exploration in R... I
will direct you to this website which I found invaluable when I first began
to use R. 

one way would be to use:
plot(Yourdata, type="n")
and then 3 text() or points() statements to plot the groups represented by
different colors.

Good luck!

SHAFI wrote
> Hi
> This has a simple answer but it has been eluding me nonetheless. 
> I have been trying to build a PCA plot from scratch with the ability to
> plot predefined groups in different colors.  I can plot PCA but I want it
> to plot with predefined groups(samples) with top 100 expressed genes. I
> have three groups. Can any body help me keeping in mind that the user is
> just beginner in R.
> Thanks in advance

View this message in context: http://r.789695.n4.nabble.com/PCA-in-predefined-Groups-tp4462536p4462765.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list