Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2019 Jan 21;20(1):42.
doi: 10.1186/s12859-019-2610-2.

BPG: Seamless, automated and interactive visualization of scientific data

Affiliations

BPG: Seamless, automated and interactive visualization of scientific data

Christine P'ng et al. BMC Bioinformatics. .

Abstract

Background: We introduce BPG, a framework for generating publication-quality, highly-customizable plots in the R statistical environment.

Results: This open-source package includes multiple methods of displaying high-dimensional datasets and facilitates generation of complex multi-panel figures, making it suitable for complex datasets. A web-based interactive tool allows online figure customization, from which R code can be downloaded for integration with computational pipelines.

Conclusion: BPG provides a new approach for linking interactive and scripted data visualization and is available at http://labs.oicr.on.ca/boutros-lab/software/bpg or via CRAN at https://cran.r-project.org/web/packages/BoutrosLab.plotting.general.

Keywords: Data-visualization; Interactive plotting; Software; Web-resources.

PubMed Disclaimer

Conflict of interest statement

Ethics approval and consent to participate

Not Applicable.

Consent for publication

Not applicable.

Competing interests

The authors declare that they have no competing interests.

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Figures

Fig. 1
Fig. 1
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. All plots are based upon the datasets included in the BPG package and code is given in Additional file 1
Fig. 2
Fig. 2
Multiplot example. The create.multiplot function is able to join multiple chart-types together into a single figure. In this example, a central dotmap conveys the somatic mutations present in a selection of genes (y-axis) for a number of colorectal tumours (x-axis), while adjacent barplots and heatmaps provide additional information. Within this central dotmap, shaded cells reflect single nucleotide variants (SNVs), while dots in cells reflect copy number aberration (CNAs), which some patients have both types of aberration in a single gene (shaded cells harbouring a dot). The colour of the cell or dot indicates the specific type of mutation, using the legend on the left. The bottom heatmap shows key clinical information about each patient, including their Sex, the Stage of their disease and their microsatellite status (instable, MSI; stable MSS). The barplot to the right shows the percentage of patients with a SNV or a CNA in that gene. The barplot at the top, equivalently, shows the number of SNVs and CNAs for each patient. Finally, the second barplot from the top categorizes all SNVs based on the type of base-change that mutation reflects, showing their proportion as a fraction of the total mutation number. Code used to generate this figure is available in Additional file 4

Similar articles

Cited by

  • The proteomic landscape of glioblastoma recurrence reveals novel and targetable immunoregulatory drivers.
    Tatari N, Khan S, Livingstone J, Zhai K, Mckenna D, Ignatchenko V, Chokshi C, Gwynne WD, Singh M, Revill S, Mikolajewicz N, Zhu C, Chan J, Hawkins C, Lu JQ, Provias JP, Ask K, Morrissy S, Brown S, Weiss T, Weller M, Han H, Greenspoon JN, Moffat J, Venugopal C, Boutros PC, Singh SK, Kislinger T. Tatari N, et al. Acta Neuropathol. 2022 Dec;144(6):1127-1142. doi: 10.1007/s00401-022-02506-4. Epub 2022 Sep 30. Acta Neuropathol. 2022. PMID: 36178522 Free PMC article.
  • Drug screening at single-organoid resolution via bioprinting and interferometry.
    Tebon PJ, Wang B, Markowitz AL, Davarifar A, Tsai BL, Krawczuk P, Gonzalez AE, Sartini S, Murray GF, Nguyen HTL, Tavanaie N, Nguyen TL, Boutros PC, Teitell MA, Soragni A. Tebon PJ, et al. Nat Commun. 2023 Jun 6;14(1):3168. doi: 10.1038/s41467-023-38832-8. Nat Commun. 2023. PMID: 37280220 Free PMC article.
  • A platform for rapid patient-derived cutaneous neurofibroma organoid establishment and screening.
    Nguyen HTL, Kohl E, Bade J, Eng SE, Tosevska A, Al Shihabi A, Tebon PJ, Hong JJ, Dry S, Boutros PC, Panossian A, Gosline SJC, Soragni A. Nguyen HTL, et al. Cell Rep Methods. 2024 May 20;4(5):100772. doi: 10.1016/j.crmeth.2024.100772. Epub 2024 May 13. Cell Rep Methods. 2024. PMID: 38744290 Free PMC article.
  • The Proteogenomics of Prostate Cancer Radioresistance.
    Haas R, Frame G, Khan S, Neilsen BK, Hong BH, Yeo CPX, Yamaguchi TN, Ong EHW, Zhao W, Carlin B, Yeo ELL, Tan KM, Bugh YZ, Zhu C, Hugh-White R, Livingstone J, Poon DJJ, Chu PL, Patel Y, Tao S, Ignatchenko V, Kurganovs NJ, Higgins GS, Downes MR, Loblaw A, Vesprini D, Kishan AU, Chua MLK, Kislinger T, Boutros PC, Liu SK. Haas R, et al. Cancer Res Commun. 2024 Sep 1;4(9):2463-2479. doi: 10.1158/2767-9764.CRC-24-0292. Cancer Res Commun. 2024. PMID: 39166898 Free PMC article.
  • Deletions Rate-Limit Breast and Ovarian Cancer Initiation.
    Houlahan KE, Bihie M, Contreras JG, Fulop DJ, Lopez G, Huang HH, Van Loo P, Curtis C, Boutros PC, Huang KL. Houlahan KE, et al. bioRxiv [Preprint]. 2024 Oct 21:2024.10.17.618945. doi: 10.1101/2024.10.17.618945. bioRxiv. 2024. PMID: 39484366 Free PMC article. Preprint.

References

    1. Grinstein G, Trutschl M, Cvek U. Proceedings of the visual data mining workshop. KDD. 2001:7–19.
    1. Anscombe FJ. Graphs in Statistical Analysis. Am Stat. 1973;27:17–21.
    1. Shoresh N, Wong B. Data exploration. Nat Methods. 2012;9:5. - PubMed
    1. O'Donoghue SI, et al. Visualizing biological data-now and in the future. Nat Methods. 2010;7:S2–4. - PubMed
    1. Gentleman RC, et al. Bioconductor: open software development for computational biology and bioinformatics. Genome Biol. 2004;5:R80. - PMC - PubMed