hex_logo: Create hexagonal logo for the package

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Create hexagonal logo for the package

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
(
  subplot = system.file("images/slope.png", package = "RhAMPseq"),
  dpi = 600,
  h_color = "#000000",
  h_fill = "#363B74",
  output = system.file("images/logo.png", package = "RhAMPseq"),
  p_color = "#EEEEEE",
  url = "https://github.com/villegar/RhAMPseq",
  u_size = 1.35
)

Arguments

subplot

image to use as the main logo

dpi

plot resolution (dots-per-inch)

h_color

color for hexagon border

h_fill

color to fill hexagon

output

output file (hexagonal logo)

p_color

color for package name

url

URL for package repository or website

u_size

text size for URL

package

title for logo (package name)

Value

hexagonal logo

Examples

1
2
3
4
5
()
## Not run: 
("inst/images/slope.png", output = "inst/images/logo.png")

## End(Not run)

villegar/RhAMPseq documentation built on Aug. 12, 2021, 8:47 p.m.