plotFrameDensity {ribosomeProfilingQC} | R 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)

[Package ribosomeProfilingQC version 1.0.6 Index]