Become Competent within One Day in Generating Boxplots and Violin Plots for a Novice without Prior R Experience
The boxplot is a powerful visualization tool of sampled continuous data sets because of its rich information delivered, compact size, and effective visual expression. The advantage of boxplots is not widely appreciated. Many top journals suggest that boxplots should be used in place of bar charts, b...
Saved in:
Published in | Methods and protocols Vol. 3; no. 4; p. 64 |
---|---|
Main Author | |
Format | Journal Article |
Language | English |
Published |
MDPI
23.09.2020
MDPI AG |
Subjects | |
Online Access | Get full text |
Cover
Loading…
Abstract | The boxplot is a powerful visualization tool of sampled continuous data sets because of its rich information delivered, compact size, and effective visual expression. The advantage of boxplots is not widely appreciated. Many top journals suggest that boxplots should be used in place of bar charts, but have been wrongly replaced by bar charts. One technical barrier to the usage of boxplots in reporting quantitative data is that bench scientists are not competent in generating boxplots, and are afraid of R, a programming tool. This tutorial provides an effective training material in that even a novice without prior R experience can become competent, within one day, in generating professional boxplots. The available R scripts for boxplots are very limited in scope and are aimed at specialists, and the bench scientists have difficulty in following these scripts. This tutorial provides extensive step-by-step R scripts and instructions, as well as 29 illustrations for customizing every detail of the boxplot structures. Basic R commands and concepts are introduced for users without prior R experiences, which can be skipped by audiences with R knowledge. Violin plots are the enhanced version of boxplots, and therefore, this tutorial also provides a brief introduction and usage of the R package vioplot with one additional illustration. While the protocol is prepared for the newbies and trainees it will be a handy tool for infrequent users, and may benefit the experienced users as well since it provides scripts for customizing every detail of boxplots. |
---|---|
AbstractList | The boxplot is a powerful visualization tool of sampled continuous data sets because of its rich information delivered, compact size, and effective visual expression. The advantage of boxplots is not widely appreciated. Many top journals suggest that boxplots should be used in place of bar charts, but have been wrongly replaced by bar charts. One technical barrier to the usage of boxplots in reporting quantitative data is that bench scientists are not competent in generating boxplots, and are afraid of R, a programming tool. This tutorial provides an effective training material in that even a novice without prior R experience can become competent, within one day, in generating professional boxplots. The available R scripts for boxplots are very limited in scope and are aimed at specialists, and the bench scientists have difficulty in following these scripts. This tutorial provides extensive step-by-step R scripts and instructions, as well as 29 illustrations for customizing every detail of the boxplot structures. Basic R commands and concepts are introduced for users without prior R experiences, which can be skipped by audiences with R knowledge. Violin plots are the enhanced version of boxplots, and therefore, this tutorial also provides a brief introduction and usage of the R package vioplot with one additional illustration. While the protocol is prepared for the newbies and trainees it will be a handy tool for infrequent users, and may benefit the experienced users as well since it provides scripts for customizing every detail of boxplots. The boxplot is a powerful visualization tool of sampled continuous data sets because of its rich information delivered, compact size, and effective visual expression. The advantage of boxplots is not widely appreciated. Many top journals suggest that boxplots should be used in place of bar charts, but have been wrongly replaced by bar charts. One technical barrier to the usage of boxplots in reporting quantitative data is that bench scientists are not competent in generating boxplots, and are afraid of R, a programming tool. This tutorial provides an effective training material in that even a novice without prior R experience can become competent, within one day, in generating professional boxplots. The available R scripts for boxplots are very limited in scope and are aimed at specialists, and the bench scientists have difficulty in following these scripts. This tutorial provides extensive step-by-step R scripts and instructions, as well as 29 illustrations for customizing every detail of the boxplot structures. Basic R commands and concepts are introduced for users without prior R experiences, which can be skipped by audiences with R knowledge. Violin plots are the enhanced version of boxplots, and therefore, this tutorial also provides a brief introduction and usage of the R package vioplot with one additional illustration. While the protocol is prepared for the newbies and trainees it will be a handy tool for infrequent users, and may benefit the experienced users as well since it provides scripts for customizing every detail of boxplots. The boxplot is a powerful visualization tool of sampled continuous data sets because of its rich information delivered, compact size, and effective visual expression. The advantage of boxplots is not widely appreciated. Many top journals suggest that boxplots should be used in place of bar charts, but have been wrongly replaced by bar charts. One technical barrier to the usage of boxplots in reporting quantitative data is that bench scientists are not competent in generating boxplots, and are afraid of R, a programming tool. This tutorial provides an effective training material in that even a novice without prior R experience can become competent, within one day, in generating professional boxplots. The available R scripts for boxplots are very limited in scope and are aimed at specialists, and the bench scientists have difficulty in following these scripts. This tutorial provides extensive step-by-step R scripts and instructions, as well as 29 illustrations for customizing every detail of the boxplot structures. Basic R commands and concepts are introduced for users without prior R experiences, which can be skipped by audiences with R knowledge. Violin plots are the enhanced version of boxplots, and therefore, this tutorial also provides a brief introduction and usage of the R package vioplot with one additional illustration. While the protocol is prepared for the newbies and trainees it will be a handy tool for infrequent users, and may benefit the experienced users as well since it provides scripts for customizing every detail of boxplots.The boxplot is a powerful visualization tool of sampled continuous data sets because of its rich information delivered, compact size, and effective visual expression. The advantage of boxplots is not widely appreciated. Many top journals suggest that boxplots should be used in place of bar charts, but have been wrongly replaced by bar charts. One technical barrier to the usage of boxplots in reporting quantitative data is that bench scientists are not competent in generating boxplots, and are afraid of R, a programming tool. This tutorial provides an effective training material in that even a novice without prior R experience can become competent, within one day, in generating professional boxplots. The available R scripts for boxplots are very limited in scope and are aimed at specialists, and the bench scientists have difficulty in following these scripts. This tutorial provides extensive step-by-step R scripts and instructions, as well as 29 illustrations for customizing every detail of the boxplot structures. Basic R commands and concepts are introduced for users without prior R experiences, which can be skipped by audiences with R knowledge. Violin plots are the enhanced version of boxplots, and therefore, this tutorial also provides a brief introduction and usage of the R package vioplot with one additional illustration. While the protocol is prepared for the newbies and trainees it will be a handy tool for infrequent users, and may benefit the experienced users as well since it provides scripts for customizing every detail of boxplots. |
Author | Hu, Kejin |
AuthorAffiliation | Department of Biochemistry and Molecular Genetics, School of Medicine, University of Alabama at Birmingham, Birmingham, AL 35294, USA; kejinhu@uab.edu |
AuthorAffiliation_xml | – name: Department of Biochemistry and Molecular Genetics, School of Medicine, University of Alabama at Birmingham, Birmingham, AL 35294, USA; kejinhu@uab.edu |
Author_xml | – sequence: 1 givenname: Kejin orcidid: 0000-0003-3111-4054 surname: Hu fullname: Hu, Kejin |
BookMark | eNptkU9vEzEQxS1URNvQC5_AR4QUGP_JeveCREMplSpaIeBqOd5x6mrXXmyntN--blIERZzmaea9n0Yzh2QvxICEvGLwVogO3o1TFiABGvmMHHAJ3bzjqtv7S--To5yvAYAzCUouXpB9wTulFi0ckHiMNo5Il3GcsGAo9JcvVz7Qi4D0o7mjVZ5iwGSKD2t6HG-nIZZMTejpDx-HOr7cNlxM1NAv8cZb3DLiptDL5Gv7Kz25nTB5DBZfkufODBmPHuuMfP908m35eX5-cXq2_HA-t5KzMld1PekQGxDCGAMLVJw5gax1YJiTztoWO94xjqLvhROdW7StZFw5qRolxYyc7bh9NNd6Sn406U5H4_W2EdNam1S8HVD3srPSrdgCsJWWCWNdy7kA5VYW-6pm5P2ONW1WI_a2XimZ4Qn06ST4K72ON1opVuOqAl4_AlL8ucFc9OizxWEwAeMmay5l0zSyhaZaYWe1Keac0GnrS719fCD7QTPQD2_Xf95eI2_-ifze7D_me-F_r0g |
CitedBy_id | crossref_primary_10_3389_fcell_2021_694769 crossref_primary_10_1186_s12884_024_07028_3 crossref_primary_10_3389_fimmu_2023_1126103 crossref_primary_10_1038_s41435_023_00209_8 crossref_primary_10_1016_j_chnaes_2022_07_005 crossref_primary_10_1002_ksa_12178 crossref_primary_10_3389_fneur_2022_1077178 crossref_primary_10_3389_fpsyt_2023_1187360 crossref_primary_10_3389_fgene_2022_814645 crossref_primary_10_1016_j_uncres_2025_100145 crossref_primary_10_1038_s41598_023_27435_4 crossref_primary_10_1097_MD_0000000000034918 crossref_primary_10_1186_s40001_023_01043_4 crossref_primary_10_1051_bioconf_20248701001 crossref_primary_10_3390_foods11030332 crossref_primary_10_1038_s41598_024_65918_0 crossref_primary_10_1186_s12864_023_09795_3 crossref_primary_10_3390_su16083461 crossref_primary_10_5964_meth_9209 crossref_primary_10_3390_cells9112484 crossref_primary_10_3934_mbe_2022174 crossref_primary_10_3389_fimmu_2023_1078055 crossref_primary_10_3389_fimmu_2022_974935 crossref_primary_10_7717_peerj_12114 crossref_primary_10_3389_fgene_2024_1491577 crossref_primary_10_1177_00368504241237610 crossref_primary_10_1088_1755_1315_1238_1_012015 crossref_primary_10_1049_syb2_12091 crossref_primary_10_3390_pr11092514 crossref_primary_10_1186_s44147_025_00580_5 crossref_primary_10_1109_TASLP_2023_3325971 crossref_primary_10_3389_fmicb_2022_931795 crossref_primary_10_1016_j_compbiomed_2022_106388 crossref_primary_10_1007_s12035_023_03451_3 crossref_primary_10_3389_fcvm_2021_624714 crossref_primary_10_3389_fimmu_2023_1134412 crossref_primary_10_1038_s41598_025_88568_2 crossref_primary_10_3389_fgene_2022_965033 crossref_primary_10_3390_plants12173070 crossref_primary_10_1007_s12672_025_02086_1 crossref_primary_10_2147_JIR_S444774 crossref_primary_10_3390_geographies5010013 crossref_primary_10_1038_s41423_023_01049_2 crossref_primary_10_1111_evj_14404 crossref_primary_10_1038_s41598_024_66287_4 crossref_primary_10_1128_spectrum_02410_22 crossref_primary_10_3389_fimmu_2023_1183115 crossref_primary_10_3390_su151914320 crossref_primary_10_1016_j_molstruc_2024_138698 crossref_primary_10_3389_fimmu_2023_1260688 crossref_primary_10_1038_s41598_020_76705_y crossref_primary_10_23736_S0375_9393_21_15427_6 crossref_primary_10_3389_fcvm_2024_1471153 crossref_primary_10_3389_fgene_2022_957030 crossref_primary_10_1080_21655979_2021_1944720 crossref_primary_10_1016_j_jasrep_2024_104543 crossref_primary_10_3390_s23104845 crossref_primary_10_1016_j_isci_2022_105889 crossref_primary_10_1186_s41687_023_00572_0 crossref_primary_10_3390_genes13071282 crossref_primary_10_3390_s23136134 crossref_primary_10_1016_j_compbiomed_2023_106940 crossref_primary_10_4236_ojs_2025_151007 crossref_primary_10_3389_fcvm_2023_1058834 crossref_primary_10_3389_fcimb_2022_858305 crossref_primary_10_1097_MD_0000000000033340 crossref_primary_10_3934_mbe_2021238 crossref_primary_10_3389_fimmu_2022_937886 |
Cites_doi | 10.1038/nmeth.2837 10.1038/nmeth.2813 10.1007/978-1-0716-1084-8_17 10.1371/journal.pbio.1002128 10.1038/ncomms10869 10.1016/j.heliyon.2020.e04035 10.1080/00031305.1998.10480559 10.1109/TVCG.2014.2346298 10.1037/a0016620 10.1186/s12915-015-0169-6 10.1089/scd.2015.0321 10.7554/eLife.21070 10.1038/505612a 10.1038/nmeth.2807 |
ContentType | Journal Article |
Copyright | 2020 by the author. 2020 |
Copyright_xml | – notice: 2020 by the author. 2020 |
DBID | AAYXX CITATION 7X8 5PM DOA |
DOI | 10.3390/mps3040064 |
DatabaseName | CrossRef MEDLINE - Academic PubMed Central (Full Participant titles) DOAJ Directory of Open Access Journals |
DatabaseTitle | CrossRef MEDLINE - Academic |
DatabaseTitleList | CrossRef MEDLINE - Academic |
Database_xml | – sequence: 1 dbid: DOA name: DOAJ Directory of Open Access Journals url: https://www.doaj.org/ sourceTypes: Open Website |
DeliveryMethod | fulltext_linktorsrc |
EISSN | 2409-9279 |
ExternalDocumentID | oai_doaj_org_article_d49c4fb150e84c13acf822307fbced22 PMC7712237 10_3390_mps3040064 |
GroupedDBID | AADQD AAFWJ AAYXX ADBBV AFPKN AFZYC ALMA_UNASSIGNED_HOLDINGS AOIJS BCNDV CITATION GROUPED_DOAJ HYE IAO IGS ITC MODMG M~E OK1 PGMZT RPM 7X8 5PM |
ID | FETCH-LOGICAL-c421t-77754fee6033aaa05e721f3e18f0a1f4fcc8e92912e3dd3f39f5884127f476743 |
IEDL.DBID | DOA |
ISSN | 2409-9279 |
IngestDate | Wed Aug 27 01:28:07 EDT 2025 Thu Aug 21 13:50:22 EDT 2025 Thu Jul 10 23:05:14 EDT 2025 Thu Apr 24 22:58:54 EDT 2025 Tue Jul 01 01:20:19 EDT 2025 |
IsDoiOpenAccess | true |
IsOpenAccess | true |
IsPeerReviewed | true |
IsScholarly | true |
Issue | 4 |
Language | English |
License | https://creativecommons.org/licenses/by/4.0 Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/). |
LinkModel | DirectLink |
MergedId | FETCHMERGED-LOGICAL-c421t-77754fee6033aaa05e721f3e18f0a1f4fcc8e92912e3dd3f39f5884127f476743 |
Notes | ObjectType-Article-1 SourceType-Scholarly Journals-1 ObjectType-Feature-2 content type line 23 |
ORCID | 0000-0003-3111-4054 |
OpenAccessLink | https://doaj.org/article/d49c4fb150e84c13acf822307fbced22 |
PMID | 32977580 |
PQID | 2446664806 |
PQPubID | 23479 |
ParticipantIDs | doaj_primary_oai_doaj_org_article_d49c4fb150e84c13acf822307fbced22 pubmedcentral_primary_oai_pubmedcentral_nih_gov_7712237 proquest_miscellaneous_2446664806 crossref_citationtrail_10_3390_mps3040064 crossref_primary_10_3390_mps3040064 |
ProviderPackageCode | CITATION AAYXX |
PublicationCentury | 2000 |
PublicationDate | 20200923 |
PublicationDateYYYYMMDD | 2020-09-23 |
PublicationDate_xml | – month: 9 year: 2020 text: 20200923 day: 23 |
PublicationDecade | 2020 |
PublicationTitle | Methods and protocols |
PublicationYear | 2020 |
Publisher | MDPI MDPI AG |
Publisher_xml | – name: MDPI – name: MDPI AG |
References | Krzywinski (ref_4) 2014; 11 Hintze (ref_15) 1998; 52 ref_14 Shao (ref_1) 2016; 7 Correll (ref_10) 2014; 20 ref_12 Kang (ref_2) 2016; 25 Collins (ref_13) 2014; 505 Hu (ref_3) 2020; 6 ref_19 ref_18 Teare (ref_7) 2016; 5 Streit (ref_9) 2014; 11 ref_17 ref_16 ref_8 ref_5 Lane (ref_11) 2009; 14 ref_6 |
References_xml | – ident: ref_5 doi: 10.1038/nmeth.2837 – volume: 11 start-page: 119 year: 2014 ident: ref_4 article-title: Visualizing samples with box plots publication-title: Nat. Methods doi: 10.1038/nmeth.2813 – ident: ref_8 – ident: ref_14 doi: 10.1007/978-1-0716-1084-8_17 – ident: ref_6 doi: 10.1371/journal.pbio.1002128 – volume: 7 start-page: 10869 year: 2016 ident: ref_1 article-title: The acetyllysine reader BRD3R promotes human nuclear reprogramming and regulates mitosis publication-title: Nat. Commun. doi: 10.1038/ncomms10869 – volume: 6 start-page: e04035 year: 2020 ident: ref_3 article-title: Profiling and quantification of pluripotency reprogramming reveal that WNT pathways and cell morphology have to be reprogramed extensively publication-title: Heliyon doi: 10.1016/j.heliyon.2020.e04035 – ident: ref_16 – volume: 52 start-page: 181 year: 1998 ident: ref_15 article-title: Violin Plots: A box plot-density trance synergism publication-title: Am. Stat. doi: 10.1080/00031305.1998.10480559 – volume: 20 start-page: 2142 year: 2014 ident: ref_10 article-title: Error Bars Considered Harmful: Exploring Alternate Encodings for Mean and Error publication-title: IEEE Trans. Vis. Comput. Graph. doi: 10.1109/TVCG.2014.2346298 – volume: 14 start-page: 239 year: 2009 ident: ref_11 article-title: Designing better graphs by including distributional information and integrating words, numbers, and images publication-title: Psychol. Methods doi: 10.1037/a0016620 – ident: ref_12 doi: 10.1186/s12915-015-0169-6 – volume: 25 start-page: 556 year: 2016 ident: ref_2 article-title: The Universal 3D3 Antibody of Human PODXL Is Pluripotent Cytotoxic, and Identifies a Residual Population After Extended Differentiation of Pluripotent Stem Cells publication-title: Stem. Cells Dev. doi: 10.1089/scd.2015.0321 – ident: ref_17 – ident: ref_18 – ident: ref_19 – volume: 5 start-page: e21070 year: 2016 ident: ref_7 article-title: Transparent reporting of research results in eLife publication-title: Elife doi: 10.7554/eLife.21070 – volume: 505 start-page: 612 year: 2014 ident: ref_13 article-title: Policy: NIH plans to enhance reproducibility publication-title: Nature doi: 10.1038/505612a – volume: 11 start-page: 117 year: 2014 ident: ref_9 article-title: Bar charts and box plots publication-title: Nat. Methods doi: 10.1038/nmeth.2807 |
SSID | ssj0002140745 |
Score | 2.4268527 |
Snippet | The boxplot is a powerful visualization tool of sampled continuous data sets because of its rich information delivered, compact size, and effective visual... |
SourceID | doaj pubmedcentral proquest crossref |
SourceType | Open Website Open Access Repository Aggregation Database Enrichment Source Index Database |
StartPage | 64 |
SubjectTerms | box plot boxplot RStudio violin plot vioplot |
Title | Become Competent within One Day in Generating Boxplots and Violin Plots for a Novice without Prior R Experience |
URI | https://www.proquest.com/docview/2446664806 https://pubmed.ncbi.nlm.nih.gov/PMC7712237 https://doaj.org/article/d49c4fb150e84c13acf822307fbced22 |
Volume | 3 |
hasFullText | 1 |
inHoldings | 1 |
isFullTextHit | |
isPrint | |
link | http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwrV1LS8NAEF7EkxdRVKwvVvTiITT7aDY9WrWIoBax4i1sNrNY0KTY9OC_dyZJbQOCF29hs8kus5OZb3Yn3zB2jj7B2zhKA6khCrRJoyBFIBrEHk1hpo3Pqn3I-4fodqzvXnuvK6W-KCespgeuBdfNdN9pnyJugVg7oazz6NNQM33qIJOV9UWftxJMkQ2WGDcY3av5SBXG9d2P6UyRwka65YEqov4WumznRq44m-EW22xQIr-sZ7fN1iDfYcUAQ8UP4FcN1C05baJOcv6YA7-2XxwvaxZpSmXmg4LS68oZt3nGXyZUnIePqgbEqdzyh4KMRPWOYl7y0ecEm5_4kvt4l42HN89Xt0FTLyFwWooSgbLpaQ8QhUpZa8MeYHjnFYjYh1Z47Z2LAeGQkKCyTHnV9_SbqpDGa-L0UXtsPS9y2GccQaQMUwz9gAj2FfStw2fCzIpUCBeKDrtYyDBxDZk41bR4TzCoIHknS3l32NlP32lNofFrrwEtxU8Por2uGlAZkkYZkr-UocNOFwuZ4GdCZx82h2I-SySdW0c6DqMOM60Vbo3YvpNP3irCbWMEjmIO_mOKh2yDZEspJ1IdsfXycw7HiGvK9KRS4W-p6_lF |
linkProvider | Directory of Open Access Journals |
openUrl | ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=Become+Competent+within+One+Day+in+Generating+Boxplots+and+Violin+Plots+for+a+Novice+without+Prior+R+Experience&rft.jtitle=Methods+and+protocols&rft.au=Hu%2C+Kejin&rft.date=2020-09-23&rft.issn=2409-9279&rft.eissn=2409-9279&rft.volume=3&rft.issue=4&rft_id=info:doi/10.3390%2Fmps3040064&rft.externalDBID=NO_FULL_TEXT |
thumbnail_l | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/lc.gif&issn=2409-9279&client=summon |
thumbnail_m | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/mc.gif&issn=2409-9279&client=summon |
thumbnail_s | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/sc.gif&issn=2409-9279&client=summon |