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

unknown authored on 08/03/2010 07:07:43
Showing 4 changed files

... ...
@@ -429,3 +429,7 @@ then readIDAT() should work. Thanks to Pierre Cherel who reported this error.
429 429
 - the batchSize argument will run the genotyping (crlmmGT) in batches to reduce the RAM.  The default is batches of size 1000.
430 430
 
431 431
 - The crlmm.Rd file contains an example with / without ff for Affymetrix data.
432
+
433
+2010-03-08 M. Ritchie committed version 1.5.31
434
+ * removed a few unnecessary lines of code from crlmm-illumina.R (zero not needed as argument for preprocessInfinium2() and storageMode should not be "lockedEnvironment" in RGtoXY()) 
435
+ * added "humanomni1quadv1b" to validCdfName() in utils.R
... ...
@@ -1,8 +1,8 @@
1 1
 Package: crlmm
2 2
 Type: Package
3 3
 Title: Genotype Calling (CRLMM) and Copy Number Analysis tool for Affymetrix SNP 5.0 and 6.0 and Illumina arrays.
4
-Version: 1.5.30
5
-Date: 2010-03-07
4
+Version: 1.5.31
5
+Date: 2010-03-08
6 6
 Author: Rafael A Irizarry, Benilton S Carvalho <carvalho@bclab.org>, Robert Scharpf <rscharpf@jhsph.edu>, Matt Ritchie <mritchie@wehi.edu.au>
7 7
 Maintainer: Benilton S Carvalho <carvalho@bclab.org>, Robert Scharpf <rscharpf@jhsph.edu>, Matt Ritchie <mritchie@wehi.EDU.AU>
8 8
 Description: Faster implementation of CRLMM specific to SNP 5.0 and 6.0 arrays, as well as a copy number tool specific to 5.0, 6.0, and Illumina platforms
... ...
@@ -453,14 +453,14 @@ RGtoXY <- function(RG, chipType) {
453 453
 	## RS: this should be put elsewhere -- perhaps in utils.R
454 454
 	##  -- see validCdfNames() in utils.R.  are these consistent?
455 455
 	chipList <- c("human1mv1c",             # 1M
456
-		      "human370v1c",            # 370CNV
457
-		      "human650v3a",            # 650Y
458
-		      "human610quadv1b",        # 610 quad
459
-		      "human660quadv1a",        # 660 quad
460
-		      "human370quadv3c",        # 370CNV quad
461
-		      "human550v3b",            # 550K
462
-		      "human1mduov3b",          # 1M Duo
463
-		      "humanomni1quadv1b")      # Omni1 quad
456
+		          "human370v1c",            # 370CNV
457
+		          "human650v3a",            # 650Y
458
+		          "human610quadv1b",        # 610 quad
459
+		          "human660quadv1a",        # 660 quad
460
+		          "human370quadv3c",        # 370CNV quad
461
+		          "human550v3b",            # 550K
462
+		          "human1mduov3b",          # 1M Duo
463
+		          "humanomni1quadv1b")      # Omni1 quad
464 464
 	if(missing(chipType)){
465 465
 		chipType = match.arg(annotation(RG), chipList)
466 466
 	} else chipType = match.arg(chipType, chipList)
... ...
@@ -570,7 +570,7 @@ RGtoXY <- function(RG, chipType) {
570 570
 	##  XY@assayData$zero[XY@assayData$X==0 | XY@assayData$Y==0] = 1
571 571
 	gc()
572 572
 
573
-	storageMode(XY) = "lockedEnvironment"
573
+	## storageMode(XY) = "lockedEnvironment"
574 574
 	return(XY)
575 575
 }
576 576
 
... ...
@@ -619,7 +619,7 @@ stripNormalize = function(XY, useTarget=TRUE, verbose=TRUE) {
619 619
 	}
620 620
 	if(verbose)
621 621
 		cat("\n")
622
-	XY
622
+	return(XY)
623 623
 	##  XYNorm = new("NChannelSet",
624 624
 	##                X=Xqws+16,
625 625
 	##                Y=Yqws+16,
... ...
@@ -645,7 +645,7 @@ stripNormalize = function(XY, useTarget=TRUE, verbose=TRUE) {
645 645
 ##				save.it=FALSE,
646 646
 ##				snpFile,
647 647
 ##				cnFile) {
648
-preprocessInfinium2 <- function(object, zero){  
648
+preprocessInfinium2 <- function(object) { ## , zero){  
649 649
 	storageMode(object) <- "environment"
650 650
 	ops <- crlmmOptions(object)
651 651
 	mixtureSampleSize <- ops$snprmaOpts[["mixtureSampleSize"]]
... ...
@@ -798,8 +798,8 @@ preprocessInfinium2 <- function(object, zero){
798 798
 ##	}
799 799
 
800 800
 	##RS: I don't think A and B were updated, so probably do not need to reassign
801
-	A(object) <- A
802
-	B(object) <- B
801
+##	A(object) <- A
802
+##	B(object) <- B
803 803
 	if (!fitMixture) SNR <- mixtureParams <- NA
804 804
 	sampleStats <- data.frame(SKW=SKW,
805 805
 				  SNR=SNR)
... ...
@@ -170,7 +170,8 @@ validCdfNames <- function(){
170 170
 	  "human650v3a",
171 171
 	  "human610quadv1b",
172 172
 	  "human660quadv1a",
173
-	  "human1mduov3b")
173
+	  "human1mduov3b",
174
+	  "humanomni1quadv1b")
174 175
 }
175 176
 
176 177
 isValidCdfName <- function(cdfName){