get_codons: Retrieve codons in A-, P-, and E-site positions

View source: R/helper.R

get_codonsR Documentation

Retrieve codons in A-, P-, and E-site positions

Description

A function to pull codons in the A-, P-, and E-site positions of a ribosome at a position within a transcript.

Usage

get_codons(transcript_name, cod_idx, utr5_length, transcript_seq)

Arguments

transcript_name

character; one of 'names(transcript_seq)'

cod_idx

integer; codon index for A-site codon (1-based)

utr5_length

integer; length of 5' UTR (in nucleotides)

transcript_seq

named character vector; transcript (+ 5' and 3' UTR regions) sequences

Value

A named character vector


amandamok/choros documentation built on March 15, 2023, 7:57 p.m.