Skip to content
Prev 1489 / 21307 Next

[Bioc-devel] class declaration

You are not doing anything wrong (almost), but you need to have the 
definitions of ExpressionSet before you can use those: library(Biobase)

However, I do not think it is a very good idea to declare a class with a 
space in its name -- even if R allows that you never know where you are 
going to use this definition and a space is a very particular character 
in most programming languages -- it separates keywords, definitions, 
concepts etc

* ~: R
:: R version 2.6.1 (2007-11-26)
 > library(Biobase)
Loading required package: tools

 > setClass("my class",  representation(a="ExpressionSet", 
b="ExpressionSet"))
[1] "my class"
 >

Best,
Oleg
John Lande wrote: