plotFrameDensity: Plot density for each reading frame

Description Usage Arguments Value Examples

View source: R/plotFrameDensity.R

Description

Plot density for each reading frame.

Usage

1
2
3
4
5
plotFrameDensity(
  reads,
  density = TRUE,
  col = c(Frame_0 = "#009E73", Frame_1 = "#D55E00", Frame_2 = "#0072B2")
)

Arguments

reads

Output of assignReadingFrame

density

Plot density or counts

col

Colors for reading frames

Value

Reading frame density

Examples

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

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