recolor_phylopic: Recolor a phylopic image

Description Usage Arguments

View source: R/recolor_phylopic.r

Description

Internal function to recolour and change alpha levels of a phylopic image.

Usage

1
recolor_phylopic(img, alpha = 0.2, color = NULL)

Arguments

img

A png object, e.g, from using image_data()

alpha

A value between 0 and 1, specifying the opacity of the silhouette.

color

Color to plot the silhouette in.


rphylopic documentation built on July 2, 2020, 3:58 a.m.