wvioplot_list: wvioplot_list

Description Usage Arguments Examples

Description

Create and save violin plots as .pdf, in "OutDir". It requires (and calls) "vioplot" package. If mdlink =T, it inserts a .pdf and a .png link in the markdown report, set by "path_of_report". The .png version is not created, only the link is put in place, not to overwrite previous versions.

Usage

1
2
3
4
5
wvioplot_list(yalist, ..., coll = c(2:(length(yalist) + 1)),
  plotname = as.character(substitute(yalist)), sub = NULL,
  xlb = names(yalist), ylb = "", ylimm = F, incrBottMarginBy = 0,
  tilted_text = F, yoffset = 0, savefile = UnlessSpec("b.save.wplots"),
  w = UnlessSpec("b.defSize", 7), h = w, mdlink = ww.set.mdlink())

Arguments

yalist

Input list to be plotted.

...

Pass any other parameter of the corresponding plotting function (most of them should work).

plotname

Title of the plot (main parameter) and also the name of the file.

sub

Subtitle below the plot.

xlb

X-axis label.

ylb

Y-axis label.

ylimm

Manual y axis limits

incrBottMarginBy

Increase the blank space at the bottom of the plot. Use if labels do not fit on the plot.

tilted_text

Use 45 degree x-labels if TRUE. Useful for long, but not too many labels.

savefile

Save plot as pdf in OutDir, TRUE by default.

w

Width of the saved pdf image, in inches.

h

Height of the saved pdf image, in inches.

mdlink

Insert a .pdf and a .png image link in the markdown report, set by "path_of_report".

col

Color of the plot.l

tilted_text

Manual tuning of the Y-postion of the tilted text labels

Examples

1
wvioplot_list (yalist =  , ... =  , xlb = names(yalist), ylb =  , coll = c(1:length(yalist)), incrBottMarginBy = 0, w = 7, h = w, plotname = as.character(substitute(yalist)), tilted_text = F, mdlink = F)

vertesy/MarkdownReports.v2.9.5 documentation built on May 22, 2019, 4 p.m.