Constructor for TransitionParam class

Description

Contains parameters for computing transition probabilities

Usage

1
2
3
4
TransitionParam(taup = 1e+10, taumax = 1 - 5e+06)

## S4 method for signature 'TransitionParam'
show(object)

Arguments

taup

length-one numeric vector

taumax

The maximum probability that the current state is the same as the preceding state. See details

object

a TransitionParam object

Details

Diagonal elements of the transition probability matrix are computed as e^-2*d/taup, where d is the distance between markers i and i-1 and taup is typically in the range of 1xe10. This probability is constrained to be no larger than taumax. The probabilities on the off-diagonal elements are the same and are subject to the constraint that the rows of the transition probability matrix sum to 1.

Examples

1
2
3
TransitionParam()
## higher values of taup make transitions between states less likely
TransitionParam(taup=1e12)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.