codonUsage {ribosomeProfilingQC} | R Documentation |
Calculate the start or stop codon usage for the identified CDSs.
codonUsage(reads, start = TRUE, genome)
reads |
Output of assignReadingFrame. |
start |
Calculate for start codon or stop codon. |
genome |
A BSgenome object. |
Table of codon usage.
pcs <- readRDS(system.file("extdata", "samplePc.rds", package="ribosomeProfilingQC")) library(BSgenome.Drerio.UCSC.danRer10) codonUsage(pcs, genome=Drerio) codonUsage(pcs, start=FALSE, genome=Drerio)