Browse code

update selectSome() to return character() on short factor (as advertised) update NEWS to print correctly with news(package='Biobase')

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

Martin Morgan authored on 28/02/2010 22:39:00
Showing 3 changed files

... ...
@@ -1,6 +1,6 @@
1 1
 Package: Biobase
2 2
 Title: Biobase: Base functions for Bioconductor
3
-Version: 2.7.4
3
+Version: 2.7.5
4 4
 Author: R. Gentleman, V. Carey, M. Morgan, S. Falcon
5 5
 Description: Functions that are needed by many other packages or which replace R functions.
6 6
 Suggests: tools, tkWidgets, ALL
... ...
@@ -1,8 +1,5 @@
1
-        **************************************************
2
-        *                                                *
3
-        *              2.11 SERIES NEWS                   *
4
-        *                                                *
5
-        **************************************************
1
+CHANGES IN VERSION 2.7
2
+----------------------
6 3
 
7 4
 USER VISIBLE CHANGES
8 5
 
... ...
@@ -10,11 +7,13 @@ USER VISIBLE CHANGES
10 7
 
11 8
     o 'snpCall' 'snpCallProbability' accessors added for SnpSet.
12 9
 
13
-        **************************************************
14
-        *                                                *
15
-        *              2.10 SERIES NEWS                   *
16
-        *                                                *
17
-        **************************************************
10
+BUG FIXES
11
+
12
+    o 'selectSome' returns short factors as character()
13
+
14
+
15
+CHANGES IN VERSION 2.5
16
+----------------------
18 17
 
19 18
 USER VISIBLE CHANGES
20 19
 
... ...
@@ -25,11 +24,9 @@ USER VISIBLE CHANGES
25 24
     o 'sampleNames,NChannelSet-method' returns a vector when the
26 25
     sample names of each channel are the same.
27 26
 
28
-        **************************************************
29
-        *                                                *
30
-        *              2.8 SERIES NEWS                   *
31
-        *                                                *
32
-        **************************************************
27
+
28
+CHANGES IN VERSION 2.1
29
+----------------------
33 30
 
34 31
 NEW FEATURES
35 32
 
... ...
@@ -44,11 +41,9 @@ BUG FIXES
44 41
 
45 42
     o openPDF now checks for NULL or zero-length pdfviewer option
46 43
 
47
-        **************************************************
48
-        *                                                *
49
-        *              2.7 SERIES NEWS                   *
50
-        *                                                *
51
-        **************************************************
44
+
45
+CHANGES IN VERSION 2.0
46
+----------------------
52 47
 
53 48
 SIGNIFICANT USER-VISIBLE CHANGES
54 49
 
... ...
@@ -70,10 +65,14 @@ BUG FIXES
70 65
 NEWLY DEFUNCT CLASSES, METHODS, FUNCTIONS, DATA SETS
71 66
 
72 67
     o Defunct S4 Classes
73
-       1) annotatedDataset - class definition still exits to support phenoData conversion
68
+
69
+       1) annotatedDataset - class definition still exits to support
70
+       phenoData conversion
74 71
        2) exprMatrix - removed class definition
75
-       3) exprSet - class definition still exists to allow conversion to ExpressionSet
76
-       4) phenoData - class definition still exists to allow conversion to AnnotatedDataFrame
72
+       3) exprSet - class definition still exists to allow conversion
73
+       to ExpressionSet
74
+       4) phenoData - class definition still exists to allow
75
+       conversion to AnnotatedDataFrame
77 76
 
78 77
     o Defunct Generics/Methods
79 78
        1) addVarMetadataEntry - S4 generic definition removed
... ...
@@ -260,6 +260,8 @@ selectSome <- function(obj, maxToShow=5) {
260 260
       nms <- obj[c(1:bot, top:len)]
261 261
       c(as.character(nms[1:bot]), "...", as.character(nms[-c(1:bot)]))
262 262
   }
263
+  else if (is.factor(obj))
264
+      as.character(obj)
263 265
   else obj
264 266
 }
265 267