All Projects → TomKellyGenetics → vioplot

TomKellyGenetics / vioplot

Licence: other
Development version of vioplot R package (CRAN maintainer)

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to vioplot

healthyR
Hospital Data Analysis Workflow Tools
Stars: ✭ 21 (-16%)
Mutual labels:  cran, r-package
rcpptoml
Rcpp Bindings to C++ parser for TOML files
Stars: ✭ 26 (+4%)
Mutual labels:  cran, r-package
rcppcnpy
Rcpp bindings for NumPy files
Stars: ✭ 24 (-4%)
Mutual labels:  cran, r-package
packagefinder
Comfortable search for R packages on CRAN, either directly from the R console or with an R Studio add-in
Stars: ✭ 43 (+72%)
Mutual labels:  cran, r-package
rcppmsgpack
MsgPack Headers for R / msgpack.org[R]
Stars: ✭ 17 (-32%)
Mutual labels:  cran, r-package
oem
Penalized least squares estimation using the Orthogonalizing EM (OEM) algorithm
Stars: ✭ 22 (-12%)
Mutual labels:  cran, r-package
vosonSML
R package for collecting social media data and creating networks for analysis.
Stars: ✭ 65 (+160%)
Mutual labels:  cran, r-package
rdomains
Classifying the content of domains
Stars: ✭ 47 (+88%)
Mutual labels:  cran, r-package
ctrdata
Aggregate and analyse information on clinical trials from public registers
Stars: ✭ 26 (+4%)
Mutual labels:  cran, r-package
globals
🌐 R package: Identify Global Objects in R Expressions
Stars: ✭ 27 (+8%)
Mutual labels:  cran, r-package
qwraps2
An updated version of qwraps with a focus on flexibility and general purpose. These functions are helpful for extracting and formatting results from R into .Rnw or .Rmd files. Additional functions for routine work such as extracting results from regression models or finding sensitivity and specificity.
Stars: ✭ 33 (+32%)
Mutual labels:  cran, r-package
apsimx
R package for APSIM-X
Stars: ✭ 30 (+20%)
Mutual labels:  cran, r-package
rcppsimdjson
Rcpp Bindings for the 'simdjson' Header Library
Stars: ✭ 103 (+312%)
Mutual labels:  cran, r-package
RcppEigen
Rcpp integration for the Eigen templated linear algebra library
Stars: ✭ 89 (+256%)
Mutual labels:  cran, r-package
Luminescence
Development of the R package 'Luminescence'
Stars: ✭ 13 (-48%)
Mutual labels:  plotting, r-package
eia
An R package wrapping the US Energy Information Administration open data API.
Stars: ✭ 38 (+52%)
Mutual labels:  cran, r-package
Tint
Tint is not Tufte
Stars: ✭ 226 (+804%)
Mutual labels:  cran, r-package
Littler
A scripting and command-line front-end for GNU R
Stars: ✭ 238 (+852%)
Mutual labels:  cran, r-package
thinkr
Some tools for cleaning up messy 'Excel' files to be suitable for R
Stars: ✭ 21 (-16%)
Mutual labels:  cran, r-package
rcppfastfloat
Rcpp Bindings for the 'fastfloat' Header-Only Library
Stars: ✭ 18 (-28%)
Mutual labels:  cran, r-package

vioplot

Version 0.3.6

CRAN_Status_Badge Travis Build Status CircleCI AppVeyor Build Status Project Status: Active – The project has reached a stable, usable state and is being actively developed. codecov GitHub Views Downloads Total Downloads

Violin Plots in R

This package allows extensive customisation of violin plots.

Installation

To get the current released version from CRAN:

install.packages("vioplot")

To get the development version from github:

# install.packages("devtools")
devtools::install_github("TomKellyGenetics/vioplot", ref = "dev")

Running

See the relevant vignette for more details:

  • Customising colour and shape with scalar inputs or vectors applied separately to each violin.

https://rawgit.com/TomKellyGenetics/vioplot/vignettes/vignettes/violin_customisation.html

  • Formula input enabled with S3 methods.

https://rawgit.com/TomKellyGenetics/vioplot/vignettes/vignettes/violin_formulae.html

  • Control of violin area for proportional widths

https://rawgit.com/TomKellyGenetics/vioplot/vignettes/vignettes/violin_area.html

  • Control of the y-axis including disabling labels and log-scale

https://rawgit.com/TomKellyGenetics/vioplot/vignettes/vignettes/violin_ylog.html

  • Split violins to directly compare paired data.

https://rawgit.com/TomKellyGenetics/vioplot/vignettes/vignettes/violin_split.html

Functionality

vioplot (0.3) is backwards-compatible with vioplot (0.2). The following features are supported:

  • vioplot() generates a violin plot by plotting a violin for each group of variables.

  • vioplot() also takes additional arguments to specify main, sub, xlab, and ylab as used in plot or title. Graphical parameters can be passed to plotting parameters.

  • vioplot() can take vectorised forms of colour variables col, border, and rectCol to modify the colours separately for each violin respectively. This also applies to a new variable lineCol to modify the colour of the boxplots.

  • vioplot.formula() is enabled to take formula and dataframe inputs as used for boxplot and stats operations. The default axes labels are the variable names used for the formula and names are factor levels.

  • additional areaEqual, plotCentre and side options enables further customisation.

See the NEWS.md file for more detail on added features in the 0.3 release.

Development and sources

For development history of version 0.3.0 prior to package documentation, see the original repo: https://github.com/TomKellyGenetics/R-violin-plot/commits?author=TomKellyGenetics

Modifications inspired by the following StackOverFlow threads and GitHub Gists:

Attribution

This repository is a proposed submission for an updated version of the vioplot originally released by Daniel Adler (University of Göttingen, Germany) on CRAN. This package has been orphaned on CRAN and is no longer actively maintained. I acknowledge with contributions of Daniel Adler as the original developer and Tom Elliot (University of Auckland, New Zealand) for a pull request and welcome further contributions to improve or maintain this package.

This package update was developed and released open-source (in accordance with the original package BSD License) while as a PhD candidate at the University of Otago (Dunedin, New Zealand). I can be contacted at my present address and affiliation is (RIKEN Centre for Integrative Medical Sciences, Yokohama, Japan) at <tom.kelly[at]riken.jp>.

Citation

The following information can be retrieved from within an R session by using citation(vioplot). Please acknowledge as follows if features included in this version are used.

To cite the enhanced vioplot package in publications use:

Daniel Adler and S. Thomas Kelly (2021). vioplot: violin plot. R package version 0.3.6 https://github.com/TomKellyGenetics/vioplot

A BibTeX entry for LaTeX users is

@Manual{, title = {vioplot: violin plot}, author = {Daniel Adler and S. Thomas Kelly}, year = {2020}, note = {R package version 0.3.6}, url = {https://github.com/TomKellyGenetics/vioplot}, }

Please also acknowledge the original package: citation("vioplot")

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].