Revision: 705 http://rpy.svn.sourceforge.net/rpy/?rev=705&view=rev Author: lgautier Date: 2008-11-24 22:02:50 +0000 (Mon, 24 Nov 2008)
Log Message: ----------- updated example for recent bioconductor GO.db + changes to the rpy2.robjects class S4 Modified Paths: -------------- rpy2/branches/version_2.0.x/demos/example01.py Modified: rpy2/branches/version_2.0.x/demos/example01.py =================================================================== --- rpy2/branches/version_2.0.x/demos/example01.py 2008-11-23 13:58:44 UTC (rev 704) +++ rpy2/branches/version_2.0.x/demos/example01.py 2008-11-24 22:02:50 UTC (rev 705) @@ -26,13 +26,10 @@ r.biplot(pca, main="biplot") -if not r.require("GO")[0]: +if not r.require("GO.db")[0]: raise(Exception("Bioconductor Package GO missing")) goItem = r.GOTERM["GO:0000001"] -## goItem in an instance of an S4 class -## slots can be accessed as Python attributes -goItem.Term This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list