PAmotif: Metaplot of P site distribution

Description Usage Arguments Value Examples

View source: R/PAmotif.R

Description

Metaplot of P site distribution in all the CDS aligned by the start codon or stop codon.

Usage

1
PAmotif(reads, genome, plot = TRUE)

Arguments

reads

Output of assignReadingFrame or shiftReadsByFrame.

genome

A BSgenome object.

plot

Plot the motif or not.

Value

A pcm object

Examples

1
2
3
4
pcs <- readRDS(system.file("extdata", "samplePc.rds",
               package="ribosomeProfilingQC"))
library(BSgenome.Drerio.UCSC.danRer10)
#PAmotif(pcs, Drerio)

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