show_schema | R Documentation |
It shows the region attribute schema of a specific GMQL dataset on remote repository, using the proper GMQL web service available on a remote server
show_schema(url, datasetName)
url |
string url of server: It must contain the server address and base url; service name is added automatically |
datasetName |
name of dataset to get the schema; if the dataset is a public dataset, we have to add "public." as prefix, as shown in the example below, otherwise no prefix is needed |
If error occurs, a specific error is printed
List of region schema fields. Every field in the list is described by:
name: name of field (e.g. chr, start, end, strand, ...)
fieldType: (e.g. STRING, DOUBLE, ...)
## Login to GMQL REST services suite as guest
remote_url = "http://www.gmql.eu/gmql-rest/"
login_gmql(remote_url)
## Show schema of public dataset 'Example_Dataset_1'
list <- show_schema(remote_url, "public.Example_Dataset_1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.