Class "MyVariant"

Description

R Client to access MyVariant.Info annotation services

Objects from the Class

Objects can be created by calls of the form MyVariant(base.url="http://myvariant.info/v1", delay=1, step=1000, version=version, verbose=TRUE, debug=FALSE).

Slots

base.url:

"http://myvariant.info/v1". Object of class "character"

delay:

Sleep time between batch retrieval. Object of class "numeric"

step:

Batch limit. Object of class "numeric"

version:

httr package version. Object of class "character"

verbose:

Object of class "logical"

debug:

Object of class "logical"

Methods

getVariant(hgvsid, fields=NULL, ..., return.as=c("records", "text")):

Return the variant object for the given hgvsid

getVariants(hgvsids, fields=NULL, ..., return.as=c("DataFrame", "records", "text")):

Return the list of variant object for the given list of hgvsids.

queryVariant(q, fields=NULL, ..., return.as=c("DataFrame", "records", "text")):

Return the query result.

queryVariants(qterms, scopes=NULL, fields=NULL, ..., return.as=c("DataFrame", "records", "text"), returnall=FALSE):

Return the batch query result.

Author(s)

Adam Mark

References

https://github.com/Network-of-BioThings/myvariant.info/wiki

Examples

1
showClass("MyVariant")