Learn R Programming

rphast (version 1.6.9)

freq3x4.msa: Get codon frequencies based on 3x4 model

Description

Get codon frequencies based on 3x4 model

Usage

freq3x4.msa(x)

Arguments

x

An object of type msa. It is assumed to represent in-frame codons. Length should be a multiple of 3.

Value

A vector of length 64 corresponding to the 64 codon frequencies. The frequencies corresponding to stop codons should be 0.