codonUsage: Start or Stop codon usage

Description Usage Arguments Value Examples

View source: R/codonUsage.R

Description

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

Usage

1
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

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

ribosomeProfilingQC documentation built on March 13, 2021, 2:01 a.m.