diff --git a/DESCRIPTION b/DESCRIPTION index eb7feae..151dffa 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -30,4 +30,4 @@ Suggests: doParallel, org.Hs.eg.db Encoding: UTF-8 -RoxygenNote: 7.1.0 +RoxygenNote: 7.1.1 diff --git a/README.md b/README.md index 803caa9..6d3b78e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# protr logo +# protr [![Build Status](https://travis-ci.org/nanxstats/protr.svg?branch=master)](https://travis-ci.org/nanxstats/protr) [![CRAN Version](https://www.r-pkg.org/badges/version/protr)](https://cran.r-project.org/package=protr) diff --git a/inst/logo/logo.R b/inst/logo/logo.R new file mode 100644 index 0000000..48af8b4 --- /dev/null +++ b/inst/logo/logo.R @@ -0,0 +1,15 @@ +library("magick") +library("showtext") + +font_add_google("Zilla Slab", "pf", regular.wt = 500) + +hexSticker::sticker( + subplot = ~ plot.new(), s_x = 1, s_y = 1, s_width = 0.1, s_height = 0.1, + package = "protr", p_x = 1, p_y = 1, p_size = 11, h_size = 1.2, p_family = "pf", + p_color = "#7DBC8E", h_fill = "#FFF9F2", h_color = "#7DBC8E", + dpi = 320, filename = "man/figures/logo.png" +) + +image_read("man/figures/logo.png") + +rstudioapi::restartSession() diff --git a/man/figures/logo.png b/man/figures/logo.png new file mode 100644 index 0000000..273ad3c Binary files /dev/null and b/man/figures/logo.png differ diff --git a/man/protr-package.Rd b/man/protr-package.Rd index 10dcc80..1ea7a45 100644 --- a/man/protr-package.Rd +++ b/man/protr-package.Rd @@ -6,6 +6,8 @@ \alias{protr-package} \title{protr: Generating Various Numerical Representation Schemes for Protein Sequences} \description{ +\if{html}{\figure{logo.png}{options: align='right' alt='logo' width='120'}} + Comprehensive toolkit for generating various numerical features of protein sequences described in Xiao et al. (2015) . For full functionality,