Nothing
#' List Organisms
#'
#' List supported organisms on WebGestalt server.
#'
#' @inheritParams WebGestaltR
#'
#' @return A list of supported organisms.
#'
#' @importFrom httr content
#' @importFrom jsonlite fromJSON
#' @export
#'
listOrganism <- function(hostName="https://www.webgestalt.org/", cache=NULL) {
if (startsWith(hostName, "file://")) {
jsonData <- fromJSON(removeFileProtocol(file.path(hostName, "idtypesummary.json")))
} else {
response <- cacheUrl(file.path(hostName, "api", "summary", "idtype"), cache)
if (response$status_code != 200) {
return(webRequestError(response))
}
jsonData <- content(response)
}
organisms <- names(jsonData)
return(organisms)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.