codonUsage {ribosomeProfilingQC} | R 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)

[Package ribosomeProfilingQC version 1.2.1 Index]