flip_phylopic: Flip a PhyloPic silhouette along its horizontal and/or...

View source: R/phylopic_utils.R

flip_phylopicR Documentation

Flip a PhyloPic silhouette along its horizontal and/or vertical axis

Description

The picture can be a Picture or png array object, e.g., from using get_phylopic().

Usage

flip_phylopic(img, horizontal = TRUE, vertical = FALSE)

Arguments

img

A Picture or png array object, e.g., from using get_phylopic().

horizontal

logical. Should the silhouette be flipped horizontally?

vertical

logical. Should the silhouette be flipped vertically?

Value

A Picture or png array object (matching the type of img)

See Also

Other transformations: recolor_phylopic(), rotate_phylopic()


rphylopic documentation built on Nov. 2, 2023, 6:13 p.m.