%- Also NEED an '\alias' for EACH other topic documented here.
\title{Calculate the posterior mean of the integer copy numbers}

  Computes the posterior mean copy number from the bivariate normal
  prediction regions.


calculatePosteriorMean(object, posteriorProb, copyNumber = 0:4, w, ...)
%- maybe also 'usage' for other objects documented here.
    A \code{CNSet} object.
    The posterior probability for copy numbers 0-4.

    Integer vector.
  The prior probability for the copy numbers in \code{copyNumber}
  An array  (features x samples x copy number)

R. Scharpf

%% ~Make other sections like Warning with \section{Warning }{....} ~

  \code{\link{predictionRegion}}, \code{\link{posteriorProbability}}
pr <- predictionRegion(sample.CNSet, copyNumber=0:4)
pp <- posteriorProbability(sample.CNSet, predictRegion=pr)
pm <- calculatePosteriorMean(sample.CNSet, posteriorProb=pp, w=rep(1/5, 5))
% Add one or more standard keywords, see file 'KEYWORDS' in the
% R documentation directory.