package-boutroslab-plotting-general

Functions to Create Publication-Quality Plots

https://github.com/uclahs-cds/package-boutroslab-plotting-general

Science Score: 67.0%

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

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 6 DOI reference(s) in README
  • Academic publication links
    Links to: nature.com
  • Committers with academic emails
    33 of 40 committers (82.5%) from academic institutions
  • Institutional organization owner
    Organization uclahs-cds has institutional domain (cancer.ucla.edu)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.0%) to scientific vocabulary

Keywords from Contributors

transformation
Last synced: 6 months ago · JSON representation

Repository

Functions to Create Publication-Quality Plots

Basic Info
Statistics
  • Stars: 15
  • Watchers: 41
  • Forks: 4
  • Open Issues: 63
  • Releases: 6
Created over 5 years ago · Last pushed 7 months ago
Metadata Files
Readme Changelog Codeowners

README.md

BoutrosLab.plotting.general

  1. Description
  2. Included plots
  3. Installation
  4. Function reference
  5. Resources
  6. Getting help
  7. Contributors
  8. Citation information
  9. License

Description

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.

Included plots

Available chart-types. The basic chart-types available in BPG: a density plot, b boxplot, c violin plot, d segplot, e strip plot, f barplot, g scatterplot, h histogram, i qqplot fit, j qqplot comparison, k Manhattan plot, l polygon plot, m heatmap, n dotmap and o hexbinplot.

Multiplot example. BPG's create.multiplot function is able to combine multiple chart-types together into a single figure as shown above.

Note: Both create.multipanelplot and create.multiplot are currently supported, however create.multipanelplot is preferable to create.multiplot. In the medium-term create.multiplot will be deprecated.

Installation

To install the latest public release of BoutrosLab.plotting.general from CRAN:

install.packages("BoutrosLab.plotting.general")

Or to install the latest development version from GitHub: ```

install.packages("devtools")

devtools::install_github("uclahs-cds/package-BoutrosLab-plotting-general") ```

Function reference

For further details on usage, parameters or to see an example of a specific function, see function links below.

| Functions | Description | |-----------|---------| |auto.axis()|Create ideal labels and values for a given dataset (detects log scales)| |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()|Make a quantile-quantile plot of a sample| |create.qqplot.fit.confidence.interval()|Create the confidence bands for a one-sample qq plot| |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 colours.| |generate.at.final()|Generates alternative default tick mark locations for create.densityplot() and create.|scatterplot() |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-handling|

Included datasets

| Dataset | Description | |-----------|---------| |CNA|Copy number aberration (CNA) data from colon cancer patients| |SNV|Single nucleotide variant (SNV) data from colon cancer patients| |microarray|Microarray dataset of colon cancer patients| |patient|Dataset describing qualities of 58 colon cancer patients|

Resources

Available resources on BPG usage can be found at the package CRAN page, reference manual, or vignette.

Getting help

Looking for guidance or support with Boutros.plotting.general? Check out our Discussions page.

Submit bugs, suggest new features or see current works at our Issues page.

Pull requests are also open for discussion.

Contributors

For lists of contributors please visit here and here at GitHub

Citation information

To cite package BoutrosLab.plotting.general in publications use:

P’ng, C., Green, J., Chong, L.C. et al. BPG: Seamless, automated and interactive visualization of scientific data. BMC Bioinformatics 20, 42 (2019). https://doi.org/10.1186/s12859-019-2610-2

A BibTeX entry for LaTeX users is

