sample_region | R Documentation |
It retrieves regions data of a specific sample (whose name is specified in the parameter "sampleName") in a specific dataset (whose name is specified in the parameter "datasetName") using the proper GMQL web service available on a remote server
sample_region(url, datasetName, sampleName)
url |
string url of server. It must contain the server address and base url; service name is added automatically |
datasetName |
string name of dataset of interest |
sampleName |
string name of sample of interest |
If error occurs, a specific error is printed
GRanges data containing regions of sample
## Not run:
## Login to GMQL REST services suite as guest
remote_url = "http://www.gmql.eu/gmql-rest/"
login_gmql(remote_url)
## This statement retrieves regions data of sample "S_00000" from public
## dataset "Example_Dataset_1"
sample_region(remote_url, "public.Example_Dataset_1", "S_00000")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.