Browse code

Organizing crlmm for transition with oligoClasses

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

Benilton Carvalho authored on 04/12/2009 18:21:42
Showing 8 changed files

... ...
@@ -346,3 +346,7 @@ is decoded and scanned
346 346
       removed inadvertantly in version 1.3.7, put back]
347 347
  * removed header checking from readIdatFiles() (seems to fail often).  
348 348
       Instead check that the number of SNPs agrees (to within +/- 10K SNPs)
349
+
350
+2009-12-04 B. Carvalho - committed version 1.5.11
351
+
352
+ * moved IRanges and oligoClasses to Depends (DESCRIPTION)
... ...
@@ -1,20 +1,20 @@
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.10
4
+Version: 1.5.11
5 5
 Date: 2009-12-03
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>
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
9 9
 License: Artistic-2.0
10
-Depends: methods, Biobase (>= 2.5.5), R (>= 2.10.0)
11
-Imports: affyio, preprocessCore, utils, stats, genefilter, splines, mvtnorm, oligoClasses (>= 1.9.9), ellipse, methods, SNPchip, oligoClasses, VanillaICE (>= 1.9.1), IRanges
10
+Depends: methods, Biobase (>= 2.5.5), R (>= 2.10.0), oligoClasses (>= 1.9.14), IRanges
11
+Imports: affyio, preprocessCore, utils, stats, genefilter, splines, mvtnorm, ellipse, methods, SNPchip, oligoClasses, VanillaICE (>= 1.9.1)
12 12
 Suggests: hapmapsnp5, hapmapsnp6, genomewidesnp5Crlmm (>= 1.0.2),genomewidesnp6Crlmm (>= 1.0.2), snpMatrix
13 13
 Collate: AllGenerics.R
14
+         methods-AlleleSet.R
14 15
 	 methods-CNSet.R
15 16
 	 methods-eSet.R
16 17
          methods-SnpSuperSet.R
17
-        methods-AlleleSet.R
18 18
          cnrma-functions.R
19 19
          crlmm-functions.R
20 20
          crlmm-illumina.R
... ...
@@ -5,33 +5,30 @@ useDynLib("crlmm", .registration=TRUE)
5 5
 importClassesFrom(Biobase, AnnotatedDataFrame, AssayData, eSet,
6 6
 		  SnpSet, NChannelSet, MIAME, Versioned, VersionedBiobase, Versions)
7 7
 
8
-importMethodsFrom(Biobase, annotation, "annotation<-", annotatedDataFrameFrom,
9
-                  assayData, "assayData<-", combine, dims,
10
-                  experimentData, "experimentData<-",
8
+importMethodsFrom(Biobase, annotation, "annotation<-",
9
+                  annotatedDataFrameFrom, assayData, "assayData<-",
10
+                  combine, dims, experimentData, "experimentData<-",
11 11
                   fData, featureData, "featureData<-", featureNames,
12
-                  fvarMetadata, fvarLabels,
13
-                  pData, phenoData, "phenoData<-", protocolData, "protocolData<-",
14
-                  pubMedIds, rowMedians, sampleNames,
15
-                  storageMode, "storageMode<-", updateObject, varLabels)
12
+                  fvarMetadata, fvarLabels, pData, phenoData,
13
+                  "phenoData<-", protocolData, "protocolData<-",
14
+                  pubMedIds, rowMedians, sampleNames, storageMode,
15
+                  "storageMode<-", updateObject, varLabels)
16 16
 
17 17
 importFrom(Biobase, assayDataElement, assayDataElementNames,
18 18
            assayDataElementReplace, assayDataNew, classVersion, validMsg)
19 19
 
20 20
 ## oligoClasses
21
+importFrom(oligoClasses, position, chromosome)
21 22
 importClassesFrom(oligoClasses, SnpSuperSet, AlleleSet)
22
-importMethodsFrom(oligoClasses, 
23
-				 allele,
24
-                                 calls, "calls<-",  
25
-          			 confs, "confs<-",
26
-				 cnConfidence, "cnConfidence<-", 
27
-				 copyNumber)
28
-importFrom("oligoClasses", "position")
29
-importFrom("oligoClasses", "chromosome")
23
+
24
+importMethodsFrom(oligoClasses, allele, calls, "calls<-", confs,
25
+                  "confs<-", cnConfidence, "cnConfidence<-", copyNumber)
26
+
30 27
  
31 28
 ## IRanges
