sample_region: Show regions data from a dataset sample

Description Usage Arguments Details Value Examples

View source: R/web-services.R

Description

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

Usage

1
sample_region(url, datasetName, sampleName)

Arguments

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

Details

If error occurs, a specific error is printed

Value

GRanges data containing regions of sample

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## 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)

RGMQL documentation built on Nov. 8, 2020, 5:59 p.m.