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

A ggplot object.

Examples

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

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