View source: R/phylopic_utils.R
rotate_phylopic | R Documentation |
The picture can be a Picture or png array object,
e.g., from using get_phylopic()
. Note that png array objects can only be
rotated by multiples of 90 degrees.
rotate_phylopic(img, angle = 90)
img |
A Picture or png array object, e.g.,
from using |
angle |
|
A Picture or png array object (matching
the type of img
)
Other transformations:
flip_phylopic()
,
recolor_phylopic()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.