plotTranscript: Plot reads P site abundance for a specific transcript

Description Usage Arguments Value Examples

View source: R/plotTranscript.R

Description

Plot the bundances of P site on a transcript.

Usage

1
2
3
4
5
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

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

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

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