DTEG.plot {ORFik} | R Documentation |
Plot DTEG result
DTEG.plot( dt, output.dir = NULL, p.value = 0.05, plot.title = "", width = 6, height = 6, dot.size = 0.4, xlim = c(-5, 5), ylim = c(-10, 10), relative.name = "DTEG_plot.png" )
dt |
a data.table with the results from |
output.dir |
a character path, default NULL(no save), or a directory to save to a file will be called "DTEG_plot.png" |
p.value |
a numeric, default 0.05 in interval (0,1) or "" to not show. What p-value used for the analysis? Will be shown as a caption. |
plot.title |
title for plots, usually name of experiment etc |
width |
numeric, default 6 (in inches) |
height |
numeric, default 6 (in inches) |
dot.size |
numeric, default 0.4, size of point dots in plot. |
xlim |
numeric vector, default c(-5, 5) |
ylim |
numeric vector, default c(-10, 10) |
relative.name |
character, Default: "DTEG_plot.png". Relative name of file to be saved in folder specified in output.dir. Change to .pdf if you want pdf file instead of png. |
a ggplot object
Other TE:
DTEG.analysis()
,
te.table()
,
te_rna.plot()
#df.rfp <- read.experiment("Riboseq") #df.rna <- read.experiment("RNAseq") #dt <- DTEG.analysis(df.rfp, df.rna) #DTEG.plot(dt, xlim = c(-2, 2), ylim = c(-2, 2))