plotTranscript: Plot reads P site abundance for a specific transcript

View source: R/plotTranscript.R

plotTranscriptR Documentation

Plot reads P site abundance for a specific transcript

Description

Plot the bundances of P site on a transcript.

Usage

plotTranscript(
  reads,
  tx_name,
  col = c(Frame_0 = "#009E73", Frame_1 = "#D55E00", Frame_2 = "#0072B2")
)

Arguments

reads

Output of assignReadingFrame

tx_name

Transcript names.

col

Colors for reading frames

Value

Invisible heights of the barplot.

Examples

pcs <- readRDS(system.file("extdata", "samplePc.rds",
               package="ribosomeProfilingQC"))

plotTranscript(pcs, c("ENSDART00000152562", "ENSDART00000054987"))

jianhong/ribosomeProfilingQC documentation built on Nov. 3, 2024, 6:33 p.m.