Learn R Programming

myvariant (version 1.2.0)

queryVariants: Return the batch query result.

Description

This is a wrapper for POST query of "/query" service.

Usage

queryVariants(qterms, scopes=NULL, ..., return.as=c("DataFrame", "records", "text"), myvariant)

Arguments

qterms
A vector or list, or string of comma-separated query terms
scopes
Type of types of identifiers, either a list or a comma-separated fields to specify type of input qterms.
...
Commonly queried fields include fields, size as well as several other fields. returnall returns a list of all related data including duplicated and missing qterms. False by default. View available fields by calling ?metadata.
return.as
"DataFrame" (default), "records" (list), "text" (JSON).
myvariant
A MyVariant object that describes how to connect to data resources. See MyVariant-class. If missing, default object will be used that accesses the main MyVariant.info portal. Default is recommended.

Value

References

http://docs.myvariant.info/en/latest/doc/variant_query_service.html#batch-queries-via-post http://docs.myvariant.info/en/latest/doc/variant_query_service.html#id3

See Also

queryVariant getVariant getVariants

Examples

Run this code
## return the batch query result

Run the code above in your browser using DataLab