Cargando…
smplot: An R Package for Easy and Elegant Data Visualization
R, a programming language, is an attractive tool for data visualization because it is free and open source. However, learning R can be intimidating and cumbersome for many. In this report, we introduce an R package called “smplot” for easy and elegant data visualization. The R package “smplot” gener...
Autores principales: | , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Frontiers Media S.A.
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8714909/ https://www.ncbi.nlm.nih.gov/pubmed/34976028 http://dx.doi.org/10.3389/fgene.2021.802894 |
_version_ | 1784624030251220992 |
---|---|
author | Min, Seung Hyun Zhou, Jiawei |
author_facet | Min, Seung Hyun Zhou, Jiawei |
author_sort | Min, Seung Hyun |
collection | PubMed |
description | R, a programming language, is an attractive tool for data visualization because it is free and open source. However, learning R can be intimidating and cumbersome for many. In this report, we introduce an R package called “smplot” for easy and elegant data visualization. The R package “smplot” generates graphs with defaults that are visually pleasing and informative. Although it requires basic knowledge of R and ggplot2, it significantly simplifies the process of plotting a bar graph, a violin plot, a correlation plot, a slope chart, a Bland-Altman plot and a raincloud plot. The aesthetics of the plots generated from the package are elegant, highly customisable and adhere to important practices of data visualization. The functions from smplot can be used in a modular fashion, thereby allowing the user to further customise the aesthetics. The smplot package is open source under the MIT license and available on Github (https://github.com/smin95/smplot), where updates will be posted. All the example figures in this report are reproducible and the codes and data are provided for the reader in a separate online guide (https://smin95.github.io/dataviz/). |
format | Online Article Text |
id | pubmed-8714909 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | Frontiers Media S.A. |
record_format | MEDLINE/PubMed |
spelling | pubmed-87149092021-12-30 smplot: An R Package for Easy and Elegant Data Visualization Min, Seung Hyun Zhou, Jiawei Front Genet Genetics R, a programming language, is an attractive tool for data visualization because it is free and open source. However, learning R can be intimidating and cumbersome for many. In this report, we introduce an R package called “smplot” for easy and elegant data visualization. The R package “smplot” generates graphs with defaults that are visually pleasing and informative. Although it requires basic knowledge of R and ggplot2, it significantly simplifies the process of plotting a bar graph, a violin plot, a correlation plot, a slope chart, a Bland-Altman plot and a raincloud plot. The aesthetics of the plots generated from the package are elegant, highly customisable and adhere to important practices of data visualization. The functions from smplot can be used in a modular fashion, thereby allowing the user to further customise the aesthetics. The smplot package is open source under the MIT license and available on Github (https://github.com/smin95/smplot), where updates will be posted. All the example figures in this report are reproducible and the codes and data are provided for the reader in a separate online guide (https://smin95.github.io/dataviz/). Frontiers Media S.A. 2021-12-15 /pmc/articles/PMC8714909/ /pubmed/34976028 http://dx.doi.org/10.3389/fgene.2021.802894 Text en Copyright © 2021 Min and Zhou. https://creativecommons.org/licenses/by/4.0/This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms. |
spellingShingle | Genetics Min, Seung Hyun Zhou, Jiawei smplot: An R Package for Easy and Elegant Data Visualization |
title | smplot: An R Package for Easy and Elegant Data Visualization |
title_full | smplot: An R Package for Easy and Elegant Data Visualization |
title_fullStr | smplot: An R Package for Easy and Elegant Data Visualization |
title_full_unstemmed | smplot: An R Package for Easy and Elegant Data Visualization |
title_short | smplot: An R Package for Easy and Elegant Data Visualization |
title_sort | smplot: an r package for easy and elegant data visualization |
topic | Genetics |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8714909/ https://www.ncbi.nlm.nih.gov/pubmed/34976028 http://dx.doi.org/10.3389/fgene.2021.802894 |
work_keys_str_mv | AT minseunghyun smplotanrpackageforeasyandelegantdatavisualization AT zhoujiawei smplotanrpackageforeasyandelegantdatavisualization |