te_rna.plot: Translational efficiency plots

Description Usage Arguments Value See Also Examples

View source: R/TE_plots.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
te_rna.plot(
  dt,
  output.dir = NULL,
  filter.rfp = 1,
  filter.rna = 1,
  plot.title = "",
  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.png"

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

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

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

ORFik documentation built on March 27, 2021, 6 p.m.