te_rna.plot {ORFik} | R Documentation

## Translational efficiency plots

### Description

Create TE plot of:
- Within sample (TE log2 vs mRNA fpkm)

### Usage

    te_rna.plot(
      dt,
      output.dir = NULL,
      filter.rfp = 1,
      filter.rna = 1,
      plot.title = "",
      plot.ext = ".pdf",
      width = 6,
      height = "auto",
      dot.size = 0.4
    )

### Arguments

`dt` | a data.table with the results from `te.table`
`output.dir` | a character path, default NULL(no save), or a directory to save to a file will be called "TE_within.pdf"
`filter.rfp` | numeric, default 1. What is the minimum fpkm value?
`filter.rna` | numeric, default 1. What is the minimum fpkm value?
`plot.title` | title for plots, usually name of experiment etc
`plot.ext` | character, default: ".pdf". Alternatives: ".png" or ".jpg".
`width` | numeric, default 6 (in inches)
`height` | a numeric, width of plot in inches. Default "auto".
`dot.size` | numeric, default 0.4, size of point dots in plot.

### Value

a ggplot object

### See Also

Other TE: `DTEG.analysis()`, `DTEG.plot()`, `te.table()`

### Examples

    #df.rfp <- read.experiment("Riboseq")
    #df.rna <- read.experiment("RNAseq")
    #dt <- te.table(df.rfp, df.rna)
    #te_rna.plot(dt)

[Package ORFik version 1.12.13 Index]