probOfChange1PAM: probOfChange1PAM

Description Usage Arguments Value

View source: R/mutProb.R

Description

Calculate the probability of one amino acid mutating into another over a distance of 1 PAM.

Usage

1
probOfChange1PAM(pam, AA1, AA2)

Arguments

pam

The PAM matrix (given in ./data)

AA1

The origin amino acid

AA2

The target amino acid

Value

A probability of mutation. probOfChange(pam, "L", "K")


dinaIssakova/rgenesconverged documentation built on Jan. 7, 2020, 4:25 p.m.