Learn R Programming

rphylopic (version 0.3.0)

recolor_phylopic: Recolor a phylopic image

Description

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

Usage

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.