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 Nov. 3, 2024, 6:33 p.m.