find_start_codon: Find the first start codon in a sequence.

Description Usage Arguments Value Examples

Description

This function will return the index in a vector of nucleotides of the first start codon.

Usage

1
find_start_codon(nt_sequence)

Arguments

nt_sequence

A vector of nucleotides, i.e. c("C","A","T","G","A").

Value

Start codon site or NA if not found.

Examples

1
2
3
find_start_codon(
c("A", "A", "T", "G", "C", "A", "A", "T", "C", "A", "T", "A", "G", "A")
)

zcolburn/evolution documentation built on May 19, 2019, 1:48 a.m.