sample_metadata: Show metadata list from dataset sample

Description Usage Arguments Details Value Examples

View source: R/web-services.R

Description

It retrieves metadata of a specific sample in dataset using the proper GMQL web service available on a remote server

Usage

1
sample_metadata(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

List of metadata in the form 'key = value'

Examples

1
2
3
4
5
6
7
8
9
## Login to GMQL REST services suite as guest

remote_url = "http://www.gmql.eu/gmql-rest/"
login_gmql(remote_url)

## This statement retrieves metadata of sample 'S_00000' from public 
## dataset 'Example_Dataset_1'

sample_metadata(remote_url, "public.Example_Dataset_1", "S_00000")

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