Learn R Programming

iBATCGH (version 1.3.1)

Tran: Preprocessing - Tran

Description

This function computes the transition matrix corresponding to a specific matrix of latent states.

Usage

Tran(xi)

Arguments

xi

Matrix of estimated latent states

Value

A 4 by 4 matrix with transition probabilities derived from the input matrix of latent states.

Details

The matrix of latent states must consider only 4 states:

  1. Loss

  2. Neutral

  3. Gain

  4. Amplification

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 {
data(NCI_60)

X <- NCI_60$aCGH
xi <- InitXi(X)
tran <- Tran(xi)
# }

Run the code above in your browser using DataLab