Browse code

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

unknown authored on 08/04/2009 02:01:07
Showing 3 changed files

... ...
@@ -110,30 +110,30 @@ is decoded and scanned
110 110
 
111 111
 * added cdfName as argument to computeCopynumber
112 112
 
113
-2009-04-07 B Carvalho - committed versioni 1.0.74
113
+2009-04-07 B Carvalho - committed version 1.0.74
114 114
 
115 115
 * Added documentation for snprma.
116 116
 
117 117
 * Removed 'svn:executable' property of readIdatFiles.Rd
118 118
 
119
-2009-04-07 Rob Scharpf - committed versioni 1.0.75
119
+2009-04-07 Rob Scharpf - committed version 1.0.75
120 120
 
121 121
 * modifications to chromosome X copy number estimation
122 122
 
123
-2009-04-07 Rob Scharpf - committed versioni 1.0.76
123
+2009-04-07 Rob Scharpf - committed version 1.0.76
124 124
 
125 125
 * fixed bug in cnrma
126 126
 
127
-2009-04-07 Rob Scharpf - committed versioni 1.0.77
127
+2009-04-07 Rob Scharpf - committed version 1.0.77
128 128
 
129 129
 * cnrma accepts other cdfNames
130 130
 
131 131
 * fixed bug in cnrma
132 132
 
133
-2009-04-07 Rob Scharpf - committed versioni 1.0.78
133
+2009-04-07 Rob Scharpf - committed version 1.0.78
134 134
 
135 135
 * added conf as argument to instantiateObjects
136 136
 
137
+2009-04-08 Matt Ritchie - committed version 1.0.79
137 138
 
138
-
139
-
139
+* fixed bug in readIDAT and readIdatFiles from reading in RunInfo header information
... ...
@@ -1,7 +1,7 @@
1 1
 Package: crlmm
2 2
 Type: Package
3 3
 Title: Genotype Calling (CRLMM) and Copy Number Analysis tool for SNP 5.0 and 6.0 arrays.
4
-Version: 1.0.78
4
+Version: 1.0.79
5 5
 Date: 2008-12-30
6 6
 Author: Rafael A Irizarry, Benilton S Carvalho <bcarvalh@jhsph.edu>, Robert Scharpf <rscharpf@jhsph.edu>, Matt Ritchie <mritchie@wehi.EDU.AU>
7 7
 Maintainer: Benilton S Carvalho <bcarvalh@jhsph.edu>, Robert Scharpf <rscharpf@jhsph.edu>, Matt Ritchie <mritchie@wehi.EDU.AU>
... ...
@@ -53,9 +53,7 @@ readIdatFiles = function(sampleSheet=NULL, arrayNames=NULL, ids=NULL, path=".",
53 53
                          Position = rep(NA, narrays)) # this may also vary a bit
54 54
 
55 55
        dates = list(decode=rep(NA, narrays),
56
-                    scan=rep(NA, narrays),
57
-                    register=rep(NA, narrays),
58
-                    extract=rep(NA, narrays))
56
+                    scan=rep(NA, narrays))
59 57
 
60 58
        # read in the data
61 59
        for(i in seq(along=arrayNames)) {
... ...
@@ -90,8 +88,6 @@ readIdatFiles = function(sampleSheet=NULL, arrayNames=NULL, ids=NULL, path=".",
90 88
 
91 89
          dates$decode[i] = G$RunInfo[1, 1]
92 90
          dates$scan[i] = G$RunInfo[2, 1]
93
-         dates$register[i] = G$RunInfo[3, 1]
94
-         dates$extract[i] = G$RunInfo[4, 1]
95 91
 
96 92
          if(i==1) {
97 93
            if(is.null(ids) && !is.null(G))
... ...
@@ -245,7 +241,7 @@ readIDAT <- function(idatFile){
245 241
   RunInfo <- matrix(NA, nRunInfoBlocks, 5)
246 242
   colnames(RunInfo) <- c("RunTime", "BlockType", "BlockPars", 
247 243
                          "BlockCode", "CodeVersion")
248
-  for(i1 in 1:nRunInfoBlocks){
244
+  for(i1 in 1:2) { #nRunInfoBlocks){  ## MR edit
249 245
     for(i2 in 1:5){
250 246
       nChars <- readBin(tempCon, "integer", n=1, size=1, signed=FALSE)
251 247
       RunInfo[i1,i2] <- readChar(tempCon, nChars)