plot_distribDF: Plot the distribution for the columns of a data.frame...

View source: R/descriptors.R

plot_distribDFR Documentation

Plot the distribution for the columns of a data.frame according to different geometries (ggplot2)

Description

Plot the distribution for the columns of a data.frame according to different geometries (ggplot2)

Usage

plot_distribDF(DF, transformation = "log2", strip0 = TRUE,
  geom = "all", all = FALSE, debug = FALSE, verbose = FALSE,
  colourVal, limites, publish = TRUE, valueLab)

Arguments

DF

numerical data.frame

transformation

boolean; default: 'log2'. Whether if the data should be log2 transformed before being plotted

strip0

boolean; default: TRUE; Whether the 0 should be stripped from the data before plotting

geom

character string; default 'all'. Allows to chose between the different available geometries. 'all' output all available geometries. 'histogram' is for histogram, 'density' gives density plots. Anything else gives a boxplot.

all

boolean; default: TRUE. Whether all geometries should be plotted.

debug

boolean. Default: FALSE

verbose

boolean. Default: FALSE

colourVal

character vector. Colour palette.

limites

numeric vector. Allows to define the minimal and maximal boundaries to apply to the different plots.

publish

boolean. Whether to apply theme_bw to the plot(s).

valueLab

Character vector; allows to provide custom units if needed

Value

a distribution plot of the input data.frame


barzine/barzinePhdR documentation built on Nov. 23, 2024, 8:54 p.m.