codon2numberAMBIG: codon2numberAMBIG

View source: R/codon2numberAMBIG.R

codon2numberAMBIGR Documentation

codon2numberAMBIG

Description

This function converts a codon into a number, but accept N and -.

Usage

codon2numberAMBIG(codon)

Arguments

codon

[mandatory]

Value

An object of class numeric

Author(s)

Kristian K Ullrich

See Also

GENETIC_CODE

Examples

#unlist(lapply(names(Biostrings::GENETIC_CODE), codon2numberAMBIG))
names(Biostrings::GENETIC_CODE) |> codon2numberAMBIG()

kullrich/MSA2dist documentation built on Nov. 14, 2024, 5:39 p.m.