BibTeX @Article{, title = {BPG: Seamless, automated and interactive visualization of scientific data}, journal = {BMC Bioinformatics}, doi = {10.1186/s12859-019-2610-2}, url = {https://doi.org/10.1186/s12859-019-2610-2}, volume = {20}, number = {42}, year = {2019}, month = {January}, day = {21}, issn = {1471-2105}, author = {Christine P'ng and Jeffrey Green and Lauren C. Chong and Daryl Waggott and Stephenie D. Prokopec and Mehrdad Shamsi and Francis Nguyen and Denise Y. F. Mak and Felix Lam and Marco A. Albuquerque and Ying Wu and Esther H. Jung and Maud H. W. Starmans and Michelle A. Chan-Seng-Yue and Cindy Q. Yao and Bianca Liang and Emilie Lalonde and Syed Haider and Nicole A. Simone and Dorota Sendorek and Kenneth C. Chu and Nathalie C. Moon and Natalie S. Fox and Michal R. Grzadkowski and Nicholas J. Harding and Clement Fung and Amanda R. Murdoch and Kathleen E. Houlahan and Jianxin Wang and David R. Garcia and Richard de Borja and Ren X. Sun and Xihui Lin and Gregory M. Chen and Aileen Lu and Yu-Jia Shiah and Amin Zia and Ryan Kearns and Paul C. Boutros} }

License

Authors: Christine P’ng, Jeffrey Green, Lauren C. Chong, Daryl Waggott, Stephenie D. Prokopec, Mehrdad Shamsi, Francis Nguyen, Denise Y. F. Mak, Felix Lam, Marco A. Albuquerque, Ying Wu, Esther H. Jung, Maud H. W. Starmans, Michelle A. Chan-Seng-Yue, Cindy Q. Yao, Bianca Liang, Emilie Lalonde, Syed Haider, Nicole A. Simone, Dorota Sendorek, Kenneth C. Chu, Nathalie C. Moon, Natalie S. Fox, Michal R. Grzadkowski, Nicholas J. Harding, Clement Fung, Amanda R. Murdoch, Kathleen E. Houlahan, Jianxin Wang, David R. Garcia, Richard de Borja, Ren X. Sun, Xihui Lin, Gregory M. Chen, Aileen Lu, Yu-Jia Shiah, Amin Zia, Ryan Kearns, Stefan Eng, Dan Knight, Julie Livingstone, Chase Bakkeby, Rupert Hugh-White, Adriana Salcedo, Takafumi Yamaguchi, Mohammed Faizal Eeman Mootor, Chenghao Zhu, Caden Bugh & Paul C. Boutros (PBoutros@mednet.ucla.edu)

BoutrosLab.plotting.general is licensed under the GNU General Public License version 2. See the file LICENSE.md for the terms of the GNU GPL license.

BoutrosLab.plotting.general is a software package for generating publication-quality, customizable plots.

Copyright (C) 2014-2018 Ontario Institute for Cancer Research and 2018-2023 University of California Los Angeles ("Boutros Lab") All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Owner

  • Name: UCLA JCCC - Cancer Data Science
  • Login: uclahs-cds
  • Kind: organization
  • Email: pboutros@mednet.ucla.edu
  • Location: United States of America

GitHub Events

Total
  • Create event: 13
  • Issues event: 6
  • Watch event: 4
  • Delete event: 15
  • Member event: 1
  • Issue comment event: 17
  • Push event: 75
  • Pull request review comment event: 13
  • Pull request review event: 25
  • Pull request event: 21
Last Year
  • Create event: 13
  • Issues event: 6
  • Watch event: 4
  • Delete event: 15
  • Member event: 1
  • Issue comment event: 17
  • Push event: 75
  • Pull request review comment event: 13
  • Pull request review event: 25
  • Pull request event: 21

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 477
  • Total Committers: 40
  • Avg Commits per committer: 11.925
  • Development Distribution Score (DDS): 0.771
Past Year
  • Commits: 101
  • Committers: 8
  • Avg Commits per committer: 12.625
  • Development Distribution Score (DDS): 0.584
Top Committers
Name Email Commits
jgreen j****n@n****u 109
Stefan Eng s****g@m****u 66
Dan Knight d****t@m****u 60
rsun r****n@n****u 36
cpng c****g@n****u 33
pli p****i@n****u 19
Dang r****g@i****t 17
sprokopec s****c@n****u 16
Dan Knight 5****t 13
bugh1 11
Adriana Salcedo a****o@m****u 10
Chase Bakkeby c****y@m****u 9
eholgersen e****n@n****u 8
flam f****m@n****u 7
Takafumi Yamaguchi t****i@m****u 6
zhuchcn c****u@m****u 5
psivasundaram p****m@n****u 5
Natalie Fox n****x@m****u 5
clalansingh c****h@n****u 4
dsendorek d****k@n****u 3
kthai k****i@n****u 3
Julie Livingstone j****e@m****u 3
bugh1 2****1 3
ralkallas r****s@n****u 3
nschmitz n****z@n****u 3
ccooper c****r@n****u 2
rhughwite r****e@g****m 2
cli c****i@n****u 2
blabuser b****r@n****u 2
Dang r****g@i****t 2
and 10 more...

Packages

  • Total packages: 1
  • Total downloads:
    • cran 463 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 4
  • Total versions: 11
  • Total maintainers: 1
cran.r-project.org: BoutrosLab.plotting.general

Functions to Create Publication-Quality Plots

  • Versions: 11
  • Dependent Packages: 0
  • Dependent Repositories: 4
  • Downloads: 463 Last month
Rankings
Forks count: 14.2%
Dependent repos count: 14.6%
Downloads: 16.6%
Average: 18.7%
Stargazers count: 19.3%
Dependent packages count: 28.7%
Maintainers (1)
Last synced: 7 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • cluster >= 2.0.0 depends
  • grid * depends
  • hexbin >= 1.27.0 depends
  • lattice >= 0.20 depends
  • latticeExtra >= 0.6 depends
  • MASS >= 7.3 imports
  • e1071 * imports
  • gridExtra * imports
  • gtable * imports
  • tools * imports
  • Cairo >= 1.5 suggests
  • knitr * suggests
  • testthat * suggests
.github/workflows/CICD-base.yaml actions
  • actions/checkout v2 composite
  • docker://ghcr.io/uclahs-cds/cicd-base latest composite
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4 composite
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/r-lib-check.yaml actions
  • r-lib/actions/setup-tinytex v2 composite
  • uclahs-cds/tool-R-CMD-check-action stable composite