Browse code

Add example for predictionRegion help

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

Rob Scharp authored on 01/10/2011 04:47:12
Showing 2 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.12
4
+Version: 1.11.13
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>
... ...
@@ -54,13 +54,17 @@ predictionRegion(object, copyNumber)
54 54
 %% ~Make other sections like Warning with \section{Warning }{....} ~
55 55
 
56 56
 \seealso{
57
-
57
+  \code{\link{calculatePosteriorMean}},
58
+  \code{\link{posteriorProbability}}, \code{\link{genotypes}}
58 59
 }
59 60
 \examples{
60 61
 data(sample.CNSet)
61
-pr <- predictionRegion(cnSet, copyNumber=0:4)
62
+pr <- predictionRegion(sample.CNSet, copyNumber=0:4)
63
+names(pr)
64
+## bivariate normal prediction region for NULL genotype (homozygous deletion)
65
+str(pr[["NULL"]])
62 66
 }
63 67
 % Add one or more standard keywords, see file 'KEYWORDS' in the
64 68
 % R documentation directory.
65
-\keyword{ ~kwd1 }
66
-\keyword{ ~kwd2 }% __ONLY ONE__ keyword per line
69
+\keyword{distribution}
70
+\keyword{list}
67 71
\ No newline at end of file