Rev Language Reference


fnJC - fnJC

Jukes Cantor rate matrix

Usage

fnJC(Natural num_states)

Arguments

num_states : Natural (pass by value)
The number of state or state space.

Return Type

Details

Rate matrix with n states in which each state has an equal probability to change to any other state. The rate of transition from one state to another is equal to n / n-1.

Example

# Rate Matrix for DNA
q := fnJC(4)
# Rate Matrix for Amino Acids
q := fnJC(20)
# Binary Character Matrix
q := fnJC(2)

See Also