plotFrameDensity: Plot density for each reading frame

View source: R/plotFrameDensity.R

plotFrameDensityR Documentation

Plot density for each reading frame

Description

Plot density for each reading frame.

Usage

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

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

jianhong/ribosomeProfilingQC documentation built on March 15, 2024, 7:03 p.m.