codonUsage: Start or Stop codon usage

View source: R/codonUsage.R

codonUsageR Documentation

Start or Stop codon usage

Description

Calculate the start or stop codon usage for the identified CDSs.

Usage

codonUsage(reads, start = TRUE, genome)

Arguments

reads

Output of assignReadingFrame.

start

Calculate for start codon or stop codon.

genome

A BSgenome object.

Value

Table of codon usage.

Examples

pcs <- readRDS(system.file("extdata", "samplePc.rds",
               package="ribosomeProfilingQC"))
library(BSgenome.Drerio.UCSC.danRer10)
codonUsage(pcs, genome=Drerio)
codonUsage(pcs, start=FALSE, genome=Drerio)

jianhong/ribosomeProfilingQC documentation built on Nov. 3, 2024, 6:33 p.m.