if (FALSE) {
resolve(sci=c("Helianthus annuus", "Homo sapiens"))
resolve(sci="Quercus keloggii", db='gnr')
resolve(sci=c("Helianthus annuus", "Homo sapiens"), db=c('iplant', 'gnr'))
resolve(sci="Quercus keloggii", db=c('iplant', 'gnr'))
# pass in options specific to each source
resolve("Helianthus annuus", db = 'gnr', preferred_data_sources = c(3, 4))
resolve("Helianthus annuus", db = 'iplant', retrieve = 'best')
identical(
resolve("Helianthus annuus", db = 'iplant', retrieve = 'best')$iplant,
iplant_resolve("Helianthus annuus", retrieve = 'best')
)
# pass in curl options
resolve(sci="Qercuss", db = "iplant", verbose = TRUE)
}
Run the code above in your browser using DataLab