plotTranscript {ribosomeProfilingQC} | R Documentation

## Plot reads P site abundance for a specific transcript

### Description

Plot the bundances of P site on a transcript.

### Usage

    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

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

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

[Package ribosomeProfilingQC version 1.2.1 Index]