Home

Awesome

<!-- README.md is generated from README.Rmd. Please edit that file -->

ggstar: star layer for ggplot2

<img src="https://github.com/xiangpin/ggstar/blob/master/inst/extdata/ggstar.png" height="200" align="right" />

CRAN_Status_Badge

<!-- r badge_devel("xiangpin/ggstar", "green") -->

To create the regular polygon layer for easily discernible shapes, we developed the package, it is like the ‘geom_point’ of ‘ggplot2’. It can be used to draw the scatter plot.

:writing_hand: Author

Shuangbin Xu

School of Basic Medical Sciences, Southern Medical University

:arrow_double_down: Installation

Get the released version from CRAN:

install.packages("ggstar")

Or the development version from github:

if (!requireNamespace("devtools", quietly=TRUE))
    install.packages("devtools")
devtools::install_github("xiangpin/ggstar")

:beginner: Usage

Total starshapes:

<!-- ![](./inst/extdata/figure1.png) --> <!-- ![](./inst/extdata/figure2.png) --> <!-- ![](./inst/extdata/figure3.png) -->

:book: Vignette

For more details, please refer to the online vignette

If you have installed it, you can also view the vignette on local.

browseVignettes("ggstar")

:sparkling_heart: Contributing

We welcome any contributions! By participating in this project you agree to abide by the terms outlined in the Contributor Code of Conduct.