However, some require subscription fees, such as Matlab. There are various programs for plotting data. The reader may agree that most memorable aspects of a scientific paper are its figures rather than texts. All the example figures in this report are reproducible and the codes and data are provided for the reader in a separate online guide ( ).ĭata visualization is an important skill in scientific writing. The smplot package is open source under the MIT license and available on Github ( ), where updates will be posted. The functions from smplot can be used in a modular fashion, thereby allowing the user to further customise the aesthetics. The aesthetics of the plots generated from the package are elegant, highly customisable and adhere to important practices of data visualization. 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 R package “smplot” generates graphs with defaults that are visually pleasing and informative. In this report, we introduce an R package called “smplot” for easy and elegant data visualization. However, learning R can be intimidating and cumbersome for many. R, a programming language, is an attractive tool for data visualization because it is free and open source. School of Ophthalmology and Optometry, Affiliated Eye Hospital, State Key Laboratory of Ophthalmology, Optometry and Vision Science, Wenzhou Medical University, Wenzhou, China.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |