sample_region: Show regions data from a dataset sample

View source: R/web-services.R

sample_regionR Documentation

Show regions data from a dataset sample

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

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


## 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)


DEIB-GECO/RGMQL documentation built on Feb. 17, 2024, 10:39 p.m.