Browse code

Add .Defunct show method for CNSetLM.

Tell users to use as(object, 'CNSet') to coerce old objects to new object.

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/crlmm@49897 bc3139a8-67e5-0310-9ffc-ced21a209358

Rob Scharp authored on 04/10/2010 02:22:04
Showing 2 changed files

... ...
@@ -29,6 +29,7 @@ Collate: AllGenerics.R
29 29
 	 AllClasses.R
30 30
 	 methods-AssayData.R
31 31
 	 methods-CNSet.R
32
+	 methods-CNSetLM.R
32 33
 	 methods-eSet.R
33 34
          methods-SnpSuperSet.R
34 35
          cnrma-functions.R
35 36
new file mode 100644
... ...
@@ -0,0 +1,3 @@
1
+setMethod("show", "CNSetLM", function(object){
2
+	.Defunct(msg="CNSetLM class is defunct -- use 'CNSet' class instead.  One can coerce a CNSetLM object to CNSet using as(object, 'CNSet')")
3
+})