
Flip a PhyloPic silhouette along its horizontal and/or vertical axis
Source:R/phylopic_utils.R
flip_phylopic.RdThe picture can be a Picture or png array object,
e.g., from using get_phylopic().
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()