Learn R Programming

iBATCGH (version 1.3.1)

InitMu: Preprocessing - Initialize state specific mean vector

Description

Initializes the state specific mean vector, by sampling each element independently from its prior, i.e. truncated normal distribution..

Usage

InitMu(deltak = c(-1, 0, 0.58, 1), tauk = c(1, 1, 1, 2),
low_bounds = c(-Inf, -0.1, 0.1, 0.73), upp_bounds = c(-0.1, 0.1, 0.73, Inf))

Arguments

deltak

Vector of means of the truncated Normal distributions

tauk

Vector of standard deviations of the truncated Normal distributions

low_bounds

Vector of lower bounds of the truncated Normal distributions

upp_bounds

Vector of upper bounds of the truncated Normal distributions

Value

A vector of state specific mean, that could be used as input of the main function.

References

Guha S, Li Y, Neuberg D. Bayesian hidden Markov modelling of array cgh data. JASA. 2008;103(482):485-497.

Examples

Run this code
# NOT RUN {
mu <- InitMu()
# }

Run the code above in your browser using DataLab