git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/convert@63444 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -1,10 +1,10 @@ |
1 | 1 |
Package: convert |
2 |
-Version: 1.31.0 |
|
2 |
+Version: 1.31.1 |
|
3 | 3 |
Title: Convert Microarray Data Objects |
4 |
-Author: Gordon Smyth <smyth@wehi.edu.au>, |
|
5 |
- James Wettenhall <wettenhall@wehi.edu.au>, |
|
6 |
- Yee Hwa (Jean Yang) <jean@biostat.ucsf.edu>, |
|
7 |
- Martin Morgan <mtmorgan@fhcrc.org>Martin Morgan |
|
4 |
+Author: Gordon Smyth <smyth@wehi.edu.au>, |
|
5 |
+ James Wettenhall <wettenhall@wehi.edu.au>, |
|
6 |
+ Yee Hwa (Jean Yang) <jean@biostat.ucsf.edu>, |
|
7 |
+ Martin Morgan <mtmorgan@fhcrc.org>Martin Morgan |
|
8 | 8 |
Maintainer: Yee Hwa (Jean) Yang <jean@biostat.ucsf.edu> |
9 | 9 |
Depends: R (>= 2.6.0), Biobase (>= 1.15.33), limma (>= 1.7.0), marray, utils, methods |
10 | 10 |
Description: Define coerce methods for microarray data objects. |
... | ... |
@@ -108,11 +108,14 @@ setAs("MAList", "ExpressionSet", function(from) |
108 | 108 |
# Robert Gentleman |
109 | 109 |
# 22 November 2006 |
110 | 110 |
{ |
111 |
- nM <- new("MIAME") |
|
112 |
- notes(nM) <- list("Converted from MAList object, exprs are M-values") |
|
113 |
- new("ExpressionSet", exprs = as.matrix(from$M), |
|
114 |
- phenoData = new("AnnotatedDataFrame", data=from$targets), |
|
115 |
- experimentData = nM) |
|
111 |
+ theExperimentData <- new("MIAME") |
|
112 |
+ notes(theExperimentData) <- list("Converted from MAList object, exprs are M-values") |
|
113 |
+ theExprs <- as.matrix(from$M) |
|
114 |
+ thePhenoData <- from$targets |
|
115 |
+ rownames(thePhenoData) <- colnames(theExprs) |
|
116 |
+ new("ExpressionSet", exprs = theExprs, |
|
117 |
+ phenoData = new("AnnotatedDataFrame", data=thePhenoData), |
|
118 |
+ experimentData = theExperimentData) |
|
116 | 119 |
}) |
117 | 120 |
|
118 | 121 |
|