queryVariants: Return the batch query result.

Description Usage Arguments Value References See Also Examples

Description

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

Usage

1
2
3
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

returns a variant object (DataFrame, list, or JSON text) containing the queried annotations

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

1
## return the batch query result

SuLab/myvariant.R documentation built on May 9, 2019, 3:22 p.m.