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

Description Usage Arguments Value Author(s)

View source: R/treeModel.R

Description

Apply bgc+selection parameters to a matrix

Usage

1
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.

Author(s)

Melissa J. Hubisz and Adam Siepel


rphast documentation built on May 1, 2019, 9:26 p.m.