Browse code

Add PredictionRegion class that contains 'list'. Export in NAMESPACE. predictionRegion returns PredictionRegion class.

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

Rob Scharp authored on 01/10/2011 04:49:20
Showing 4 changed files

... ...
@@ -1,7 +1,7 @@
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.11.30
4
+Version: 1.11.31
5 5
 Date: 2010-12-10
6 6
 Author: Benilton S Carvalho <Benilton.Carvalho@cancer.org.uk>, Robert Scharpf <rscharpf@jhsph.edu>, Matt Ritchie <mritchie@wehi.edu.au>, Ingo Ruczinski <iruczins@jhsph.edu>, Rafael A Irizarry
7 7
 Maintainer: Benilton S Carvalho <Benilton.Carvalho@cancer.org.uk>, Robert Scharpf <rscharpf@jhsph.edu>, Matt Ritchie <mritchie@wehi.EDU.AU>
... ...
@@ -10,7 +10,7 @@ License: Artistic-2.0
10 10
 Depends: R (>= 2.13.0),
11 11
          methods,
12 12
          Biobase (>= 2.11.9),
13
-         oligoClasses (>= 1.15.31)
13
+         oligoClasses (>= 1.15.40)
14 14
 Imports: affyio (>= 1.19.2),
15 15
          ellipse,
16 16
          ff (>= 2.2-1),
... ...
@@ -34,6 +34,7 @@ Collate: AllGenerics.R
34 34
 	 methods-CNSetLM.R
35 35
 	 methods-eSet.R
36 36
          methods-SnpSuperSet.R
37
+	 methods-PredictionRegion.R
37 38
          cnrma-functions.R
38 39
 	 cnset-accessors.R
39 40
          crlmm-functions.R
... ...
@@ -28,7 +28,8 @@ importMethodsFrom(oligoClasses, allele, calls, "calls<-", confs,
28 28
 		  chromosome, position, A, B,
29 29
 		  "A<-", "B<-", open, close, flags,
30 30
 		  openff, closeff,
31
-		  batchStatistics, "batchStatistics<-", updateObject)
31
+		  batchStatistics, "batchStatistics<-", updateObject,
32
+		  order, checkOrder)
32 33
 importFrom(oligoClasses, chromosome2integer, celfileDate, list.celfiles,
33 34
            copyNumber, initializeBigMatrix, initializeBigVector, isPackageLoaded)
34 35
 
... ...
@@ -65,3 +66,4 @@ export(crlmm,
65 66
 export(genotypes, totalCopynumber, rawCopynumber, xyplot)
66 67
 exportMethods(A, B, calculatePosteriorMean, corr, nuA, nuB, phiA, phiB, predictionRegion, posteriorProbability, tau2, Ns, medians, mads, xyplot)
67 68
 export(ABpanel, constructInf, preprocessInf, genotypeInf)
69
+exportClasses(PredictionRegion)
... ...
@@ -1,3 +1,4 @@
1 1
 setOldClass("ellipse")
2 2
 setOldClass("ffdf")
3 3
 setClassUnion("ff_or_matrix", c("ffdf", "ff_matrix", "matrix"))
4
+setClass("PredictionRegion", contains="list")
4 5
new file mode 100644
... ...
@@ -0,0 +1,45 @@
1
+\name{PredictionRegion-class}
2
+\Rdversion{1.1}
3
+\docType{class}
4
+\alias{PredictionRegion-class}
5
+\alias{[,PredictionRegion-method}
6
+
7
+\title{Class \code{"PredictionRegion"}}
8
+\description{
9
+  A container for bivariate normal prediction regions for SNP data and
10
+  univarite prediction regions for nonpolymorphic markers.
11
+}
12
+\section{Objects from the Class}{
13
+  Objects from the class are created from the \code{predictionRegion} function.
14
+}
15
+\section{Slots}{
16
+  \describe{
17
+    \item{\code{.Data}:}{Object of class \code{"list"} ~~ }
18
+  }
19
+}
20
+\section{Extends}{
21
+Class \code{"\linkS4class{list}"}, from data part.
22
+Class \code{"\linkS4class{vector}"}, by class "list", distance 2.
23
+Class \code{"\linkS4class{AssayData}"}, by class "list", distance 2.
24
+Class \code{"\linkS4class{list_or_ffdf}"}, by class "list", distance 2.
25
+Class \code{vectorORfactor}, by class "list", distance 3.
26
+}
27
+\section{Methods}{
28
+  \describe{
29
+    \item{[}{\code{signature(x = "PredictionRegion")}: ... } Prediction
30
+    regions can be subset by markers.
31
+	 }
32
+}
33
+
34
+\author{
35
+R. Scharpf
36
+}
37
+
38
+
39
+\seealso{
40
+\code{\link{predictionRegion}}
41
+}
42
+\examples{
43
+showClass("PredictionRegion")
44
+}
45
+\keyword{classes}