PAmotif: Metaplot of P site distribution

View source: R/PAmotif.R

PAmotifR Documentation

Metaplot of P site distribution

Description

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

Usage

PAmotif(reads, genome, plot = TRUE, ignore.seqlevelsStyle = FALSE)

Arguments

reads

Output of assignReadingFrame or shiftReadsByFrame.

genome

A BSgenome object.

plot

Plot the motif or not.

ignore.seqlevelsStyle

Ignore the sequence name style detection or not.

Value

A pcm object

Examples

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


jianhong/ribosomeProfilingQC documentation built on April 15, 2024, 7:10 p.m.