codon2numberAMBIG: codon2numberAMBIG

Description Usage Arguments Value Author(s) See Also Examples

View source: R/codon2numberAMBIG.R

Description

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

Usage

1

Arguments

codon

[mandatory]

Value

An object of class numeric

Author(s)

Kristian K Ullrich

See Also

GENETIC_CODE

Examples

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

kullrich/distSTRING documentation built on Dec. 21, 2021, 8:42 a.m.