vioplot

Development version of vioplot R package (CRAN maintainer)

https://github.com/tomkellygenetics/vioplot

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.2%) to scientific vocabulary

Keywords

boxplot colours cran customisation dataviz formula package plotting r r-package rstats violin-plot violinplot vioplot
Last synced: 6 months ago · JSON representation ·

Repository

Development version of vioplot R package (CRAN maintainer)

Basic Info
Statistics
  • Stars: 28
  • Watchers: 3
  • Forks: 3
  • Open Issues: 2
  • Releases: 10
Topics
boxplot colours cran customisation dataviz formula package plotting r r-package rstats violin-plot violinplot vioplot
Created almost 8 years ago · Last pushed 12 months ago
Metadata Files
Readme Changelog License Citation

README.md

vioplot

Version 0.5.1

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:

R install.packages("vioplot")

To get the development version from github:

```R

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:

  • http://stackoverflow.com/questions/14975853/how-can-i-create-violin-plot-in-different-colours

  • http://stackoverflow.com/questions/19416768/vioplot-r-how-to-set-axis-labels

  • http://stackoverflow.com/questions/20250063/axis-titles-on-vioplot

  • http://stackoverflow.com/questions/22410606/violin-plot-with-list-input

  • https://gist.github.com/mbjoseph/5852613

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 .

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 (2025). vioplot: violin plot. R package version 0.5.1 https://github.com/TomKellyGenetics/vioplot

A BibTeX entry for LaTeX users is

@Manual{, title = {vioplot: violin plot}, author = {Daniel Adler, S. Thomas Kelly, Tom Elliot, and Jordan Adamson}, year = {2025}, note = {R package version 0.5.1}, url = {https://github.com/TomKellyGenetics/vioplot}, }

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

Owner

  • Name: Tom Kelly
  • Login: TomKellyGenetics
  • Kind: user
  • Location: Akiruno, Tokyo, Japan
  • Company: RIKEN IMS; H.U. Group @hugp-ri

Bioinformatician. PhD 2014-2017: @mikblacklab Otago Uni. Postdoc 2018-2021: @minoda-lab RIKEN. The @carpentries. Genomics | Health | Math | Stats | AWS Dev

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Adler"
  given-names: "Daniel"
  affiliation: "University of Göttingen, Germany"
  orcid: "https://orcid.org/0000-0000-0000-0000"
- family-names: "Kelly"
  given-names: "S. Thomas"
  affiliation: "University of Otago, New Zealand; RIKEN IMS, Japan"
  orcid: "https://orcid.org/0000-0003-3904-6690"
- family-names: "Elliot"
  given-names: "Tom"
  affiliation: "University of Auckland, New Zealand"
- family-names: "Adamson"
  given-names: "Jordan"
  affiliation: "Leipzig University, Germany"
title: "vioplot: violin plot"
version: 0.5.1
date-released: 2025-02-24
url: "https://github.com/TomKellyGenetics/vioplot"

GitHub Events

Total
  • Create event: 1
  • Release event: 1
  • Issues event: 2
  • Watch event: 2
  • Issue comment event: 2
  • Push event: 2
Last Year
  • Create event: 1
  • Release event: 1
  • Issues event: 2
  • Watch event: 2
  • Issue comment event: 2
  • Push event: 2

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 276
  • Total Committers: 6
  • Avg Commits per committer: 46.0
  • Development Distribution Score (DDS): 0.181
Past Year
  • Commits: 14
  • Committers: 2
  • Avg Commits per committer: 7.0
  • Development Distribution Score (DDS): 0.071
Top Committers
Name Email Commits
TomKellyGenetics t****s@g****m 226
TomKellyGenetics t****t@g****m 44
Tom Elliott t****z@g****m 2
TomKellyGenetics t****y@p****z 2
Jordan Adamson j****n@g****m 1
Tom Kelly t****m@t****p 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 20
  • Total pull requests: 1
  • Average time to close issues: 3 months
  • Average time to close pull requests: 29 days
  • Total issue authors: 11
  • Total pull request authors: 1
  • Average comments per issue: 2.5
  • Average comments per pull request: 4.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 2
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • Derek-Jones (7)
  • Jadamso (2)
  • mmahmoudian (2)
  • TomKellyGenetics (2)
  • Frauke-Hellwig (1)
  • pierre-haessig (1)
  • SpiegelE (1)
  • cjh57-cornell (1)
  • csoneson (1)
  • ekstroem (1)
  • GCAT01 (1)
Pull Request Authors
  • Jadamso (1)
Top Labels
Issue Labels
documentation (3) enhancement (1) help wanted (1) bug (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 6,277 last-month
  • Total docker downloads: 188,691
  • Total dependent packages: 11
  • Total dependent repositories: 49
  • Total versions: 12
  • Total maintainers: 1
cran.r-project.org: vioplot

Violin Plot

  • Versions: 12
  • Dependent Packages: 11
  • Dependent Repositories: 49
  • Downloads: 6,277 Last month
  • Docker Downloads: 188,691
Rankings
Dependent repos count: 3.6%
Downloads: 4.7%
Dependent packages count: 5.0%
Average: 10.1%
Stargazers count: 10.2%
Forks count: 14.2%
Docker downloads count: 23.1%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • sm * depends
  • zoo * depends
  • RColorBrewer * suggests
  • base * suggests
  • ggplot2 * suggests
  • knitr * suggests
  • rmarkdown * suggests
  • testthat * suggests