get.palmTax | R Documentation |
Retrieve the taxonomic identifiers for a set of 'palm_id' for a given rank.
get.palmTax(palm_ids, con, rank = "family", ordinal = FALSE)
palm_ids |
character, set of 'palm_id' to lookup in palmdb |
con |
pq-connection, use SerratusConnect() |
rank |
character, taxonomic rank to retrieve. One of "species", "genus", "family" (Default), "phylum" |
ordinal |
boolean, return an ordered vector based on input 'palm_ids' |
character, unique 'tax_id' vector (i.e. "Coronaviridae")
con <- SerratusConnect()
# Return species-identifiers for a set of palmprints (uxxx)
get.palmTax(c("u2", "u1337"), con, rank = "species")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.