BoutrosLab.plotting.general7.1.2 package

Functions to Create Publication-Quality Plots

auto.axis

Create ideal labels and values for a given numeric vector (detects log...

colour.gradient

Creates a colour gradient

covariates.grob

Create one or more covariate bars

create.barplot

Make a barplot

create.boxplot

Make a boxplot

create.colourkey

Create Colourkey

create.dendrogram

Generate a dendrogram

create.densityplot

Make a density plot

create.dotmap

Make a dotmap with coloured background

create.gif

Make a gif

create.heatmap

Make a heatmap

create.hexbinplot

Make a hexagonally binned plot

create.histogram

Make a histogram

create.lollipopplot

Make a lollipopplot

create.manhattanplot

Make a Manhattan plot

create.multipanelplot

Joins plots together

create.multiplot

Joins plots together

create.polygonplot

Make a polygonplot

create.qqplot.comparison

Make a quantile-quantile plot of two samples

create.qqplot.fit.confidence.interval

Create the confidence bands for a one-sample qq plot

create.qqplot.fit

Make a quantile-quantile plot of a sample

create.scatterplot

Make a scatterplot

create.segplot

Make a segplot

create.stripplot

Make a strip-plot

create.violinplot

Make a violin plot

critical.value.ks.test

Critical Value for Kolmogorov-Smirnov Test

default.colours

Provides default colour schemes.

display.colours

Function to display R colors, as well as corresponding R grey colours.

display.statistical.result

Utility function to display statistical result in a plot

dist

Distance Matrix Computation

force.colour.scheme

Based on predefined colour schemes, returns a vector of corresponding ...

generate.at.final

Generates alternative default tick mark locations for create.densitypl...

get.corr.key

Correlation Key

get.correlation.p.and.corr

Calculate a correlation and its statistical significance

get.defaults

Get operating system specific default properties

get.line.breaks

Get line breaks

legend.grob

Generate a legend grob

panel.BL.bwplot

A lattice::panel.bwplot replacement that fixes colouring issues

pcawg.colours

Return standard PCAWG colour palettes.

scientific.notation

Use scientific notation in plots

show.available.palettes

Display the available colour palettes

thousands.split

Divide strings into groups of thousands

write.metadata

Writes Metadata

write.plot

Simplifies plotting by standardizing and centralizing all output-handl...

Contains several plotting functions such as barplots, scatterplots, heatmaps, as well as functions to combine plots and assist in the creation of these plots. These functions will give users great ease of use and customization options in broad use for biomedical applications, as well as general purpose plotting. Each of the functions also provides valid default settings to make plotting data more efficient and producing high quality plots with standard colour schemes simpler. All functions within this package are capable of producing plots that are of the quality to be presented in scientific publications and journals. P'ng et al.; BPG: Seamless, automated and interactive visualization of scientific data; BMC Bioinformatics 2019 <doi:10.1186/s12859-019-2610-2>.

  • Maintainer: Paul Boutros
  • License: GPL-2
  • Last published: 2024-10-04