Learn R Programming

rphast (version 1.6.9)

apply.bgc.sel: Apply bgc+selection parameters to a matrix

Description

Apply bgc+selection parameters to a matrix

Usage

apply.bgc.sel(m, bgc = 0, sel = 0, alphabet = "ACGT")

Arguments

m

A transition matrix

bgc

The bgc (biased gene conversion) parameter, population-scaled.

sel

The selection parameter (population-scaled)

alphabet

The alphabet used for nucleotide states

Value

A matrix with bgc+sel applied. This matrix may no longer be time reversible.