Learn R Programming

rphylopic (version 1.5.0)

browse_phylopic: Browse PhyloPic for a given taxonomic name or uuid

Description

This function provides a convenient way to browse PhyloPic for a given taxonomic name of uuid.

Usage

browse_phylopic(name = NULL, uuid = NULL)

Value

A character vector of a valid PhyloPic url for the specified name or uuid. If no name or uuid is supplied, the base url of PhyloPic images is returned.

Arguments

name

character. A taxonomic name. Various taxonomic levels are supported (e.g. species, genus, family).

uuid

character. A PhyloPic image uuid, as acquired by get_uuid().

Details

This function returns a PhyloPic url for an input name or uuid and opens the user's default web browser at this url. If no name or uuid is supplied, the base url of PhyloPic images is returned and opened instead.

Examples

Run this code
if (FALSE) {
url <- browse_phylopic(name = "Acropora cervicornis")
}

Run the code above in your browser using DataLab