32
-importClassesFrom(IRanges, "RangedData", "IRanges")
33
-importMethodsFrom(IRanges, Rle, start, end, width, runValue)
34
-importFrom(IRanges, IRanges, RleList, RangedData)
29
+importClassesFrom(IRanges, RangedData, IRanges)
30
+importFrom(IRanges, IRanges, RleList, RangedData, width)
31
+importMethodsFrom(IRanges, Rle, start, end, runValue)
35 32
 
36 33
 ##importMethodsFrom(methods, initialize, show)
37 34
 
... ...
@@ -72,7 +69,9 @@ exportMethods(chromosome, position)
72 69
 export(
73 70
        celDates, 
74 71
       crlmm, 
75
-       cnOptions, 
72
+       cnOptions,
73
+       calls,
74
+       "calls<-",
76 75
        confs,
77 76
        "confs<-",
78 77
        copyNumber, 
... ...
@@ -1,3 +1,7 @@
1
+## IMPORTANT 
2
+- move IRanges and oligoClasses back to Suggests? BC moved them to
3
+Depends just to get rid of annoying warnings while transitioning.
4
+
1 5
 #####################################
2 6
 ### FOR CRLMM
3 7
 #####################################
4 8
similarity index 59%
5 9
rename from man/SnpQSet-methods.Rd
6 10
rename to man/AlleleSet-methods.Rd
... ...
@@ -1,18 +1,19 @@
1
-\name{SnpQSet-methods}
1
+\name{AlleleSet-methods}
2
+\docType{methods}
2 3
 \alias{A}
3
-\alias{A,SnpQSet-method}
4
+\alias{A,AlleleSet-method}
4 5
 \alias{A<-}
5
-\alias{A<-,SnpQSet,matrix-method}
6
+\alias{A<-,AlleleSet,matrix-method}
6 7
 \alias{B}
7
-\alias{B,SnpQSet-method}
8
+\alias{B,AlleleSet-method}
8 9
 \alias{B<-}
9
-\alias{B<-,SnpQSet,matrix-method}
10
+\alias{B<-,AlleleSet,matrix-method}
10 11
 \alias{isSnp}
11
-\alias{isSnp,SnpQSet-method}
12
+\alias{isSnp,AlleleSet-method}
12 13
 \title{Indicator for polymorphic probes}
13 14
 \description{
14 15
   
15
-  This functions uses the annotation slot of the SnpQSet object to load
16
+  This functions uses the annotation slot of the AlleleSet object to load
16 17
   the corresponding annotation package and determine whether each probe
17 18
   in the object interrogates a polymorphic or nonpolymorphic allele. For
18 19
   instance, in the Affy 6.0 platform roughly 900,000 of the 1.8 million
... ...
@@ -20,10 +21,12 @@
20 21
   
21 22
 }
22 23
 \usage{
24
+A(object)
25
+B(object)
23 26
 isSnp(object)
24 27
 }
25 28
 \arguments{
26
-  \item{object}{SnpQSet object}
29
+  \item{object}{AlleleSet object}
27 30
 }
28 31
 \value{
29 32
   an indicator: 0=nonpolymorphic, 1=polymorphic
... ...
@@ -63,10 +63,6 @@ Class \code{"\linkS4class{Versioned}"}, by class "SnpCallSetPlus", distance 6.
63 63
 	 }
64 64
 }
65 65
 \author{R. Scharpf}
66
-\seealso{
67
-%	~~objects to See Also as \code{\link{~~fun~~}}, ~~~
68
-%	or \code{\linkS4class{CLASSNAME}} for links to other classes
69
-}
70 66
 \examples{
71 67
 showClass("CNSet")
72 68
 }
... ...
@@ -3,9 +3,9 @@
3 3
 %\alias{calls}
4 4
 \alias{calls,SnpSet-method}
5 5
 \alias{calls<-,SnpSet,matrix-method}
6
-\alias{confs}
6
+%\alias{confs}
7 7
 \alias{confs,SnpSet-method}
8
-\alias{confs<-}
8
+%\alias{confs<-}
9 9
 \alias{confs<-,SnpSet,matrix-method}
10 10
 \title{Accessors for Calls and Confidences on a SnpSet object}
11 11
 
... ...
@@ -1,7 +1,7 @@
1 1
 \name{methods-eSet}
2
-\alias{chromosome}
2
+%%\alias{chromosome}
3 3
 \alias{chromosome,eSet-method}
4
-\alias{position}
4
+%%\alias{position}
5 5
 \alias{position,eSet-method}
6 6
 \title{Methods for eSet derivatives}
7 7